# Where can I find the taxonomy profile.tsv file in humann3 outputs

**URL:** <https://forum.biobakery.org/t/where-can-i-find-the-taxonomy-profile-tsv-file-in-humann3-outputs/5830>\
**Category:** HUMAnN\
**Created:** [August 28, 2023, 3:39pm UTC](https://forum.biobakery.org/t/where-can-i-find-the-taxonomy-profile-tsv-file-in-humann3-outputs/5830 "2023-08-28T15:39:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ray](https://avatars.discourse-cdn.com/v4/letter/r/e9a140/32.png) [@ray](https://forum.biobakery.org/u/ray)\
**Post date:** [August 28, 2023, 3:39pm UTC](https://forum.biobakery.org/t/where-can-i-find-the-taxonomy-profile-tsv-file-in-humann3-outputs/5830/1 "2023-08-28T15:39:12Z")

</div>

I recently got through the humann3 pipeline.I am doing the metatranscriptome analysis with paired metagenome data, so I’d like to use the taxonomy profile from metagenome data. However, I am confused about the taxonomy profile in the humann3 outputs. According to the manual,  
Basic usage

```auto
$ humann --input $SAMPLE --output $OUTPUT_DIR

```

`$SAMPLE` = a single file that is one of the following types:

1. filtered shotgun sequencing metagenome file (fastq, fastq.gz, fasta, or fasta.gz format)
2. alignment file (sam, bam or blastm8 format)
3. gene table file (tsv or biom format)

`$OUTPUT_DIR` = the output directory

**Five main output files will be created:**

1. `$OUTPUT_DIR/$SAMPLENAME_0.log`
2. `$OUTPUT_DIR/$SAMPLENAME_1_metaphlan_profile.tsv`
3. `$OUTPUT_DIR/$SAMPLENAME_2_genefamilies.tsv`
4. `$OUTPUT_DIR/$SAMPLENAME_3_reactions.tsv`
5. `$OUTPUT_DIR/$SAMPLENAME_4_pathabundance.tsv`

It showed that humann3 should produce 5 output files containing metaphlan\_profile.tsv, which I understand it’s the taxonomy profile file. But actually, I only got three output files, the same as the tutorial showed. I looked into the intermediate temp files, and only found a file named bug\_lists.tsv, but I am not sure whether it’s the taxonomy profile file.

I deleted the intermediate temp files when I ran the humann for metagenome analyses because of the limited disk space. In this case, should I rerun the Metaphlan to get the taxonomy profile (if bug\_list.tsv is)? Is there any suggestion to let the humann produce the taxonomy profile outside the intermediate temp files folder?

–Chao

---

<div class="post-metadata">

**Author:** ![franzosa](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/franzosa/32/3511_2.png) [@franzosa](https://forum.biobakery.org/u/franzosa)\
**Post date:** [September 5, 2023, 3:37pm UTC](https://forum.biobakery.org/t/where-can-i-find-the-taxonomy-profile-tsv-file-in-humann3-outputs/5830/2 "2023-09-05T15:37:54Z")

</div>

The 5 output files you note is a reorganization coming in HUMAnN 4. In HUMAnN 3.X the taxonomic profile is found under the sample’s temp folder. Can you clarify which version of HUMAnN you’re running / which docs you’re referring to?

---

<div class="post-metadata">

**Author:** ![lauren.j.mciver](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@lauren.j.mciver](https://forum.biobakery.org/u/lauren.j.mciver)\
**Post date:** [September 5, 2023, 4:07pm UTC](https://forum.biobakery.org/t/where-can-i-find-the-taxonomy-profile-tsv-file-in-humann3-outputs/5830/3 "2023-09-05T16:07:27Z")

</div>

Hi @ray , Thanks for the detailed post. Sorry for the confusion with respect to the file naming conventions in the user manual (readme.md in the github repository). We are preparing for HUMAnN v4 in which the file naming conventions and locations of some files will change. I have modified the readme so it is clearer which file names correspond to which versions of HUMAnN. Please post here if there is still any confusion.

Thanks!  
Lauren

---

<div class="post-metadata">

**Author:** ![ray](https://avatars.discourse-cdn.com/v4/letter/r/e9a140/32.png) [@ray](https://forum.biobakery.org/u/ray)\
**Post date:** [September 5, 2023, 4:28pm UTC](https://forum.biobakery.org/t/where-can-i-find-the-taxonomy-profile-tsv-file-in-humann3-outputs/5830/4 "2023-09-05T16:28:36Z")

</div>

Hi Lauren,

Thanks so much for updating the readme file. Can’t wait to see HUMAnN 4. I am currently using HUMAnN V3.8, I can only find a file named $SampleName\_metaphlan\_bugs\_list.tsv file in the temp folder. Is this the taxonomy profile file?

-Chao

---

<div class="post-metadata">

**Author:** ![ray](https://avatars.discourse-cdn.com/v4/letter/r/e9a140/32.png) [@ray](https://forum.biobakery.org/u/ray)\
**Post date:** [September 5, 2023, 4:31pm UTC](https://forum.biobakery.org/t/where-can-i-find-the-taxonomy-profile-tsv-file-in-humann3-outputs/5830/5 "2023-09-05T16:31:40Z")

</div>

Hi Eric,

Thanks for your reply. I am currently using HUMAnN V3.8, The file I mentioned is $SampleName\_metaphlan\_bugs\_list.tsv file under the temp folder.

-Chao

---

<div class="post-metadata">

**Author:** ![lauren.j.mciver](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@lauren.j.mciver](https://forum.biobakery.org/u/lauren.j.mciver)\
**Post date:** [September 5, 2023, 4:40pm UTC](https://forum.biobakery.org/t/where-can-i-find-the-taxonomy-profile-tsv-file-in-humann3-outputs/5830/6 "2023-09-05T16:40:37Z")

</div>

Yes, you are correct. Sorry again for any confusion!  
Lauren

---

<div class="post-metadata">

**Author:** ![gsidhu](https://avatars.discourse-cdn.com/v4/letter/g/97f17d/32.png) [@gsidhu](https://forum.biobakery.org/u/gsidhu)\
**Post date:** [September 7, 2023, 3:43pm UTC](https://forum.biobakery.org/t/where-can-i-find-the-taxonomy-profile-tsv-file-in-humann3-outputs/5830/7 "2023-09-07T15:43:35Z")

</div>

Hi @lauren.j.mciver  
I tried to merge $SampleName\_metaphlan\_bugs\_list.tsv files using fololwoing script  
humann\_join\_tables -i output/metaphlan -o metaphlan-merged.tsv --file\_name metaphlan.  
It resulted in error  
Traceback (most recent call last):  
File “/home/gssidhu/anaconda3/envs/biobakery3/bin/humann\_join\_tables”, line 10, in   
sys.exit(main())  
File “/home/gssidhu/anaconda3/envs/biobakery3/lib/python3.7/site-packages/humann/tools/join\_tables.py”, line 238, in main  
join\_gene\_tables(gene\_tables,args.output,verbose=args.verbose)  
File “/home/gssidhu/anaconda3/envs/biobakery3/lib/python3.7/site-packages/humann/tools/join\_tables.py”, line 98, in join\_gene\_tables  
sorted\_gene\_list=util.fsort(list(gene\_table\_data))  
File “/home/gssidhu/anaconda3/envs/biobakery3/lib/python3.7/site-packages/humann/tools/util.py”, line 403, in fsort  
features = sorted( features, key=lambda f: c\_topsort.get( fsplit( f )[0], default ) )  
File “/home/gssidhu/anaconda3/envs/biobakery3/lib/python3.7/site-packages/humann/tools/util.py”, line 403, in   
features = sorted( features, key=lambda f: c\_topsort.get( fsplit( f )[0], default ) )  
File “/home/gssidhu/anaconda3/envs/biobakery3/lib/python3.7/site-packages/humann/tools/util.py”, line 377, in fsplit  
sys.exit( “LETHAL ERROR: bad feature name: {}”.format( f ) )  
NameError: name ‘f’ is not defined

I would appreciate if you let me how to resolve this issue.  
Thanks  
Gurjit

---

<div class="post-metadata">

**Author:** ![lauren.j.mciver](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@lauren.j.mciver](https://forum.biobakery.org/u/lauren.j.mciver)\
**Post date:** [September 8, 2023, 5:38pm UTC](https://forum.biobakery.org/t/where-can-i-find-the-taxonomy-profile-tsv-file-in-humann3-outputs/5830/8 "2023-09-08T17:38:50Z")

</div>

Hi @gsidhu , Sorry for any confusion. The MetaPhlAn tables are of a different format than that expected by the HUMAnN join script. You can use the biobakery\_workflows utility script “join\_taxonomic\_profiles.py” or the MetaPhlAn merge utility script to merge the files.

Thanks,  
Lauren
