Skip to content

Commit b150ddd

Browse files
author
Vladimir Kiselev
authored
Update Dockerfile
1 parent 2ae1228 commit b150ddd

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

Dockerfile

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ RUN apt-get update && apt-get install -yq --no-install-recommends \
77
libncurses5-dev \
88
libncursesw5-dev \
99
procps \
10-
texlive
10+
texlive \
11+
libv8-dev
1112

1213
# Install FastQC
1314
RUN curl -fsSL http://www.bioinformatics.babraham.ac.uk/projects/fastqc/fastqc_v0.11.5.zip -o /opt/fastqc_v0.11.5.zip && \
@@ -42,7 +43,7 @@ RUN curl -fsSL http://downloads.sourceforge.net/project/subread/subread-1.5.1/su
4243
rm /opt/subread-1.5.1-Linux-x86_64.tar.gz
4344

4445
# Install cutadapt and MAGIC and awscli (to download data)
45-
RUN pip install cutadapt magic-impute awscli
46+
RUN pip install cutadapt magic-impute awscli==1.16.14
4647

4748
# Install TrimGalore
4849
RUN mkdir /opt/TrimGalore && \
@@ -61,7 +62,7 @@ RUN curl -fsSL https://github.com/arq5x/bedtools2/releases/download/v2.27.1/bedt
6162
rm /opt/bedtools-2.27.1.tar.gz
6263

6364
# install CRAN packages
64-
RUN apt-get update && apt-get install -yq --no-install-recommends \
65+
RUN apt-get update && apt-get install -yq \
6566
r-cran-devtools \
6667
r-cran-tidyverse \
6768
r-cran-pheatmap \
@@ -143,14 +144,17 @@ RUN apt-get update && apt-get install -yq --no-install-recommends \
143144
r-cran-mgcv \
144145
r-cran-corrplot
145146

147+
# Set Rprofile for binary installs
148+
RUN echo 'options(repos = c(REPO_NAME = "https://packagemanager.rstudio.com/all/__linux__/focal/latest"))' > /home/jovyan/.Rprofile
149+
146150
# Install other CRAN
147151
RUN Rscript -e 'install.packages(c("Seurat", "rJava", "umap", "bookdown", "cluster", "KernSmooth", "ROCR", "googleVis", "ggbeeswarm", "SLICER", "ggfortify", "mclust", "Rmagic", "DrImpute"))'
148152

149153
# Install Bioconductor packages
150-
RUN Rscript -e 'BiocManager::install(c("graph", "RBGL", "gtools", "xtable", "pcaMethods", "limma", "SingleCellExperiment", "Rhdf5lib", "scater", "scran", "RUVSeq", "sva", "SC3", "TSCAN", "monocle", "destiny", "DESeq2", "edgeR", "MAST", "scmap", "biomaRt", "MultiAssayExperiment", "SummarizedExperiment"))'
154+
RUN Rscript -e 'BiocManager::install(c("graph", "RBGL", "gtools", "xtable", "pcaMethods", "limma", "SingleCellExperiment", "Rhdf5lib", "scater", "scran", "RUVSeq", "sva", "SC3", "TSCAN", "monocle", "destiny", "DESeq2", "edgeR", "MAST", "scmap", "biomaRt", "MultiAssayExperiment", "SummarizedExperiment", "beachmat", "DropletUtils"))'
151155

152156
# install github packages
153-
RUN Rscript -e 'devtools::install_github(c("immunogenomics/harmony", "LTLA/beachmat", "MarioniLab/DropletUtils", "tallulandrews/M3Drop", "hemberg-lab/scRNA.seq.funcs", "Vivianstats/scImpute", "theislab/kBET", "kieranrcampbell/ouija", "hemberg-lab/scfind"))'
157+
RUN Rscript -e 'devtools::install_github(c("immunogenomics/harmony", "tallulandrews/M3Drop", "hemberg-lab/scRNA.seq.funcs", "Vivianstats/scImpute", "theislab/kBET", "kieranrcampbell/ouija", "hemberg-lab/scfind"))'
154158

155159
# download data and extra files from S3
156160
COPY ./poststart.sh /home/jovyan

0 commit comments

Comments
 (0)