Skip to content
This repository has been archived by the owner on Nov 7, 2021. It is now read-only.

Make sure Docker Hub builds working images #41

Merged
merged 2 commits into from
Jan 11, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 11 additions & 43 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,24 @@ RUN apt-get update -qq
RUN apt-get install build-essential hmmer lua5.1 ncbi-blast+ blast2 snap \
unzip cpanminus mummer infernal exonerate mafft fasttree \
circos libsvg-perl libgd-svg-perl python-setuptools \
libc6-i386 lib32stdc++6 lib32gcc1 netcat \
last-align libboost-iostreams-dev libgsl0ldbl \
libcolamd2.8.0 libstdc++6 --yes --force-yes
RUN ln -fs /usr/bin/fasttree /usr/bin/FastTree && \
cpanm --force SVG Carp Storable Bio::SearchIO List::Util \
Getopt::Long && \
rm -rf /root/.cpanm/work/
libc6-i386 lib32stdc++6 lib32gcc1 netcat genometools \
last-align libboost-iostreams-dev libgsl0ldbl libgsl0-dev \
libcolamd2.9.1 liblpsolve55-dev libstdc++6 aragorn tantan \
libstorable-perl libbio-perl-perl libsqlite3-dev \
--yes --force-yes
RUN ln -fs /usr/bin/fasttree /usr/bin/FastTree

#
# Install AUGUSTUS (binaries)
# Install AUGUSTUS
#
ADD http://bioinf.uni-greifswald.de/augustus/binaries/old/augustus-3.2.tar.gz /opt/augustus-3.2.tar.gz
RUN cd /opt && \
tar -xzvf augustus* && \
rm -rf *.tar.gz && \
mv augustus* augustus && \
rm -rf augustus/docs
rm -rf augustus/docs && \
cd augustus && \
make -j2

#
# Install GenomeTools (most recent git master)
Expand All @@ -52,17 +53,6 @@ RUN cd /opt && \
cd / && \
rm -rf /opt/genometools-master*

#
# Install ARAGORN
# (this is done from source instead of Debian b/c Debian-built version hangs)
#
ADD http://mbio-serv2.mbioekol.lu.se/ARAGORN/Downloads/aragorn1.2.36.tgz /opt/aragorn.tgz
RUN cd /opt && \
tar -xvf aragorn.tgz && \
mv aragorn1* aragorn && \
cd aragorn && \
gcc -o aragorn aragorn*.c

#
# Install and configure OrthoMCL
#
Expand Down Expand Up @@ -92,19 +82,6 @@ RUN cd /opt && \
cp Gblocks_0.91b/Gblocks /usr/bin/Gblocks && \
chmod 755 /usr/bin/Gblocks

#
# Install tantan
#
ADD http://cbrc3.cbrc.jp/~martin/tantan/tantan-13.zip /opt/tantan-13.zip
RUN cd /opt && \
unzip tantan-13.zip && \
rm -rf tantan-13.zip && \
cd tantan-13 && \
make -j2 && \
make install && \
cd .. && \
rm -rf tantan-13

#
# get GO OBO file
#
Expand Down Expand Up @@ -136,17 +113,8 @@ ADD ./RATT /opt/RATT
#
ADD ./ABACAS2 /opt/ABACAS2

#
# install gff3 to EMBL converter
#
ADD https://github.com/sanger-pathogens/gff3toembl/archive/master.zip /opt/gff3toembl-master.zip
RUN cd /opt && \
unzip gff3toembl-master.zip && \
cd /opt/gff3toembl-master && \
python setup.py install

ENV AUGUSTUS_CONFIG_PATH /opt/augustus/config
ENV RATT_HOME /opt/RATT
ENV GT_RETAINIDS yes
ENV PERL5LIB /opt/ORTHOMCLV1.4/:/opt/RATT/:/opt/ABACAS2/:$PERL5LIB
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/augustus/bin:/opt/augustus/scripts:/opt/ORTHOMCLV1.4:/opt/RATT:/opt/ABACAS2:/opt/aragorn:$PATH
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/augustus/bin:/opt/augustus/scripts:/opt/ORTHOMCLV1.4:/opt/RATT:/opt/ABACAS2:$PATH
2 changes: 1 addition & 1 deletion RATT/main.ratt.pl
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
($ref_results,$ref_Counting)=adaptAnnotationEMBL($emblDir,$_,$ref_shift2,$ref_results,$ref_Counting);

### cleaning step
if (defined(@{$$ref_shift{$refName}})) {
if (@{$$ref_shift{$refName}}) {
foreach (0..(scalar(@{$$ref_shift{$refName}}))-1) {
undef(@{ $$ref_shift{$refName}[$_]});
}
Expand Down