Created
April 27, 2020 12:20
-
-
Save zorbax/0cbc05928b1525e8a908c486f70799cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( conda create -y -n "melonpann" && source activate "melonpann" && \ | |
conda install r-base=3.5.0 r-devtools r-fbasics -yc r && \ | |
R -q -e "install.packages('BiocManager', repos='http://cran.r-project.org'); \ | |
library('BiocManager'); BiocManager::install('ccrepe');" && \ | |
R -q -e "install.packages('optparse', repos='http://cran.r-project.org')" && \ | |
R -q -e "install.packages('AssocTests', repos='http://cran.r-project.org')" && \ | |
R -q -e "install.packages('glmnet', repos='http://cran.r-project.org')" && \ | |
R -q -e "install.packages('HDtweedie', repos='http://cran.r-project.org')" && \ | |
R -q -e "install.packages('getopt', repos='http://cran.r-project.org')" && \ | |
R -q -e "install.packages('doParallel', repos='http://cran.r-project.org')" && \ | |
R -q -e "install.packages('vegan', repos='http://cran.r-project.org')" && \ | |
R -q -e "install.packages('data.table', repos='http://cran.r-project.org')" && \ | |
cran="https://cran.r-project.org/src/contrib/Archive" && \ | |
R -q -e "library('devtools'); devtools::install_url('${cran}/DatABEL/DatABEL_0.9-6.tar.gz')" && \ | |
R -q -e "library('devtools'); devtools::install_url('${cran}/GenABEL.data/GenABEL.data_1.0.0.tar.gz')" && \ | |
R -q -e "library('devtools'); devtools::install_url('${cran}/GenABEL/GenABEL_1.8-0.tar.gz')" && \ | |
git clone https://github.com/biobakery/melonnpan.git && R CMD INSTALL melonnpan && rm -rf melonnpan && \ | |
conda deactivate ) || { echo "ERROR: Conda melonpann install failed"; exit 1; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment