-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile
74 lines (55 loc) · 1.67 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
FROM ubuntu:18.04
MAINTAINER Rob<[email protected]>
LABEL Description "https://github.com/UMN-EGGL/BuildNiceEquCab3Fasta"
ENV DEBIAN_FRONTEND=noninteractive
# Install the necessary packages ontop of base ubuntu installation
RUN apt-get -y update && apt-get install -y \
curl \
lsb-release \
wget \
git \
gcc \
vim \
build-essential \
apt-transport-https \
python3 \
python3-dev \
python3-pip \
s3cmd \
zlib1g-dev
RUN cd /root
# Install STAR
RUN mkdir -p /src/ && \
cd /src && \
git clone https://github.com/alexdobin/STAR.git && \
cd STAR/source && \
make STAR && \
cp STAR /usr/local/bin
# Install miniconda
RUN wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
RUN bash miniconda.sh -b -f
ENV PATH=/root/miniconda3/bin:${PATH}
RUN conda update -n base conda
# Create a python environment
RUN conda create -y -n default python=3
RUN /bin/bash -c "source activate default"
#RUN wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py
#RUN python3 get-pip.py
RUN pip install ipython
RUN pip install locuspocus
#RUN pip install snakemake
RUN pip install git+https://bitbucket.org/LinkageIO/snakemake
RUN pip install boto3
RUN pip install ftputil
# Install AdapterREmoval
RUN conda install -c maxibor adapterremoval2
COPY . /root/EquCab3Nice
WORKDIR /root/EquCab3Nice
ENTRYPOINT ["snakemake", "-s", "/root/EquCab3Nice/Snakefile"]
# -----------------------------
# Build Instructions
# -----------------------------
# Build the Container with:
# $ docker build -t hga:latest .
# Run the Container passing through a port to the host
# $ docker run -p 4000:4000 -it hga