-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathDockerfile
More file actions
81 lines (63 loc) · 2.68 KB
/
Dockerfile
File metadata and controls
81 lines (63 loc) · 2.68 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
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
75
76
77
78
79
80
81
FROM kbase/sdkbase2:python
MAINTAINER KBase Developer
# -----------------------------------------
# In this section, you can install any system dependencies required
# to run your App. For instance, you could place an apt-get update or
# install line here, a git checkout to download code, or run any other
# installation scripts.
# RUN apt-get update
RUN apt-get update --fix-missing
RUN apt-get install -y gcc wget
# Here we install a python coverage tool and an
# https library that is out of date in the base image.
RUN pip install --upgrade pip \
&& python --version
RUN pip install coverage==5.5 && \
pip install in_place==0.5.0 && \
pip install pathos==0.2.7
# download StringTie software and untar it
RUN STRINGTIE_V='2.1.5' && \
mkdir /kb/deployment/bin/modules && \
cd /kb/deployment/bin/modules && \
mkdir StringTie && cd StringTie && \
wget http://ccb.jhu.edu/software/stringtie/dl/stringtie-${STRINGTIE_V}.Linux_x86_64.tar.gz &&\
tar xvfz stringtie-${STRINGTIE_V}.Linux_x86_64.tar.gz && \
cd stringtie-${STRINGTIE_V}.Linux_x86_64 && \
mkdir /kb/deployment/bin/StringTie && \
cp -R stringtie /kb/deployment/bin/StringTie/stringtie
# -----------------------------------------
# download prepDE script
RUN cd /kb/deployment/bin/modules && \
mkdir prepDE && cd prepDE && \
wget http://ccb.jhu.edu/software/stringtie/dl/prepDE.py3 &&\
mkdir /kb/deployment/bin/prepDE && \
cp -R prepDE.py3 /kb/deployment/bin/prepDE/prepDE.py && \
chmod 777 /kb/deployment/bin/prepDE/prepDE.py
# -----------------------------------------
# download gffread script
RUN GFFREAD_V='0.12.6' && \
cd /kb/deployment/bin/modules && \
mkdir gffread && cd gffread && \
wget http://ccb.jhu.edu/software/stringtie/dl/gffread-${GFFREAD_V}.Linux_x86_64.tar.gz &&\
tar xvfz gffread-${GFFREAD_V}.Linux_x86_64.tar.gz && \
cd gffread-${GFFREAD_V}.Linux_x86_64 && \
mkdir /kb/deployment/bin/gffread && \
cp -R gffread /kb/deployment/bin/gffread/gffread
# -----------------------------------------
# download gffcompare script
RUN GFFCOMP_V='0.12.2' && \
cd /kb/deployment/bin/modules && \
mkdir gffcompare && cd gffcompare && \
wget http://ccb.jhu.edu/software/stringtie/dl/gffcompare-${GFFCOMP_V}.Linux_x86_64.tar.gz &&\
tar xvfz gffcompare-${GFFCOMP_V}.Linux_x86_64.tar.gz && \
cd gffcompare-${GFFCOMP_V}.Linux_x86_64 && \
mkdir /kb/deployment/bin/gffcompare && \
cp -R gffcompare /kb/deployment/bin/gffcompare/gffcompare
# -----------------------------------------
COPY ./ /kb/module
RUN mkdir -p /kb/module/work
RUN chmod -R a+rw /kb/module
WORKDIR /kb/module
RUN make all
ENTRYPOINT [ "./scripts/entrypoint.sh" ]
CMD [ ]