Skip to content

Instantly share code, notes, and snippets.

@twsaari
Created May 20, 2022 19:11
Show Gist options
  • Save twsaari/36945dc2ca2f5c75263dccb5ef5c5035 to your computer and use it in GitHub Desktop.
Save twsaari/36945dc2ca2f5c75263dccb5ef5c5035 to your computer and use it in GitHub Desktop.
Single cell environment 0.6.0 dockerfile
FROM bioconductor/bioconductor_docker:RELEASE_3_12
RUN Rscript -e "\
BiocManager::install(c(\
'AnnotationDbi', \
'AnnotationFilter', \
'BiocGenerics', \
'EnsDb.Mmusculus.v79', \
'EnsDb.Hsapiens.v75', \
'GenomeInfoDb', \
'GenomicFeatures', \
'GenomicRanges', \
'ggbio', \
'IRanges', \
'MAST', \
'motifmatchr', \
'multtest', \
'Rsamtools', \
'S4Vectors', \
'ggbio', \
'motifmatchr')); \
install.packages(c(\
'cowplot', \
'dplyr', \
'ggplot2',\
'hdf5r',\
'patchwork',\
'reticulate', \
'Seurat', \
'Signac', \
'tidyverse'));"
RUN Rscript -e "\
BiocManager::install(c( \
'DelayedArray', \
'DelayedMatrixStats', \
'limma', \
'SingleCellExperiment', \
'SummarizedExperiment', \
'batchelor', \
'Matrix.utils')); \
library(devtools);"
RUN Rscript -e "install.packages('metap')"
RUN wget -P /tmp https://repo.anaconda.com/miniconda/Miniconda3-py37_4.8.2-Linux-x86_64.sh && \
sha256sum /tmp/Miniconda3-py37_4.8.2-Linux-x86_64.sh && \
bash /tmp/Miniconda3-py37_4.8.2-Linux-x86_64.sh -p /miniconda -b && \
rm /tmp/Miniconda3-py37_4.8.2-Linux-x86_64.sh
ENV PATH=/miniconda/bin:${PATH}
RUN mkdir -p /root/.local/share && \
echo "/miniconda/bin/conda" > /root/.local/share/r-miniconda
RUN Rscript -e "\
library(reticulate); \
conda_install(env_name='umap-learn', packages='umap-learn');"
RUN apt-get update && \
apt-get install -y libxkbcommon-x11-0 && \
wget -P /tmp/ https://download1.rstudio.org/desktop/bionic/amd64/rstudio-1.2.5033-amd64.deb && \
dpkg -i /tmp/rstudio-1.2.5033-amd64.deb
RUN apt-get install -y libboost-all-dev && \
Rscript -e "\
BiocManager::install('pcaMethods'); \
library(devtools);"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment