-
Notifications
You must be signed in to change notification settings - Fork 6
/
Dockerfile
46 lines (37 loc) · 1.24 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
FROM quay.io/hdc-workflows/ubuntu:20.04
# bust cache
ADD http://date.jsontest.com /etc/builddate
LABEL maintainer "Jared Galloway <[email protected]>" \
version "1.1.4" \
description "Common PhIP-Seq Workflows"
# install needed tools
RUN apt-get update --fix-missing -qq && \
DEBIAN_FRONTEND=noninteractive \
apt-get install -y -q \
git \
curl \
locales \
libncurses5-dev \
libncursesw5-dev \
build-essential \
pkg-config \
zlib1g-dev \
python3 \
python3-pip \
python3-venv \
zip \
wget
ENV VIRTUAL_ENV=/opt/venv
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
# install phippery
RUN pip install git+https://github.com/matsengrp/[email protected]
# install pre-build binary Bowtie1.3
RUN curl -fksSL https://sourceforge.net/projects/bowtie-bio/files/bowtie/1.3.1/bowtie-1.3.1-linux-x86_64.zip \
--output bowtie-1.3.1-linux-x86_64.zip \
&& unzip bowtie-1.3.1-linux-x86_64.zip \
&& (cd /usr/bin/ && ln -s /bowtie-1.3.1-linux-x86_64/* ./)
# install SAMtools
RUN curl -fksSL https://github.com/samtools/samtools/releases/download/1.3.1/samtools-1.3.1.tar.bz2 | tar xj && \
cd samtools-1.3.1 && \
make all all-htslib && make install install-htslib