-
Notifications
You must be signed in to change notification settings - Fork 8
/
Dockerfile
41 lines (35 loc) · 1.04 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
FROM ubuntu:18.04
LABEL maintainer="Torsten Houwaart ([email protected])" \
version.ubuntu="18.04"
# install required packages
RUN apt-get update && apt-get install -y \
build-essential \
git \
liblist-moreutils-perl \
libset-intervaltree-perl \
python3.6
RUN ln -s /usr/bin/python3.6 /usr/bin/python
# necessary for Bio:DB::HTS
RUN apt-get update && apt-get install -y \
cpanminus \
wget \
zlib1g-dev \
liblzma-dev \
libbz2-dev \
bioperl
RUN cd /opt \
&& wget https://github.com/samtools/htslib/releases/download/1.9/htslib-1.9.tar.bz2 \
&& tar -vxjf htslib-1.9.tar.bz2 \
&& cd htslib-1.9 \
&& make \
&& make install
RUN cpanm Bio::DB::HTS
# above can be deleted once dependency on Bio::DB::HTS goes away
# install Novograph
RUN cd /opt \
&& git clone https://github.com/NCBI-Hackathons/NovoGraph.git \
&& cd NovoGraph/src \
&& make all
ENV PATH="/opt/NovoGraph/src:${PATH}"
ENV PERL5LIB="/opt/NovoGraph/scripts:${PERL5LIB}"
WORKDIR /opt/NovoGraph/scripts