From 9149c134ad24473d535620b091b457b4d04c0530 Mon Sep 17 00:00:00 2001 From: Parsa <54489047+ParsaGhadermazi@users.noreply.github.com> Date: Tue, 1 Oct 2024 16:41:27 -0600 Subject: [PATCH 1/3] dockerfile This dockerfile is made to provide the environment required to run drep. --- dockerfile/dockerfile | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 dockerfile/dockerfile diff --git a/dockerfile/dockerfile b/dockerfile/dockerfile new file mode 100644 index 0000000..9cf6a16 --- /dev/null +++ b/dockerfile/dockerfile @@ -0,0 +1,41 @@ +FROM ubuntu:22.04 +RUN apt update && apt upgrade -y +RUN apt install -y wget +RUN wget https://repo.anaconda.com/archive/Anaconda3-2024.06-1-Linux-x86_64.sh +RUN bash Anaconda3-2024.06-1-Linux-x86_64.sh -b -p $HOME/anaconda3 +RUN ~/anaconda3/bin/conda init +RUN wget https://github.com/marbl/Mash/releases/download/v2.3/mash-Linux64-v2.3.tar +RUN tar -xvf mash-Linux64-v2.3.tar +RUN mv mash-Linux64-v2.3/mash /usr/local/bin +RUN rm -rf mash-Linux64-v2.3.tar mash-Linux64-v2.3 +RUN /root/anaconda3/bin/pip install drep +RUN apt-get install gcc -y +RUN apt-get install g++ -y +RUN apt-get install make -y +RUN apt install perl -y +RUN apt-get install csh -y +RUN wget https://sourceforge.net/projects/mummer/files/mummer/3.23/MUMmer3.23.tar.gz/download +RUN tar -xvf download +RUN cd MUMmer3.23 && make +ENV PATH="export PATH=$PATH:/MUMmer3.23/" +RUN apt install hmmer -y +RUN /root/anaconda3/bin/pip install checkm-genome +RUN /root/anaconda3/bin/conda install bioconda::prodigal +RUN /root/anaconda3/bin/conda install -c bioconda pplacer +RUN wget https://github.com/ParBLiSS/FastANI/releases/download/v1.34/fastANI-linux64-v1.34.zip +RUN apt install unzip -y +RUN unzip fastANI-linux64-v1.34.zip +RUN mv fastANI /usr/local/bin +RUN apt install -y git +RUN git clone https://github.com/abadona/qsimscan.git +RUN cd qsimscan && make +ENV PATH="export PATH=$PATH:/qsimscan/psimscan:/qsimscan/nsimscan" +RUN cd /root +RUN git clone https://github.com/DaehwanKimLab/centrifuge +RUN cd centrifuge && make +ENV PATH="export PATH=$PATH:/centrifuge/" +RUN mkdir skani_dir && cd skani_dir +RUN wget https://github.com/bluenote-1577/skani/releases/download/latest/skani +RUN chmod +x skani +RUN mv skani /usr/local/bin + From d7f5ce17f5e2d9060af071712418ef88da61e6f6 Mon Sep 17 00:00:00 2001 From: Parsa <54489047+ParsaGhadermazi@users.noreply.github.com> Date: Tue, 1 Oct 2024 17:12:21 -0600 Subject: [PATCH 2/3] Update dockerfile --- dockerfile/dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dockerfile/dockerfile b/dockerfile/dockerfile index 9cf6a16..874cde9 100644 --- a/dockerfile/dockerfile +++ b/dockerfile/dockerfile @@ -38,4 +38,8 @@ RUN mkdir skani_dir && cd skani_dir RUN wget https://github.com/bluenote-1577/skani/releases/download/latest/skani RUN chmod +x skani RUN mv skani /usr/local/bin - +RUN mkdir checkm_db && cd checkm_db +RUN wget https://zenodo.org/records/7401545/files/checkm_data_2015_01_16.tar.gz +RUN tar -xvf checkm_data_2015_01_16.tar.gz +RUN rm checkm_data_2015_01_16.tar.gz +ENV CHECKM_DATA_PATH="/checkm_db/" From 0d388e6140b533e688d8151d122086e6d042ebd3 Mon Sep 17 00:00:00 2001 From: Parsa <54489047+ParsaGhadermazi@users.noreply.github.com> Date: Wed, 2 Oct 2024 09:51:40 -0600 Subject: [PATCH 3/3] Update dockerfile --- dockerfile/dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dockerfile/dockerfile b/dockerfile/dockerfile index 874cde9..1e65c09 100644 --- a/dockerfile/dockerfile +++ b/dockerfile/dockerfile @@ -38,8 +38,9 @@ RUN mkdir skani_dir && cd skani_dir RUN wget https://github.com/bluenote-1577/skani/releases/download/latest/skani RUN chmod +x skani RUN mv skani /usr/local/bin -RUN mkdir checkm_db && cd checkm_db +RUN mkdir checkm_db && cd checkm_db RUN wget https://zenodo.org/records/7401545/files/checkm_data_2015_01_16.tar.gz -RUN tar -xvf checkm_data_2015_01_16.tar.gz -RUN rm checkm_data_2015_01_16.tar.gz +RUN mv checkm_data_2015_01_16.tar.gz /checkm_db +RUN cd /checkm_db && tar -xvf checkm_data_2015_01_16.tar.gz +RUN rm /checkm_db/checkm_data_2015_01_16.tar.gz ENV CHECKM_DATA_PATH="/checkm_db/"