From 44675a1d9f37c214e8733a585aaf042791088d78 Mon Sep 17 00:00:00 2001 From: Amandine PERRIN <amandine.perrin@pasteur.fr> Date: Thu, 1 Jun 2017 14:34:59 +0200 Subject: [PATCH] Update installation of mmseqs --- for_tests/Dockerfile | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/for_tests/Dockerfile b/for_tests/Dockerfile index 8af60a26..04fe4e0f 100644 --- a/for_tests/Dockerfile +++ b/for_tests/Dockerfile @@ -18,7 +18,7 @@ WORKDIR /tmp RUN wget https://github.com/tseemann/barrnap/archive/0.8.tar.gz &&\ tar -xf 0.8.tar.gz &&\ rm 0.8.tar.gz -RUN ln -s /tmp/barrnap-0.8/bin/barrnap /usr/local/bin +RUN mv /tmp/barrnap-0.8/bin/barrnap /usr/local/bin # Remove heavy useless files RUN rm -r /tmp/barrnap-0.8/examples /tmp/barrnap-0.8/build/*.aln @@ -33,14 +33,16 @@ RUN apt-get install -y\ bioperl RUN git clone https://github.com/tseemann/prokka.git RUN /tmp/prokka/bin/prokka --setupdb -RUN ln -s /tmp/prokka/bin/prokka /usr/local/bin +RUN mv /tmp/prokka/bin/prokka /usr/local/bin +RUN rm -r /tmp/prokka + # Install mmseqs2 WORKDIR /tmp -RUN git clone https://github.com/soedinglab/MMseqs2.git -WORKDIR /tmp/MMseqs2 -RUN mkdir build -WORKDIR /tmp/MMseqs2/build -RUN cmake -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=. .. -RUN make && make install -RUN ln -s /tmp/MMseqs2/build/bin/mmseqs /usr/local/bin +RUN wget https://mmseqs.com/latest/mmseqs-static_sse41.tar.gz &&\ + tar xf mmseqs-static_sse41.tar.gz &&\ + rm mmseqs-static_sse41.tar.gz +RUN mv /tmp/mmseqs2/bin/mmseqs /usr/local/bin +# remove useless files +RUN rm -r /tmp/mmseqs2 + -- GitLab