forked from galantelab/reboot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
executable file
·45 lines (26 loc) · 1.21 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
##Reboot docker file##
FROM python:3.9-rc-buster
#Install R core
RUN echo "deb http://cloud.r-project.org/bin/linux/debian buster-cran40/" >> /etc/apt/sources.list
#RUN apt-key adv --keyserver keys.gnupg.net --recv-key 'E19F5F87128899B192B1A2C2AD5F960A256A04AF'
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-key 'E19F5F87128899B192B1A2C2AD5F960A256A04AF'
RUN apt-get update
RUN apt-get -y upgrade
RUN apt-get -y install r-base
#Survival analysis package#
RUN Rscript -e 'install.packages(c("survival","survminer","BiocManager"))'
RUN Rscript -e 'BiocManager::install("survcomp")'
RUN Rscript -e 'install.packages("optparse")'
RUN Rscript -e 'install.packages(c("OptimalCutpoints","survivalROC","forestmodel","sjstats","data.table"))'
RUN Rscript -e 'install.packages("scriptName")'
#Regression analysis package#
RUN Rscript -e 'install.packages(c("penalized", "tidyverse", "hash", "R.utils"))'
#Main packages#
RUN Rscript -e 'install.packages(c("argparse","extrafont"))'
#TCGA tutorial#
RUN Rscript -e 'BiocManager::install("remotes")'
Run Rscript -e 'BiocManager::install("BioinformaticsFMRP/TCGAbiolinks")'
#NAs dealing
RUN Rscript -e 'install.packages("mice")'
#Tool insertion#
COPY *.R /usr/local/bin/