Hi Eric.
I ran into the same trouble as Valerio. When I renamed the gene family file with uniref90, it said there is none uniref90 command as follows:
humann2_rename_table: error: argument -n/--names: invalid choice: 'uniref90' (choose from 'infogo1000', 'metacyc-rxn', 'kegg-module', 'ec', 'go', 'metacyc-pwy', 'pfam', 'eggnog', 'uniref50', 'kegg-pathway', 'kegg-orthology')
So I wanted to fix this problem as you recommended, use this command to download the full mapping dataset:
$ humann2_databases --download utility_mapping full <destination directory>
and I succeed in downloading it and installing it, eventually the program has the choice of uniref90. So I was very excited to run my sample but unfortunately it can't get the rename annotation:
Treating Sample_TCM-10.nonmouse_genefamilies.tsv as stratified output, e.g. ['UniRef50_unknown', 'g__Bacteroides.s__Bacteroides_uniformis']
Loading mapping file from: /public/users/chentingting/lib/python2.7/site-packages/humann2/data/misc/utility_mapping/map_uniref90_name.txt.bz2
Renamed 0 of 64962 entries (0.00%)
I was wondering if there is something wrong with my sample so I tested the demo in humann2, but it failed again. I am confused with this kind of problem, could u help me check this kind of problem?
Loading table from: demo_genefamilies.tsv
Treating demo_genefamilies.tsv as stratified output, e.g. ['UniRef50_R5IH84', 'g__Bacteroides.s__Bacteroides_stercoris']
Loading mapping file from: /public/users/chentingting/lib/python2.7/site-packages/humann2/data/misc/utility_mapping/map_uniref90_name.txt.bz2
Renamed 0 of 1413 entries (0.00%)
and the output files shows as below:
# Gene Family demo_Abundance-RPKs
UNMAPPED 100.0000000000
UniRef50_R5IH84: NO_NAME 37.0370370370
UniRef50_R5IH84: NO_NAME|g__Bacteroides.s__Bacteroides_stercoris 37.0370370370
UniRef50_B0NQY6: NO_NAME 25.6410256410
UniRef50_B0NQY6: NO_NAME|g__Bacteroides.s__Bacteroides_stercoris 25.6410256410
UniRef50_F3PHD0: NO_NAME 25.6410256410
UniRef50_F3PHD0: NO_NAME|g__Bacteroides.s__Bacteroides_stercoris 25.6410256410
UniRef50_B0NP96: NO_NAME 23.
8095238095
UniRef50_B0NP96: NO_NAME|g__Bacteroides.s__Bacteroides_stercoris 23.
8095238095
UniRef50_B0NTS9: NO_NAME 21.
2765957447
UniRef50_B0NTS9: NO_NAME|g__Bacteroides.s__Bacteroides_stercoris 21.
2765957447
UniRef50_R6FNM5: NO_NAME 16.1290322581
UniRef50_R6FNM5: NO_NAME|g__Bacteroides.s__Bacteroides_thetaiotaomicron 16.1290322581
UniRef50_A6L108: NO_NAME 15.6250000000
UniRef50_A6L108: NO_NAME|g__Bacteroides.s__Bacteroides_stercoris 15.6250000000
Sincerely,
Rong