forked from mkiyer/chimerascan
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
50 lines (39 loc) · 1.05 KB
/
Copy pathDockerfile
File metadata and controls
50 lines (39 loc) · 1.05 KB
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
FROM ubuntu:14.04
WORKDIR /opt
RUN apt-get update && apt-get install -y \
build-essential \
ca-certificates \
wget \
curl \
unzip \
git \
libcurl4-gnutls-dev \
libgnutls-dev \
python \
python-dev \
python-pip \
pypy
RUN pip install --upgrade pip
RUN pip install --upgrade virtualenv
#install github
ENV APP_NAME=bowtie2
ENV VERSION=v2.2.9
ENV GIT=https://github.com/BenLangmead/bowtie2.git
ENV DEST=/software/applications/$APP_NAME/
ENV PATH=$DEST/$VERSION/:$DEST/$VERSION/scripts/:$PATH
RUN git clone $GIT ; \
cd $APP_NAME ; \
git checkout tags/$VERSION ; \
sed -i "s#^prefix.*#prefix = $DEST#" Makefile ; \
make -j ; \
mkdir -p /usr/share/licenses/$APP_NAME-$VERSION ; \
cp LICENSE /usr/share/licenses/$APP_NAME-$VERSION/ ; \
cd ../ ; \
mkdir -p $DEST ; \
mv $APP_NAME $DEST/$VERSION
# install chimerscan
RUN pip install pysam
RUN git clone https://github.com/cgrlab/chimerascan.git && \
cd chimerascan ; \
python setup.py build ; \
python setup.py install