This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
99 lines (76 loc) · 2.63 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
FROM rocker/tidyverse:4.2.3
MAINTAINER [email protected]
WORKDIR /rocker-build/
RUN RSPM="https://packagemanager.rstudio.com/cran/2023-02-10" \
&& echo "options(repos = c(CRAN='$RSPM'), download.file.method = 'libcurl')" >> /usr/local/lib/R/etc/Rprofile.site
COPY scripts/install_bioc.r .
COPY scripts/install_github.r .
### Install apt-getable packages to start
#########################################
RUN apt-get update && apt-get install -y --no-install-recommends apt-utils dialog
# Add curl, bzip2 and some dev libs
RUN apt-get update -qq && apt-get -y --no-install-recommends install \
curl \
bzip2 \
zlib1g \
libbz2-dev \
liblzma-dev \
libreadline-dev
# libmagick++-dev is needed for coloblindr to install
RUN apt-get -y --no-install-recommends install \
libgdal-dev \
libudunits2-dev \
libmagick++-dev
# cmakeis needed for ggpubr to install
RUN apt-get -y --no-install-recommends install \
cmake
# install R packages from GitHub
# Maftools
RUN ./install_github.r 'PoisonAlien/maftools' --ref '80b22a48cccb9be696cc164a6b6b5aa6c1ef8ee3'
# Simulate colorblindness in production-ready R figures
RUN ./install_github.r 'clauswilke/colorblindr' --ref 'e6730be34255e2c38698f5aaf5673b9423db9aa2'
# to calculate CCF and infer driver genes
RUN ./install_github.r 'hanasusak/cDriver' --ref 'aa466ae92095f877a1f68ee7d2e6136cba9b02ea'
# FISHPLOT
RUN ./install_github.r 'chrisamiller/fishplot' --ref '7b7477aa21c4eb62b0defd00c61cf2349dbc1fcf'
# Inferring and visualizing clonal evolution in multi-sample cancer sequencing.
RUN ./install_github.r 'hdng/clonevol' --ref '7aff737aedde157de4e7374cedf9a873e80c8046'
# package required for immune deconvolution
RUN ./install_github.r 'omnideconv/immunedeconv' --ref '0c5c61978029c069eb1ab7487aaeb8b721810401'
# package for performing basic statistical tests
RUN ./install_github.r 'kassambara/rstatix' --ref '360cda40bd22e80bce19ed63fbadfc4a9e52ce23'
# package required for dndscv
RUN ./install_github.r 'im3sanger/dndscv'
# install R packages from CRAN
RUN install2.r \
BiocManager \
data.table \
devtools \
flextable \
future \
ggplot2 \
ggpubr \
ggthemes \
optparse \
pheatmap \
purrr \
RColorBrewer \
reshape2 \
R.utils \
rlist \
tidytext \
vroom
# install R packages from Bioconductor
RUN ./install_bioc.r \
ComplexHeatmap
# Install pip3 and low-level python installation reqs
RUN apt-get update
RUN apt-get -y --no-install-recommends install \
python3-pip python3-dev
RUN ln -s /usr/bin/python3 /usr/bin/python
RUN pip3 install \
"SciPy==1.10.1" \
"NumPy==1.24.3" \
"Biopython==1.81"
WORKDIR /rocker-build/
ADD Dockerfile .