forked from medema-group/BiG-SCAPE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
33 lines (27 loc) · 918 Bytes
/
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
FROM conda/miniconda3
RUN apt-get update && apt-get install -y git wget
SHELL ["/bin/bash", "-c"]
WORKDIR /usr/src
# Cloning BiG-SCAPE
RUN git clone https://git.wur.nl/medema-group/BiG-SCAPE.git
# Create conda environment
RUN conda env create -f /usr/src/BiG-SCAPE/environment.yml
RUN echo "source activate bigscape" > ~/.bashrc
ENV PATH /usr/local/envs/bigscape/bin:$PATH
ENV PATH /usr/src/BiG-SCAPE:$PATH
RUN cd BiG-SCAPE \
&& wget ftp://ftp.ebi.ac.uk/pub/databases/Pfam/releases/Pfam34.0/Pfam-A.hmm.gz \
&& gunzip Pfam-A.hmm.gz \
&& source activate bigscape \
&& hmmpress Pfam-A.hmm \
&& chmod +x /usr/src/BiG-SCAPE/*py \
&& chmod a+w /usr/src/BiG-SCAPE/domains_color_file.tsv \
&& chmod a+w /usr/src/BiG-SCAPE/Annotated_MIBiG_reference/ \
&& chmod 777 /home
USER 1000:1000
RUN mkdir /home/input /home/output
WORKDIR /home
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
ENTRYPOINT ["bigscape.py"]
CMD ["--help"]