forked from jgockley62/TWAS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
59 lines (56 loc) · 2.5 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
FROM rocker/tidyverse:latest
RUN apt-get update\
&& apt-get install -y libpython-dev\
&& apt-get install -y libpython3-dev\
&& apt-get install -y dpkg-dev zlib1g-dev libssl-dev libffi-dev\
&& apt-get install -y curl nano less libcurl4-openssl-dev gawk\
&& apt-get install -y git\
&& apt-get install -y tabix\
&& apt-get install -y bcftools\
&& apt-get install -y awscli\
&& apt-get install -y less\
&& apt-get install -y vsftpd\
&& apt-get install -y vcftools\
&& apt-get install -y coreutils\
&& apt install -y python-pip\
&& pip install synapseclient\
&& pip install aws-mfa\
&& pip install awsmfa\
&& git clone https://github.com/jgockley62/TWAS.git\
&& mkdir TWAS/bin\
&& wget http://s3.amazonaws.com/plink1-assets/plink_linux_x86_64_20190617.zip\
&& unzip plink_linux_x86_64_20190617.zip\
&& mv plink TWAS/bin \
&& rm toy.* \
&& wget http://s3.amazonaws.com/plink2-assets/plink2_linux_x86_64_20191015.zip\
&& unzip plink2_linux_x86_64_20191015.zip\
&& mv plink2 TWAS/bin \
&& R -e "install.packages('BiocManager')"\
&& R -e "BiocManager::install('biomaRt')"\
&& R -e "devtools::install_github('th1vairam/CovariateAnalysis@dev')"\
&& R -e "devtools::install_github('brian-bot/githubr')"\
#&& R -e "install.packages('synapser', repos = c('http://ran.synapse.org', 'http://cran.fhcrc.org'))"\
#&& R -e "devtools::install_github('Sage-Bionetworks/knit2synapse')"\
#&& R -e "install.packages('PythonEmbedInR', repos=c('http://cran.fhcrc.org', 'http://ran.synapse.org'))"\
&& R -e "install.packages('doParallel')"\
&& R -e "install.packages('data.table')"\
&& R -e "install.packages('dplyr')"\
&& R -e "install.packages('foreach')"\
&& R -e "install.packages('ggplot2')"\
&& R -e "install.packages('knitr')"\
&& R -e "install.packages('plyr')"\
&& R -e "install.packages('rmarkdown')"\
&& R -e "install.packages('reticulate')"\
&& R -e "install.packages('plotrix', repos = 'http://cran.us.r-project.org')"\
&& R -e "install.packages('reticulate', repos = 'http://cran.us.r-project.org')"\
&& R -e "install.packages('optmatch', repos = 'http://cran.us.r-project.org')" \
&& R -e "BiocManager::install('scater')" \
&& R -e "install.packages('tidyr')"\
&& R -e "install.packages('glmnet', repos = 'http://cran.us.r-project.org')"\
&& R -e "BiocManager::install('sva')"\
&& R -e "BiocManager::install('WGCNA')"\
&& R -e "BiocManager::install('cqn')"\
&& R -e "BiocManager::install('limma')"\
&& R -e "BiocManager::install('edgeR')"\
&& R -e "BiocManager::install('ComplexHeatmap')"
RUN R -e "devtools::install_github('gabraham/plink2R/plink2R', dependencies=TRUE)"