-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
38 lines (36 loc) · 1.73 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
FROM ubuntu:14.04
RUN apt-get update && apt-get install -y \
build-essential \
curl \
git \
libncurses-dev \
unzip \
zlib1g-dev
RUN curl -L https://github.com/lh3/bwa/archive/v0.7.15.zip > /root/bwa.zip
RUN unzip /root/bwa.zip -d /root
RUN rm /root/bwa.zip
RUN make -C /root/bwa-0.7.15
RUN ln -s /root/bwa-0.7.15/bwa /usr/bin/bwa
RUN curl -L https://github.com/samtools/htslib/archive/1.3.1.zip > /root/htslib.zip
RUN unzip /root/htslib.zip -d /root
RUN rm /root/htslib.zip
RUN make -C /root/htslib-1.3.1
RUN curl -L https://github.com/samtools/samtools/archive/1.3.1.zip > /root/samtools.zip
RUN unzip /root/samtools.zip -d /root
RUN rm /root/samtools.zip
RUN make HTSDIR=/root/htslib-1.3.1 -C /root/samtools-1.3.1
RUN ln -s /root/samtools-1.3.1/samtools /usr/bin/samtools
RUN curl -L https://github.com/GregoryFaust/samblaster/archive/v.0.1.24.zip > /root/samblaster.zip
RUN unzip /root/samblaster.zip -d /root
RUN make -C /root/samblaster-v.0.1.24
RUN ln -s /root/samblaster-v.0.1.24/samblaster /usr/bin/samblaster
RUN git clone https://github.com/statgen/libStatGen /root/libStatGen
RUN git --git-dir=/root/libStatGen/.git --work-tree=/root/libStatGen checkout 9db9c23e176a6ce6f421a3c21ccadedca892ac0c
RUN make -C /root/libStatGen
RUN git clone https://github.com/statgen/bamUtil /root/bamUtil
RUN git --git-dir=/root/bamUtil/.git --work-tree=/root/bamUtil checkout c8eae40d7824769bf63390fe16be82cc146b8d6f #NonPrimaryDedup
RUN make -C /root/bamUtil
RUN cp /root/bamUtil/bin/bam /usr/bin/bam-non-primary-dedup
RUN git --git-dir=/root/bamUtil/.git --work-tree=/root/bamUtil checkout b6e4a7de6b7ce08d488f539ada4f1717cd4d12e4 #ExternalMemorySortManager
RUN make -C /root/bamUtil
RUN cp /root/bamUtil/bin/bam /usr/bin/bam-ext-mem-sort-manager