-
Notifications
You must be signed in to change notification settings - Fork 6
/
Dockerfile
74 lines (61 loc) · 1.93 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
FROM ubuntu:xenial
ENV PATH=/opt/shart/scripts:/opt/FastQC:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
WORKDIR /root
RUN apt-get update && apt-get install -y \
bc \
curl\
g++ \
gcc \
git\
libbz2-dev \
libcurl4-openssl-dev \
liblzma-dev \
libssl-dev \
littler \
make \
man \
openjdk-8-jre \
parallel \
perl \
python-dev \
python-pip \
r-base-dev \
unzip \
wget \
zlib1g-dev
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash && \
apt-get install -y git-lfs
RUN wget -O- https://github.com/lh3/bwa/archive/v0.7.15.tar.gz | tar zx && \
cd /root/bwa-0.7.15/ && \
make && \
cp bwa qualfa2fq.pl xa2multi.pl /usr/local/bin/ && \
rm -fr /root/bwa-0.7.15
RUN wget -O- https://github.com/arq5x/bedtools2/releases/download/v2.26.0/bedtools-2.26.0.tar.gz | tar zx && \
cd /root/bedtools2/ && \
make && \
cp bin/* /usr/local/bin/ && \
rm -fr /root/bedtools2/
RUN wget https://github.com/samtools/samtools/releases/download/1.4/samtools-1.4.tar.bz2 && \
bunzip2 samtools-1.4.tar.bz2 && \
tar -xvf samtools-1.4.tar && \
cd /root/samtools-1.4 && \
./configure --without-curses && \
make && \
make install && \
rm -f /root/samtools-1.4.tar && \
rm -fr /root/samtools-1.4
RUN cd /opt && \
wget http://www.bioinformatics.babraham.ac.uk/projects/fastqc/fastqc_v0.11.5.zip && \
unzip fastqc_v0.11.5.zip && \
chmod +x FastQC/fastqc && \
rm -f fastqc_v0.11.5.zip
RUN pip install cutadapt
RUN pip install multiqc
RUN R -e 'install.packages("devtools", repos="http://cran.us.r-project.org")' && \
R -e 'devtools::install_github("dvera/conifur")' && \
R -e 'devtools::install_github("dvera/converge")' && \
R -e 'devtools::install_github("dvera/gyro")' && \
R -e 'devtools::install_github("dvera/travis")'
RUN git clone https://github.com/dvera/shart /opt/shart
RUN R -e "install.packages(c('docopt','yaml'), repos = 'http://cran.us.r-project.org')"
CMD bash