-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (20 loc) · 930 Bytes
/
Dockerfile
File metadata and controls
26 lines (20 loc) · 930 Bytes
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
FROM debian:stable-slim
LABEL maintainer <torrisimirko@yahoo.com>
# satisfy the requirements
RUN apt-get update && apt-get upgrade -y
RUN apt-get install git python3 python3-numpy hhsuite ncbi-blast+ -y
RUN apt-get autoremove -y && rm -rf /var/lib/apt/lists/*
# get Porter5
RUN git clone https://github.com/mircare/Porter5/ --depth 1 && rm -rf Porter5/.git
RUN git clone http://github.com/soedinglab/hh-suite
ENV HHLIB=/hh-suite
ENV PATH="$HHLIB/bin:$HHLIB/scripts:${PATH}"
# initialize Porter5
RUN echo "[DEFAULT]" >> Porter5/scripts/config.ini
RUN echo "psiblast = psiblast" >> Porter5/scripts/config.ini
RUN echo "uniref90 = /uniref90/uniref90.fasta" >> Porter5/scripts/config.ini
RUN echo "hhblits = hhblits" >> Porter5/scripts/config.ini
RUN echo "uniprot20 = /uniprot20/uniprot20_2016_02" >> Porter5/scripts/config.ini
WORKDIR /Porter5/scripts/Predict_BRNN
RUN bash set_models.sh && chmod a+x Predict
WORKDIR /Porter5