-
Notifications
You must be signed in to change notification settings - Fork 86
/
Dockerfile
40 lines (31 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
FROM ubuntu:20.04
LABEL author="Adam Ewing <[email protected]>"
ENV PATH=$PATH:$HOME/bin
ARG DEBIAN_FRONTEND=noninteractive
# Install dependencies
RUN apt-get update && apt-get upgrade -y && apt-get install -y \
python3 \
python3-pip \
git \
wget \
build-essential \
libz-dev \
libglib2.0-dev \
libbz2-dev \
liblzma-dev \
default-jre \
autoconf \
samtools \
bwa
RUN mkdir $HOME/bin
RUN wget https://github.com/dzerbino/velvet/archive/refs/tags/v1.2.10.tar.gz && tar -xvzf v1.2.10.tar.gz
RUN make -C velvet-1.2.10
RUN cp velvet-1.2.10/velvetg $HOME/bin && cp velvet-1.2.10/velveth $HOME/bin
RUN git clone https://github.com/adamewing/exonerate.git
RUN cd exonerate && autoreconf -fi && ./configure && make && make install
RUN wget https://github.com/broadinstitute/picard/releases/download/2.27.3/picard.jar
RUN chmod +x picard.jar
RUN export BAMSURGEON_PICARD_JAR=$HOME/picard.jar
RUN pip install pysam
RUN git clone https://github.com/adamewing/bamsurgeon.git
RUN export PATH=$PATH:$HOME/bin && cd bamsurgeon