-
Notifications
You must be signed in to change notification settings - Fork 9
/
Dockerfile
34 lines (27 loc) · 872 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
34
FROM mgibio/samtools:1.3.1
MAINTAINER John Garza <johnegarza@wustl.edu>
LABEL \
description="Image supporting the bam-readcount program"
RUN apt-get update && \
apt-get install -y \
cmake \
libcurl4-openssl-dev \
libssl-dev \
patch \
python \
python-pip \
git
ENV SAMTOOLS_ROOT=/opt/samtools
RUN mkdir /opt/bam-readcount
WORKDIR /opt/bam-readcount
RUN git clone https://github.com/genome/bam-readcount.git /tmp/bam-readcount-0.7.4 && \
git -C /tmp/bam-readcount-0.7.4 checkout v0.7.4 && \
cmake /tmp/bam-readcount-0.7.4 && \
make && \
rm -rf /tmp/bam-readcount-0.7.4 && \
ln -s /opt/bam-readcount/bin/bam-readcount /usr/bin/bam-readcount
COPY bam_readcount_helper.py /usr/bin/bam_readcount_helper.py
RUN pip install --upgrade pip
RUN pip install cyvcf2
#clear inherited entrypoint
ENTRYPOINT []