forked from Kraus-Lab/active-enhancers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
57 lines (42 loc) · 1.46 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
###############################################################
# Dockerfile to build container images to test active-enhancers
# Based on Ubuntu
###############################################################
FROM ubuntu:14.04
org.opencontainers.image.source = "https://github.com/Functional-Genomics-Lab/active-enhancers"
# Install wget and unzip
RUN apt-get update \
&& apt-get install -y wget unzip git
# R
RUN apt-get -y install r-base
# Install Python
RUN apt-get install -y python2.7 python2.7-dev python-pip libcurl4-openssl-dev
# Install Perl
# Install FastQC
RUN apt-get install -y openjdk-7-jre
RUN apt-get install -y fastqc=0.10.1+dfsg-2
# Install cutadapt
RUN pip install cutadapt==1.2.1
# Install BWA
WORKDIR /src
RUN git clone https://github.com/lh3/bwa && \
cd bwa && \
git checkout 0.7.12 && \
make && cp bwa /usr/local/bin/bwa
# Install samtools
RUN apt-get install -y samtools=0.1.19-1
# Install bedtools
RUN apt-get install -y bedtools=2.17.0-1
# Install groHMM
#RUN R -e "source('http://bioconductor.org/biocLite.R'); biocLite('groHMM')"
# Install SRA Tool
RUN wget "http://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/2.5.4/sratoolkit.2.5.4-ubuntu64.tar.gz" && \
tar -zxf sratoolkit.2.5.4-ubuntu64.tar.gz && \
cp -r sratoolkit.2.5.4-ubuntu64/bin/* /usr/local/bin
# Clean up
RUN apt-get clean \
&& rm -rf /var/lib/apt/lists/ \
&& rm -rf /tmp/downloaded_packages/ /tmp/*.rds \
&& rm -rf sratoolkit.2.5.4-ubuntu64/ \
&& rm -rf bwa/
WORKDIR /