I recently started using Humann2 and I seem to be having some issues downloading the full program with all dependencies (even with the pip install).
As such, this command
$ humann2 --input $SAMPLE --output $OUTPUT_DIR
returns the error:
ERROR: You are using the demo ChocoPhlAn database with a non-demo input file. If you have not already done so, please run humann2_databases to download the full ChocoPhlAn database. If you have downloaded the full database, use the option --nucleotide-database to provide the location. You can also run humann2_config to update the default database location. For additional information, please see the HUMAnN2 User Manual.
After several other similar errors, I was able to run the following command successfully, just linking to each db:
humann2 --input ./file.fastq.gz --nucleotide-database /location/chocophlan/ --protein /location/uniref/ --metaphlan /location/metaphlan2/ --output /output/
However my final output was not three files, but only one "file_genefamilies.tsv"
not pathcoverage or pathabundance.
I think this is likely because the program is not detecting MinPath and Metacyc, however I noticed on the forum that these files are not available to download. I'm not sure how to locate these files from the initial pip install. This could be an issue with my machine, but is there any way to get these files for me to link locally on my computer?
Thank you,
Andrew
Thank you for the prompt reply Lauren!
I downloaded the databases earlier in the week but just did so again to be sure. It's still not working properly. Am I entering the -n correctly?
$ humann2_rename_table -i merged_families.level4ec-cpm.tsv -o
merged_families.level4ec-cpm-names.tsv -n uniref90_level4ec
I'm still getting this back
usage: humann2_rename_table [-h] [-i INPUT]
[-n {infogo1000,metacyc-rxn,uniref90,kegg-module,ec,go,metacyc-pwy,pfam,eggnog,uniref50,kegg-pathway,kegg-orthology}]
[-c CUSTOM] [-s] [-o OUTPUT]
humann2_rename_table: error: argument -n/--names: invalid choice: 'uniref90_level4ec' (choose from 'infogo1000', 'metacyc-rxn', 'uniref90', 'kegg-module', 'ec', 'go', 'metacyc-pwy', 'pfam', 'eggnog', 'uniref50', 'kegg-pathway', 'kegg-orthology')
Thank you,
Andrew
Andrew