# Annotation Challenges with COI Amplicon Analysis in QIIME2

**URL:** <https://forum.qiime2.org/t/annotation-challenges-with-coi-amplicon-analysis-in-qiime2/29546>\
**Category:** General Discussion\
**Tags:** taxonomy\
**Created:** [March 12, 2024, 10:06am UTC](https://forum.qiime2.org/t/annotation-challenges-with-coi-amplicon-analysis-in-qiime2/29546 "2024-03-12T10:06:20Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![SoilRotifer](https://forum.qiime2.org/user_avatar/forum.qiime2.org/soilrotifer/32/21071_2.png) [@SoilRotifer](https://forum.qiime2.org/u/SoilRotifer)\
**Post date:** [March 13, 2024, 6:26pm UTC](https://forum.qiime2.org/t/annotation-challenges-with-coi-amplicon-analysis-in-qiime2/29546/5 "2024-03-13T18:26:26Z")

</div>

Hi @mengpf0409,

These are great questions!

> [@mengpf0409](#):
>
> This time, the results showed annotations for 700 genera. However, when adjusting the `p-perc-identity` parameter to 0.9, the number of annotated genera decreased to 30.

> [@mengpf0409](#):
>
> With **`p-perc-identity`** set to 0.8, it annotated up to 900 genera, but setting **`p-perc-identity`** to 0.9 resulted in annotations for 35 genera.

> [@mengpf0409](#):
>
> What's the impact of adjusting the `p-perc-identity` value on the annotation results?

This issue can be partially explained as outlined [here](https://forum.qiime2.org/t/how-is-consensus-calculated-in-qiime-feature-classifier-classify-consensus-blast/24924/8), [here](https://forum.qiime2.org/t/taxonomical-asignment-questions-silva-pr2-and-vsearch-vs-blast/18675/4), [here](https://forum.qiime2.org/t/blast-consensus-question/24200/4) and [here](https://forum.qiime2.org/t/consensus-blast-taxonomy-strings/586/2). That is, the more strict your `--p-perc-identity 0.9` setting, the fewer reference sequences will match. This will result in a smaller pool (this is tied to the `--p-min-consensus` parameter) from which to calculate the lowest common ancestor (LCA) consensus taxonomy. Thus resulting in a consensus taxonomy that is more broad, or at at higher taxonomic rank.

When using `--p-perc-identity 0.8`, you are allowing the retention of more hits to the reference sequences, increasing the pool of taxonomic information that can contribute to the LCA consensus taxonomy, again tied to the `--p-min-consensus` parameter. Kind of a "majority-rule" approach.

Keep in mind, for some datasets & primer-pair choice, it is not unusual for short-read amplicon data to be unable to classify taxa to the genus level. In some cases the more specific classification is the result of incorrect over-classification. That is, returning a more specific identification than it should be able to.

Also, `feature-classifier classify-sklearn` works a differently than `feature-classifier classify-consensus-blast`. I'd highly recommend reading the following papers:

- [Bokulich _et al._ 2018](https://doi.org/10.1186/s40168-018-0470-z)
- [Zeimski _et al._ 2021](https://doi.org/10.3389/fmicb.2021.644487)

---

_[View the full topic](https://forum.qiime2.org/t/annotation-challenges-with-coi-amplicon-analysis-in-qiime2/29546)._
