-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
43 lines (36 loc) · 1.05 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
FROM ubuntu:18.04
LABEL maintainer="Hédia Tnani([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/HediaTnani/novograph.git \
&& cd novograph/src \
&& make all
ENV PATH="/opt/novograph/src:${PATH}"
ENV PERL5LIB="/opt/novograph/scripts:${PERL5LIB}"
WORKDIR /opt/novograph/scripts
# Just add comment to see if building