Docker image for HUMAnN
(*) Download database only on the first occasion. (The procedure may take about an hour.)
Step 1. Replace the database directory name
download_databases.sh scriptdir_db as the directory where the database will be downloaded.dir_db="/data/database/HUMAnN/201901b"
Step 2. Download database
download_database.sh script../download_databases.sh
Step 3. Download MetaPhlAn database
download_mpa_db.sh file: dir_db
dir_db as the directory where the MetaPhlAn database will be downloaded.
/data/database/MetaPhlAn/vOct22db_index for the database
vOct22 version (mpa_vOct22_CHOCOPhlAnSGB_202212); more recent version conflict with other HUMAnN databases../download_mpa_db.sh
HUMAnN.
HUMAnN database to /database directoryMetaPhlAn database to /database_mpa--metaphlan-options with metaphlan_index
--metaphlan-options "--bowtie2db /database_mpa --index <MetaPhlAn-index>"Example Codes
docker run --rm -v $PWD:/data \
-v $db_humann:/database \
-v $db_metaphlan:/database_mpa \
-e USER_ID=$(id -u) \
-e GROUP_ID=$(id -g) \
sphong/humann \
humann \
--input inputs/demo.fastq.gz \
--output results/demo_fastq \
--metaphlan-options "--bowtie2db /database_mpa --index $metaphlan_index" \
--threads 20
Refer to the scripts located in the examples directory
sphong/metaphlan
Content type
Image
Digest
sha256:921a1a753…
Size
3 GB
Last updated
over 2 years ago
docker pull sphong/humann