| 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 |
RUN apt-get install -y zlib1g-dev |
| 10 |
|
| 11 |
# Install hal |
| 12 |
RUN apt-get install -y libhdf5-dev |
| 13 |
# or alternatively install hdf5 from source: |
| 14 |
#WORKDIR /root |
| 15 |
#RUN wget http://www.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.1/src/hdf5-1.10.1.tar.gz |
| 16 |
#RUN tar xzf hdf5-1.10.1.tar.gz |
| 17 |
#WORKDIR /root/hdf5-1.10.1 |
| 18 |
#RUN ./configure --enable-cxx |
| 19 |
#RUN make && make install |
| 20 |
#ENV PATH="${PATH}:/root/hdf5-1.10.1/hdf5/bin" |
| 21 |
RUN git clone https://github.com/benedictpaten/sonLib.git /opt/sonLib |
| 22 |
WORKDIR /opt/sonLib |
| 23 |
RUN make |
| 24 |
RUN git clone https://github.com/ComparativeGenomicsToolkit/hal.git /opt/hal |
| 25 |
WORKDIR /opt/hal |
| 26 |
ENV RANLIB=ranlib |
| 27 |
RUN make |
| 28 |
ENV PATH="${PATH}:/opt/hal/bin" |
| 29 |
|
| 30 |
# Install dependencies for homGeneMapping |
| 31 |
RUN apt-get update |
| 32 |
RUN apt-get install -y libgsl-dev liblpsolve55-dev |
| 33 |
RUN apt-get install -y libsqlite3-dev libmysql++-dev |
| 34 |
RUN apt-get install -y libboost-all-dev |
| 35 |
|
| 36 |
# Clone AUGUSTUS repository |
| 37 |
WORKDIR /root |
| 38 |
RUN git clone https://github.com/Gaius-Augustus/Augustus.git |
| 39 |
WORKDIR /root/Augustus |
| 40 |
|
| 41 |
# Build load2sqlitedb |
| 42 |
WORKDIR /root/Augustus/src/ |
| 43 |
RUN mkdir -p /root/Augustus/bin |
| 44 |
RUN make load2sqlitedb |
| 45 |
ENV PATH="${PATH}:/root/Augustus/bin" |
| 46 |
|
| 47 |
# Build homGeneMapping |
| 48 |
WORKDIR /root/Augustus/auxprogs/homGeneMapping/ |
| 49 |
RUN make |
| 50 |
|
| 51 |
# Test homGeneMapping |
| 52 |
RUN make test |