OrganDiet is a Nextflow pipeline to infer a human diet based on shotgun metagenomics data.
Currently in development. For now, you can only run it on a Linux based machine
Assuming you already have all databases and the conda environment installed
conda activate organdiet
nextflow run maxibor/organdiet --reads '*_R{1,2}.fastq.gz' -with-report run_report.html -with-dag flowchart.png
wget https://github.com/maxibor/organdiet/archive/v0.2.2.zip
unzip v0.2.2.zip
cd organdiet-0.2.2
conda env create -f envs/organdiet.yml
source activate organdiet
- Install taxonomy database:
./bin/basta taxonomy -o ./taxonomy
From illumina iGenomes
mkdir hs_genome
cd hs_genome
wget ftp://igenome:[email protected]/Homo_sapiens/Ensembl/GRCh37/Homo_sapiens_Ensembl_GRCh37.tar.gz
tar -xvzf Homo_sapiens_Ensembl_GRCh37.tar.gz
cd ..
From NCBI Refseq organelles genomes
./bin/download_organellome_db.sh
bowtie2-build organellome_db/organellome.fa organellome_db/organellome
4.1.1 Set up nr
database for Diamond
mkdir nr_diamond_db
cd nr_diamond_db
wget ftp://ftp.ncbi.nlm.nih.gov/blast/db/FASTA/nr.gz
gunzip nr.gz
mv nr nr.fa
diamond makedb --in nr.fa -d nr
cd ..
-
Install prot database:
./bin/basta download prot -d ./taxonomy
mkdir nt_db
cd nt_db
wget http://som1.ific.uv.es/nt/nt.cf.7z
7z e nt.cf.7z
cd ..
-
Install krona database:
ktUpdateTaxonomy.sh ./taxonomy
nextflow run maxibor/organdiet --help
The OrganDiet pipeline uses many tools listed below:
The author of OrganDiet also got some inspiration and help from the following awesome developers: