forked from adamewing/bamsurgeon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
64 lines (49 loc) · 1.53 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
FROM ubuntu:14.04
MAINTAINER Adam Ewing <[email protected]>
ENV PATH=$PATH:$HOME/bin
WORKDIR ~/
RUN apt-get update && apt-get install -y software-properties-common
RUN add-apt-repository -y ppa:scipy/ppa
RUN apt-get install -y \
python \
python-numpy \
python-scipy \
python-pip \
zlib1g-dev \
git \
wget \
libncurses5-dev \
libbz2-dev \
liblzma-dev \
pkg-config \
automake \
autoconf \
glib-2.0-dev \
unzip
RUN pip install cython
RUN pip install pysam
RUN mkdir $HOME/bin
RUN wget https://www.ebi.ac.uk/~zerbino/velvet/velvet_1.2.10.tgz
RUN tar xvzf velvet_1.2.10.tgz
RUN make -C velvet_1.2.10
RUN cp velvet_1.2.10/velvetg $HOME/bin
RUN cp velvet_1.2.10/velveth $HOME/bin
RUN git clone https://github.com/lh3/bwa.git
RUN make -C bwa
RUN cp bwa/bwa $HOME/bin
RUN git clone https://github.com/samtools/htslib.git
RUN make -C htslib
RUN git clone https://github.com/samtools/samtools.git
RUN make -C samtools
RUN cp samtools/samtools $HOME/bin
RUN cp samtools/misc/wgsim $HOME/bin
RUN git clone https://github.com/samtools/bcftools.git
RUN make -C bcftools
RUN cp bcftools/bcftools $HOME/bin
RUN wget https://github.com/broadinstitute/picard/releases/download/1.131/picard-tools-1.131.zip
RUN unzip picard-tools-1.131.zip
RUN git clone https://github.com/adamewing/exonerate.git
RUN cd exonerate && autoreconf -fi && ./configure && make && make install
RUN git clone https://github.com/adamewing/bamsurgeon.git
RUN export PATH=$PATH:$HOME/bin && cd bamsurgeon && python setup.py install
CMD []