forked from Bioinformatics-Core-at-Childrens/bcRflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
executable file
·78 lines (71 loc) · 1.96 KB
/
Copy pathDockerfile
File metadata and controls
executable file
·78 lines (71 loc) · 1.96 KB
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
FROM rocker/r-ver:4.3
LABEL maintainer="Brent T. Schlegel [bts76@pitt.edu]" \
description="Environment and dependencies for BCR Nextflow pipeline"
# Install ps, for Nextflow
RUN apt-get update && \
apt-get install -y \
procps \
libglpk40 \
pandoc \
libcurl4-openssl-dev \
r-cran-curl \
clustalw \
python3-pip \
python3-venv
# Install required Python packages
RUN python3 -m pip install --upgrade pip && \
python3 -m pip install \
scipy
# Install required R packages
ARG R_DEPS="c( \
'BiocManager', \
'dplyr', \
'ggplot2', \
'viridisLite', \
'colorRamp2', \
'Platypus', \
'optparse', \
'stringr', \
'tidyr', \
'devtools', \
'Seurat', \
'utils', \
'scales', \
'ade4', \
'phylobase', \
'NAIR', \
'magrittr', \
'purrr', \
'circilize', \
'epitools', \
'igraph', \
'ggpubr', \
'vegan', \
'fpc', \
'stringdist' \
)"
ARG R_BIOC_DEPS="c( \
'Biostrings', \
'msa', \
'GenomicRanges', \
'GenomicAlignments',\
'BrepPhylo', \
'org.Mm.eg.db', \
'org.Hs.eg.db', \
'edgeR', \
'fgsea', \
'ggtree' \
)"
RUN Rscript -e "install.packages(${R_DEPS}, clean=TRUE, dependencies=TRUE)"
RUN Rscript -e "BiocManager::install(${R_BIOC_DEPS}, dependencies=TRUE)"
RUN Rscript -e "install.packages('NMF', clean=TRUE)"
RUN Rscript -e "devtools::install_github('fmichonneau/phylobase')"
RUN Rscript -e "devtools::install_github('Fraternalilab/BrepPhylo',dependencies = TRUE)"
RUN Rscript -e "devtools::install_github('omarwagih/ggseqlogo')"
RUN Rscript -e "devtools::install_github('jokergoo/ComplexHeatmap')"
RUN Rscript -e "devtools::install_github('immunomind/immunarch', ref='dev')"
RUN apt-get update && apt-get install -y phylip
RUN Rscript -e "install.packages('ape', clean=TRUE, dependencies=TRUE)"
# Set up reticulate with the default virtual environment
RUN Rscript -e "reticulate::virtualenv_create(envname = 'r-reticulate')"
CMD ["R"]