I am also stuck on this step. I followed the recommended installation
conda create --name biobakery3 python=3.7
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda config --add channels biobakery
conda install humann -c biobakery```
I then downloaded all the databases:
humann_databases --download chocophlan full /scratch4/jsuez1/week12/chocophlan --update-config yes
humann_databases --download uniref uniref90_diamond/scratch4/jsuez1/week12/diamond --update-config yes
humann_databases --download utility_mapping full /scratch4/jsuez1/week12/diamond --update-config yes
Then when I try to run either a sample of mine or the demo.fastq.gz, i get this error:
Running metaphlan ........
CRITICAL ERROR: Error executing: /home/hhallow1/.conda/envs/biobakery3/bin/metaphlan /scratch4/jsuez1/week12_virome/sample_results/demo_humann_temp/tmpm6r5uqir/tmpe2u0gnbk -t rel_ab -o /scratch4/jsuez1/week12_virome/sample_results/demo_humann_temp/demo_metaphlan_bugs_list.tsv --input_type fastq --bowtie2out /scratch4/jsuez1/week12_virome/sample_results/demo_humann_temp/demo_metaphlan_bowtie2.txt
Error message returned from metaphlan :
No MetaPhlAn BowTie2 database found (--index option)!
Expecting location bowtie2db
Exiting...
Ive tried re-installing the databases, resinstalling humann completely, nothing is working. After some digging, it seems that when i download the database using
humann_databases --download chocophlan full /scratch4/jsuez1/week12/chocophlan --update-config yes
The file becomes unzipped. I tried manually combining all files into one .fna by doing this
cat chocophlan/* > mpa_v30_CHOCOPhlAn_201901.fna
then using bowtie-build to build my index
bowtie2-build mpa_v30_CHOCOPhlAn_201901.fna mpa_v30_CHOCOPhlAn_201901
I got about 1000 warnings from bowtie that each reference was empty, i.e contains all Ns rather than ATCG, before i killed the job
So my question is, why is the database unzipping when i download it? what is the correct why to cat these files together to be indexed?
I am running Metaphlan 4.0.2 and Humann 3.6
*I should note that i was able to run Humann before with no problem but lost my install because we started using a new cluster.
Thanks!