# Annotate predicted gene sequences

**URL:** <https://forum.biobakery.org/t/annotate-predicted-gene-sequences/2741>\
**Category:** HUMAnN\
**Created:** [October 31, 2021, 8:54pm UTC](https://forum.biobakery.org/t/annotate-predicted-gene-sequences/2741 "2021-10-31T20:54:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pnmns](https://avatars.discourse-cdn.com/v4/letter/p/7ba0ec/32.png) [@pnmns](https://forum.biobakery.org/u/pnmns)\
**Post date:** [October 31, 2021, 8:54pm UTC](https://forum.biobakery.org/t/annotate-predicted-gene-sequences/2741/1 "2021-10-31T20:54:49Z")

</div>

I have a set of predicted gene sequences in a fasta file and a table with the number of reads mapping to each sequence (or other abundance calculation). Is it possible to use part of humann3 to do the gene annotation and pathway inference? I mostly want to take advantage of the pathway inference and abundance estimation. Thanks!

---

<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:** [November 5, 2021, 6:23pm UTC](https://forum.biobakery.org/t/annotate-predicted-gene-sequences/2741/2 "2021-11-05T18:23:51Z")

</div>

If you annotate your custom genes against either the UniRef90 or UniRef50 database bundled with HUMAnN, then you’d be able to use those genes (and their abundances) to plug into downstream analyses in HUMAnN.

You would need to align the translations of your genes against the UniRef90/50 database using diamond in blastp mode, accepting an alignment as an annotation if it met the UniRef90/50 clustering criteria (80% coverage and 90/50% identity, respectively).

You would also need to convert your existing gene abundances to RPK units by dividing the read counts by the gene lengths in kilobases, since this is the format expected by HUMAnN if you’re starting from previously quantified genes.

Some of the information here might be of use to you:

> **[GitHub - biobakery/humann: HUMAnN 3.0 is the next generation of HUMAnN 1.0...](https://github.com/biobakery/humann#custom-protein-reference-database)**
>
> HUMAnN 3.0 is the next generation of HUMAnN 1.0 (HMP Unified Metabolic Analysis Network). - GitHub - biobakery/humann: HUMAnN 3.0 is the next generation of HUMAnN 1.0 (HMP Unified Metabolic Analysi...
