Skip to content

Instantly share code, notes, and snippets.

@ozcan
Last active April 20, 2017 17:47
Show Gist options
  • Save ozcan/8d5df6b7dac9f43c7eb714e174249381 to your computer and use it in GitHub Desktop.
Save ozcan/8d5df6b7dac9f43c7eb714e174249381 to your computer and use it in GitHub Desktop.
FROM ubuntu:xenial
ENV ANVIO_VERSION 2.3.0
ENV DEBIAN_FRONTEND noninteractive
RUN locale-gen en_US.UTF-8 && echo "export LC_ALL=\"en_US.UTF-8\"" >> /root/.bashrc
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
gsl-bin \
hmmer \
libgsl-dbg \
libgsl-dev \
libgsl2 \
python3 \
python3-pip \
python3-dev \
python3-numpy \
python3-scipy \
sqlite3 \
wget \
bsdmainutils \
libblas-dev \
liblapack-dev \
libatlas-base-dev \
gfortran \
zlib1g-dev \
libhdf5-serial-dev \
libhdf5-dev \
mcl \
ncbi-blast+ \
muscle \
&& mkdir -p /tmp/build \
&& wget https://github.com/bbuchfink/diamond/releases/download/v0.8.38/diamond-linux64.tar.gz -O /tmp/build/diamond-linux64.tar.gz \
&& tar -zxvf /tmp/build/diamond-linux64.tar.gz -C /tmp/build/ \
&& cp /tmp/build/diamond /usr/bin/ \
&& wget https://github.com/hyattpd/Prodigal/archive/v2.6.3.tar.gz -O /tmp/build/v2.6.3.tar.gz \
&& tar -zxvf //tmp/build/v2.6.3.tar.gz -C /tmp/build/ \
&& make -C /tmp/build/Prodigal-2.6.3/ \
&& cp /tmp/build/Prodigal-2.6.3/prodigal /usr/bin/ \
&& pip3 install --upgrade pip \
&& pip3 install setuptools==35.0.1 \
&& pip3 install \
cython==0.25.2 \
bottle==0.12.9 \
pysam==0.9.1.4 \
ete3==3.0.0b35 \
scikit-learn==0.17.1 \
django==1.9.7 \
h5py==2.6.0 \
cherrypy==8.9.1 \
requests==2.10.0 \
psutil==5.0.1 \
mistune==0.7.4 \
&& pip3 install --no-deps anvio==$ANVIO_VERSION \
&& apt-get remove -y \
binutils \
build-essential \
g++ \
g++-4.8 \
gcc \
gcc-4.8 \
make \
patch \
&& apt-get -y autoremove \
&& apt-get -y autoclean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/.cache/*
RUN echo "export PS1=\"\[\e[0m\e[47m\e[1;30m\] :: anvi'o :: \[\e[0m\e[0m \[\e[1;34m\]\]\w\[\e[m\] \[\e[1;32m\]>>>\[\e[m\] \[\e[0m\]\"" >> /root/.bashrc
CMD /bin/bash -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment