|
| 1 | +FROM ubuntu:20.04 |
| 2 | + |
| 3 | +# Set timezone in tzdata |
| 4 | +ENV DEBIAN_FRONTEND="noninteractive" TZ="Europe/Berlin" |
| 5 | + |
| 6 | +# Install required packages |
| 7 | +RUN apt-get update |
| 8 | +RUN apt-get install -y build-essential wget git autoconf |
| 9 | + |
| 10 | +# Install dependencies for AUGUSTUS comparative gene prediction mode (CGP) |
| 11 | +RUN apt-get install -y libgsl-dev libboost-all-dev libsuitesparse-dev liblpsolve55-dev |
| 12 | +RUN apt-get install -y libsqlite3-dev libmysql++-dev |
| 13 | + |
| 14 | +# Install dependencies for the optional support of gzip compressed input files |
| 15 | +RUN apt-get install -y libboost-iostreams-dev zlib1g-dev |
| 16 | + |
| 17 | +# Install dependencies for bam2hints and filterBam |
| 18 | +RUN apt-get install -y libbamtools-dev |
| 19 | + |
| 20 | +# Install additional dependencies for bam2wig |
| 21 | +RUN apt-get install -y samtools libhts-dev |
| 22 | + |
| 23 | +# Install additional dependencies for homGeneMapping and utrrnaseq |
| 24 | +RUN apt-get install -y libboost-all-dev |
| 25 | + |
| 26 | +# Install additional dependencies for scripts |
| 27 | +RUN apt-get install -y cdbfasta diamond-aligner libfile-which-perl libparallel-forkmanager-perl libyaml-perl libdbd-mysql-perl |
| 28 | +RUN apt-get install -y --no-install-recommends python3-biopython |
| 29 | + |
| 30 | +# Install hal - required by homGeneMapping |
| 31 | +# execute the commented out code if you want to use this program - see auxprogs/homGeneMapping/Dockerfile |
| 32 | +#RUN apt-get install -y libhdf5-dev |
| 33 | +#RUN git clone https://github.com/benedictpaten/sonLib.git /opt/sonLib |
| 34 | +#WORKDIR /opt/sonLib |
| 35 | +#RUN make |
| 36 | +#RUN git clone https://github.com/ComparativeGenomicsToolkit/hal.git /opt/hal |
| 37 | +#WORKDIR /opt/hal |
| 38 | +#ENV RANLIB=ranlib |
| 39 | +#RUN make |
| 40 | +#ENV PATH="${PATH}:/opt/hal/bin" |
| 41 | + |
| 42 | +# Clone AUGUSTUS repository |
| 43 | +ADD / /root/augustus |
| 44 | + |
| 45 | +# Build AUGUSTUS |
| 46 | +WORKDIR "/root/augustus" |
| 47 | +RUN make clean |
| 48 | +RUN make |
| 49 | +RUN make install |
| 50 | +ENV PATH="/root/augustus/bin:/root/augustus/scripts:${PATH}" |
| 51 | + |
| 52 | +# Test AUGUSTUS |
| 53 | +RUN make unit_test |
| 54 | + |
0 commit comments