forked from pinellolab/CRISPResso2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
45 lines (39 loc) · 1.57 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
############################################################
# Dockerfile to build CRISPResso2
############################################################
FROM continuumio/miniconda:4.7.12
# File Author / Maintainer
MAINTAINER Kendell Clement
RUN apt-get update && apt-get install gcc g++ bowtie2 samtools \
-y --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& conda config --add channels defaults \
&& conda config --add channels conda-forge \
&& conda config --add channels bioconda \
&& conda config --set remote_connect_timeout_secs 60 \
&& conda config --set ssl_verify no \
&& conda install --debug -c bioconda trimmomatic flash numpy==1.12.1 cython jinja2==2.10 \
&& conda clean -ay
#install ms fonts
RUN echo "deb http://httpredir.debian.org/debian jessie main contrib" > /etc/apt/sources.list \
&& echo "deb http://security.debian.org/ jessie/updates main contrib" >> /etc/apt/sources.list \
&& echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections \
&& apt-get update \
&& apt-get install -y ttf-mscorefonts-installer \
&& apt-get clean \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /usr/share/man/* \
&& rm -rf /usr/share/doc/* \
&& rm -rf /usr/share/zoneinfo
# install crispresso
COPY . /CRISPResso2
WORKDIR /CRISPResso2
RUN python setup.py install \
&& CRISPResso -h \
&& CRISPRessoBatch -h \
&& CRISPRessoPooled -h \
&& CRISPRessoWGS -h \
&& CRISPRessoCompare -h
ENTRYPOINT ["python","/CRISPResso2/CRISPResso2_router.py"]