-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (25 loc) · 1021 Bytes
/
Dockerfile
File metadata and controls
31 lines (25 loc) · 1021 Bytes
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
FROM ubuntu:16.04
LABEL MAINTAINER [email protected]
RUN mkdir -p /opt/gitroot
RUN apt-get update && apt-get -y install apt-utils \
pkg-config git tabix bash gcc make zlib1g-dev \
libstring-random-perl dh-autoreconf samtools
RUN apt-get autoremove
# Install bcftools - this is used for normalizing VCFs
RUN cd /opt/gitroot && git clone https://github.com/samtools/htslib.git
RUN cd /opt/gitroot && git clone https://github.com/samtools/bcftools.git
RUN cd /opt/gitroot && git clone https://github.com/vcftools/vcftools.git
RUN cd /opt/gitroot/htslib \
&& git checkout 1.3.1 \
&& make && make install
RUN cd /opt/gitroot/bcftools \
&& git checkout 1.3.1 \
&& make && make install
# Instal VCFTools - this is used for vcf-sort in the vcf_merge_by_type.pl script
RUN cd /opt/gitroot/vcftools \
&& git checkout v0.1.14 \
&& ./autogen.sh && ./configure && make && make install
# Copy in the scripts.
RUN mkdir -p /opt/oxog_scripts
COPY ./scripts/* /opt/oxog_scripts/
RUN chmod a+x /opt/oxog_scripts/*.*