-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
64 lines (57 loc) · 2.09 KB
/
Copy pathDockerfile
File metadata and controls
64 lines (57 loc) · 2.09 KB
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 vacation/lsc:2.0.1
# Based on the short read correction software LSC because of
# shared dependencies
# Highly recommend using short read correction software LoRDEC
# with the IDP because it is much faster
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y \
wget \
python-scipy \
zip
# Include LoRDEC - it has a boutique open source license I can only find
# in their full source which is here:
# http://www.atgc-montpellier.fr/download/sources/lordec/LoRDEC-0.6.tar.gz
RUN cd /Source \
&& wget http://gatb-tools.gforge.inria.fr/versions/bin/LoRDEC-0.6-Linux.tar.gz \
&& tar -xzf LoRDEC-0.6-Linux.tar.gz \
&& rm LoRDEC-0.6-Linux.tar.gz \
&& cp LoRDEC-0.6-Linux/bin/* /usr/local/bin/ \
&& rm -r LoRDEC-0.6-Linux/
# Include GMAP
# note that GMAP is not open source to everyone. please abide by the license.
RUN cd /Source \
&& wget http://research-pub.gene.com/gmap/src/gmap-gsnap-2017-09-11.tar.gz \
&& tar -xzf gmap-gsnap-2017-09-11.tar.gz \
&& rm gmap-gsnap-2017-09-11.tar.gz \
&& cd gmap-2017-09-11 \
&& ./configure \
&& make \
&& make install \
&& cd /Source \
&& rm -r gmap-2017-09-11
## Include IDP
RUN cd /Source \
&& git clone https://github.com/jason-weirather/IDP.git \
&& rm -r /Source/IDP/example \
&& pip install seq-tools==1.0.9
ENV PATH="/Source/IDP/bin:${PATH}"
## Include hisat2 as a more modern short read aligner
RUN cd /Source \
&& wget ftp://ftp.ccb.jhu.edu/pub/infphilo/hisat2/downloads/hisat2-2.1.0-Linux_x86_64.zip \
&& unzip hisat2-2.1.0-Linux_x86_64.zip \
&& rm hisat2-2.1.0-Linux_x86_64.zip \
&& cd hisat2-2.1.0
ENV PATH="/Source/hisat2-2.1.0:${PATH}"
## Bring in samtools
RUN apt-get upgrade -y \
&& apt-get install -y \
curl libncurses5-dev libbz2-dev liblzma-dev \
&& cd /Source \
&& curl -L https://github.com/samtools/samtools/releases/download/1.5/samtools-1.5.tar.bz2 | tar -xj \
&& cd samtools-1.5 \
&& ./configure \
&& make \
&& make install \
&& cd /Source \
&& rm -r samtools-1.5