Skip to content

Commit

Permalink
Merge branch 'main' of github.com:bioinfodlsu/metagenomics-workshop
Browse files Browse the repository at this point in the history
  • Loading branch information
anishmss committed Jan 10, 2025
2 parents 9ef22a9 + a01ae61 commit 6a13336
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 17 deletions.
23 changes: 8 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,21 +72,14 @@ RUN conda install -y -c bioconda \
samtools && \
conda clean -a -y

# Install ResFinder database
RUN mkdir -p /resfinder_db && \
wget -O /resfinder_db/resfinder_db.zip https://bitbucket.org/genomicepidemiology/resfinder_db/get/master.zip && \
apt-get install -y unzip && \
unzip /resfinder_db/resfinder_db.zip -d /resfinder_db && \
rm /resfinder_db/resfinder_db.zip && \
mv /resfinder_db/*/* /resfinder_db && \
rm -rf /resfinder_db/*/


# Download MiniKraken2_8GB database
RUN cd /home/jovyan/kraken2-db && \
wget --no-check-certificate https://genome-idx.s3.amazonaws.com/kraken/minikraken2_v2_8GB_201904.tgz && \
tar -zxf minikraken2_v2_8GB_201904.tgz --strip-components=1 && \
rm -rf minikraken2_v2_8GB_201904.tgz
# Install MetaPhlAn 4 and Bowtie2 using Conda from the Bioconda channel
RUN conda install -c bioconda metaphlan=4.0.0

# Create a directory for the MetaPhlAn database
RUN mkdir -p /home/jovyan/metaphlan

# Create a directory for ResFinder database
RUN mkdir -p /home/jovyan//resfinder_db

# Install BLAST 2.15.0
RUN wget https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.15.0/ncbi-blast-2.15.0+-x64-linux.tar.gz && \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ This guide outlines the steps to **pull** a Docker image, mount necessary direct
Note: Make sure you are running Docker Desktop or started your docker engine before performing any of the commands below.
### Step 1: Pull the Docker Image
First, you need to pull the Docker image from the registry (e.g., Docker Hub). Use the following command to pull the `daphnejanelyn123/metagenomics-workshop` image:
First, you need to pull the Docker image from the registry (e.g., Docker Hub). Use the following command to pull the image:
docker pull ghcr.io/bioinfodlsu/metagenomics-workshop/deploy:latest
`docker pull ghcr.io/bioinfodlsu/metagenomics-workshop/deploy:latest`
This command fetches the image and prepares it for running in a container.
Expand Down

0 comments on commit 6a13336

Please sign in to comment.