forked from StaPH-B/docker-builds
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
52 lines (43 loc) · 1.55 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
# Base Image
FROM ubuntu:xenial
# Metadata
LABEL base.image="ubuntu:xenial"
LABEL version="1"
LABEL software="SeqSero2"
LABEL software.version="1.0.0"
LABEL description="Salmonella serotyping from genome sequencing data"
LABEL website="https://github.com/denglab/SeqSero2"
LABEL license="https://github.com/denglab/SeqSero2/blob/master/LICENSE"
LABEL maintainer1="Jake Garfin"
LABEL maintainer1.email="[email protected]"
LABEL maintainer2="Curtis Kapsak"
LABEL maintainer2.email="[email protected]"
RUN apt-get update && apt-get install -y \
python3\
python3-pip\
bwa\
ncbi-blast+\
sra-toolkit\
bedtools\
wget\
zlib1g-dev\
libbz2-dev\
liblzma-dev\
build-essential\
libncurses5-dev
RUN pip3 install 'biopython == 1.68'
# Install samtools (installing from apt breaks SeqSero2 version check)
RUN wget 'https://github.com/samtools/samtools/releases/download/1.9/samtools-1.9.tar.bz2' && \
tar -xvf samtools-1.9.tar.bz2 && rm samtools-1.9.tar.bz2 && cd samtools-1.9 && make
# Install salmID
RUN wget https://github.com/hcdenbakker/SalmID/archive/0.122.tar.gz && \
tar -xzf 0.122.tar.gz && rm -rf 0.122.tar.gz
# Install SPAdes
RUN wget https://github.com/ablab/spades/releases/download/v3.8.2/SPAdes-3.8.2-Linux.tar.gz && \
tar -xzf SPAdes-3.8.2-Linux.tar.gz && \
rm -rf SPAdes-3.8.2-Linux.tar.gz
# Install SeqSero2
RUN wget https://github.com/denglab/SeqSero2/archive/v1.0.0.tar.gz && \
tar -xzf v1.0.0.tar.gz && rm -rf v1.0.0.tar.gz && mkdir /data
ENV PATH="${PATH}:/SeqSero2-1.0.0:/SPAdes-3.8.2-Linux/bin:/SalmID-0.122:/samtools-1.9"
WORKDIR /data