-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
47 lines (40 loc) · 1.39 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
FROM debian:stable-slim
RUN apt-get update && yes|apt-get upgrade && apt-get clean all && \
apt-get --no-install-recommends install -y wget bzip2 unzip zip && \
rm -rf /var/lib/apt/lists/* && \
wget --no-check-certificate https://repo.anaconda.com/miniconda/Miniconda2-latest-Linux-x86_64.sh && \
sh Miniconda2-latest-Linux-x86_64.sh -b && \
rm Miniconda2-latest-Linux-x86_64.sh && \
apt-get remove -y wget bzip2 && \
apt-get autoremove -y
ARG AWS_ACCESS_KEY_ID
ARG AWS_SECRET_ACCESS_KEY
ARG AWS_DEFAULT_REGION
ENV PATH /root/miniconda2/bin:$PATH
ENV AWS_ACCESS_KEY_ID $AWS_ACCESS_KEY_ID
ENV AWS_SECRET_ACCESS_KEY $AWS_SECRET_ACCESS_KEY
ENV AWS_DEFAULT_REGION $AWS_DEFAULT_REGION
RUN conda config --add channels Bioconda && \
conda install -c conda-forge awscli && \
conda install bowtie2 pysam biopython && \
pip install numpy scipy scikit-learn boto3==1.12.11 && \
mkdir /data
COPY . /app
WORKDIR /app
ENTRYPOINT bash /app/probegenerator/run.sh \
$seq_path \
$l \
$L \
$g \
$G \
$t \
$T \
$s \
$F \
$desired_spaces \
$initiator \
$path_to_bowtie_index \
$bowtie_index_basename \
$outputClean \
$email \
$job_id