@@ -8,28 +8,23 @@ ENV TZ=Europe/Ljubljana
88# thanks to https://github.com/bschiffthaler/ngs/blob/master/base/Dockerfile
99# and https://github.com/AveraSD/ngs-docker-star/blob/master/Dockerfile
1010
11+ SHELL ["/bin/bash" , "-c" ]
12+
1113RUN conda update -n base -c defaults conda -y
14+ RUN conda install -c conda-forge mamba -y
1215
13- RUN conda update -n base -c defaults conda
1416RUN conda config --add channels defaults
1517RUN conda config --add channels bioconda
1618RUN conda config --add channels conda-forge
1719
1820# ## samtools
19- RUN conda install -c bioconda -y "samtools>=1.10"
21+ # RUN conda install -c bioconda -y "samtools>=1.10"
2022
2123# ## bedtools, need at least version 2.26, where merge command reports strand
22- RUN conda install -c bioconda -y bedtools
24+ # RUN conda install -c bioconda -y bedtools
2325
2426# ## RNA-star
25- RUN conda install -c bioconda -y star
26-
27- # ## numpy
28-
29-
30- # USER root
31- # to speed-up building of Docker images
32- # RUN /home/icuser/.icountenv/bin/pip install numpy pandas pysam pybedtools numpydoc matplotlib
27+ # RUN conda install -c bioconda -y star
3328
3429# ################
3530# ### iCount
@@ -45,15 +40,10 @@ RUN git clone https://github.com/tomazc/iCount.git --branch snakemake
4540
4641RUN conda create -c conda-forge -c bioconda -n iCount_pipeline3 -y
4742RUN conda init bash
48- RUN exec bash # restart shell
49- RUN conda activate iCount_pipeline3
50- RUN conda install -c conda-forge mamba -y
51- RUN conda env update --file iCount/iCount/snakemake/envs/environment_iCount.yaml # needs ~ 4 GB RAM, otherwise killed
52-
53- USER root
54- RUN echo "conda activate iCount_pipeline3" >> /etc/bash.bashrc
43+ RUN echo "conda activate iCount_pipeline3" >> ~/.bashrc
44+ # RUN conda env update --file iCount/conda_iCount.yaml # needs ~ 4 GB RAM, otherwise killed
45+ # RUN pip install ./iCount
5546
56- USER icuser
57- ENV PATH /home/icuser/bin:$PATH
58- WORKDIR /home/icuser
59- CMD ["/bin/bash" ]
47+ # ENV PATH /home/icuser/bin:$PATH
48+ # WORKDIR /home/icuser
49+ # CMD ["/bin/bash"]
0 commit comments