-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathDockerfile
70 lines (58 loc) · 2.11 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
# base conda container
FROM continuumio/miniconda3:4.12.0
# Install mamba installer for quick conda installations
RUN conda install -y mamba -c conda-forge
# Install standard python packages in base conda environment
RUN mamba install -y -c conda-forge -c bioconda \
jupyter \
pandas \
matplotlib \
ipykernel \
biopython \
scikit-learn \
pysam \
plotnine
# Install Rasi's R conda environment named 'tidy'
RUN mamba create -y -n tidy
# tidyverse and R jupyter kernel
RUN mamba install -y -n tidy -c conda-forge \
r-tidyverse \
r-janitor \
r-irkernel \
r-plotrix
# bioconductor packages used by Rasi
RUN mamba install -y -n tidy -c bioconda -c conda-forge \
bioconductor-plyranges \
bioconductor-genomicfeatures \
bioconductor-rtracklayer \
bioconductor-bsgenome.hsapiens.ucsc.hg38
# Make R kernel visible to Jupyter
RUN /opt/conda/envs/tidy/bin/R -s -e "IRkernel::installspec(sys_prefix = T)"
# Create new conda environment for Manu Setty's lectures
RUN conda create -n tfcb2022_rna -c conda-forge -c bioconda
# Scanpy installation
RUN mamba install -y -n tfcb2022_rna seaborn \
scikit-learn \
statsmodels \
numba \
pytables
RUN mamba install -y -n tfcb2022_rna -c conda-forge python-igraph leidenalg
RUN conda run -n tfcb2022_rna pip install scanpy
# cellxgene installation
RUN conda run -n tfcb2022_rna pip install cellxgene
# harmonypy installation
RUN conda run -n tfcb2022_rna pip install harmonypy
# umap version
RUN conda run -n tfcb2022_rna pip install umap-learn==0.5.1
# jupyter/ipython installation
RUN mamba install -y -n tfcb2022_rna -c conda-forge ipykernel
# install for Gavin Ha's lectures
RUN mamba install -y -n tidy -c bioconda bioconductor-variantannotation
RUN mamba create -n samtools
RUN mamba install -y -n samtools -c bioconda -c conda-forge samtools=1.16.1
RUN mamba create -n picard
RUN mamba install -y -n picard -c bioconda -c conda-forge picard-slim=2.21.6
# ggbio is for plotting genomic coordinate data
RUN mamba install -y -n tidy -c bioconda -c conda-forge bioconductor-ggbio
# add seaborn to base container
RUN mamba install -y -c conda-forge seaborn