-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
58 lines (49 loc) · 1.84 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
FROM debian:12
LABEL maintainer="Christian Diener <[email protected]>"
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
less \
locales \
vim-tiny \
wget \
ca-certificates \
fonts-texgyre \
python3 \
python3-pip \
ncbi-blast+ \
git \
libglpk-dev \
r-base-core \
r-base-dev \
r-base \
exonerate \
bedtools \
barrnap \
bc \
curl \
procps \
libcurl4-openssl-dev \
parallel \
libxml2-dev
RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
&& locale-gen en_US.utf8 \
&& /usr/sbin/update-locale LANG=en_US.UTF-8
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LD_LIBRARY_PATH /usr/lib64
RUN wget https://sourceforge.net/projects/sbml/files/libsbml/5.18.0/stable/Linux/64-bit/libSBML-5.18.0-Linux-x64.deb && \
wget https://sourceforge.net/projects/sbml/files/libsbml/5.18.0/stable/R%20interface/libSBML_5.18.0.tar.gz && \
apt-get install ./libSBML-5.18.0-Linux-x64.deb && \
R CMD INSTALL libSBML_5.18.0.tar.gz
RUN R -e 'install.packages(c("data.table", "stringr", "getopt", "reshape2", "doParallel", "foreach", "R.utils", "stringi", "glpkAPI", "CHNOSZ", "jsonlite", "remotes"))' && \
R -e 'install.packages("BiocManager"); BiocManager::install("Biostrings")' && \
R -e 'remotes::install_url("https://cran.r-project.org/src/contrib/Archive/sybil/sybil_2.2.0.tar.gz")' && \
R -e 'remotes::install_github("SysBioChalmers/sybil-SBML")'
RUN cd /opt && git clone https://github.com/jotech/gapseq
RUN cd /usr/bin && ln -s /opt/gapseq/gapseq
RUN cd /opt/gapseq/ && src/./update_sequences.sh
RUN chmod -R a+rw /opt/gapseq
RUN python3 -m pip install memote micom --break-system-packages
RUN rm -rf /tmp/* \
&& rm -rf /var/lib/apt/lists/*
CMD ["gapseq"]