# Erroneous taxonomy from Silva classifier

**URL:** <https://forum.qiime2.org/t/erroneous-taxonomy-from-silva-classifier/22401>\
**Category:** User Support\
**Tags:** feature-classifier, taxonomy\
**Created:** [March 7, 2022, 3:21pm UTC](https://forum.qiime2.org/t/erroneous-taxonomy-from-silva-classifier/22401 "2022-03-07T15:21:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcelpolling](https://forum.qiime2.org/user_avatar/forum.qiime2.org/marcelpolling/32/12180_2.png) [@marcelpolling](https://forum.qiime2.org/u/marcelpolling)\
**Post date:** [March 7, 2022, 3:21pm UTC](https://forum.qiime2.org/t/erroneous-taxonomy-from-silva-classifier/22401/1 "2022-03-07T15:21:36Z")

</div>

Hi QIIME team!

I have an issue with my classifier output, I searched around on the forum but could not find the answer (if it is here, sorry!). I have a marine 18S dataset that I am classifying using a subset of the silva-138-99-seqs.qza from QIIME data resources. The thing is that there is duplication in the taxonomic output, as seen below:

 ![image](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/1/1096f20fca4cf4abb67bbbb07abd5c67185f510f.jpeg)

So from the 'class' onwards it is somehow giving the same result (Trebouxiophyceae or Ulvophyceae in this example). I wonder what is going on here.. I cannot really do any diversity analysis on this result, especially on the lowest hit, Cladophora vagabunda, where the genus is still showing the class Ulvophyceae.

Below my (slightly simplified) steps to obtain the classifier and how I used it to get these results:

qiime feature-classifier extract-reads  
--i-sequences silva-138-99-seqs.qza  
--p-f-primer CCAGCASCYGCGGTAATTCC  
--p-r-primer ACTKTCGYTCWTGAYYRA  
--p-min-length 100  
--p-max-length 600  
--o-reads ref\_seqs\_18S\_V4TAReuk.qza

qiime feature-classifier fit-classifier-naive-bayes  
--i-reference-reads ref\_seqs\_18S\_V4TAReuk.qza  
--i-reference-taxonomy silva-138-99-tax.qza  
--o-classifier classifier\_18S\_V4TAReuk.qza

qiime feature-classifier classify-sklearn  
--i-classifier classifier\_18S\_V4TAReuk.qza  
--i-reads rep-seqs-dn97.qza  
--o-classification classified\_rep\_seqs.qza

Hope this gives a good idea of the issue and many thanks in advance for your time!

Best regards,

Marcel

---

<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 7, 2022, 5:38pm UTC](https://forum.qiime2.org/t/erroneous-taxonomy-from-silva-classifier/22401/4 "2022-03-07T17:38:33Z")

</div>

Hi @marcelpolling,

> [@marcelpolling](#):
>
> The thing is that there is duplication in the taxonomic output

This is expected, as each unique feature is retained despite having identical taxonomy by default through our [RESCRIPt plugin](https://doi.org/10.1371/journal.pcbi.1009581). As multiple sequence variants can derive from the same taxonomic group.

> [@marcelpolling](#):
>
> So from the 'class' onwards it is somehow giving the same result (Trebouxiophyceae or Ulvophyceae in this example). I wonder what is going on here.. I cannot really do any diversity analysis on this result, especially on the lowest hit, Cladophora vagabunda, where the genus is still showing the class Ulvophyceae.

When this taxonomic information is missing we propagate the taxonomic information, from the last observed upper-level taxonomic rank, downward. You can read more about why we do this within the [RESCRIPt tutorial](https://forum.qiime2.org/t/processing-filtering-and-evaluating-the-silva-database-and-other-reference-sequence-data-with-rescript/15494). Specifically, under the drop menu entitled **Rank-Propagation**. ➡

In a nutshell, not all reference sequences within a given reference database contains complete taxonomic information. See the entry [JX127171](https://www.arb-silva.de/browser/ssu-138.1/JX127171), for example. As you can see this entry only contains taxonomic information down to "Trebouxiophyceae". Thus, this label is propagated downward for all other ranks. Again, the paper and the tutorial linked above explain in far more detail why we do this. You can certainly disable rank-propagation if you'd like to make your own reference database with RESCRIPt. 🧐

Does this help?

-Mike

---

<div class="post-metadata">

**Author:** ![marcelpolling](https://forum.qiime2.org/user_avatar/forum.qiime2.org/marcelpolling/32/12180_2.png) [@marcelpolling](https://forum.qiime2.org/u/marcelpolling)\
**Post date:** [March 8, 2022, 8:11am UTC](https://forum.qiime2.org/t/erroneous-taxonomy-from-silva-classifier/22401/5 "2022-03-08T08:11:07Z")

</div>

Hi @SoilRotifer and many thanks for the quick reply 🙂

I've read the Rank-Propagation drop down menu, that was very useful. I'm still struggling a bit with this though, as I do see the added value of having the extra taxonomic information this technique provides, but not in having this propagated down to genus (where it will erroneously be used as an extra genus in e.g. alpha diversity).

Also, if I look at e.g. the lowermost hit in my screenshot (Cladophora vagabunda), all the 21 accessions in Silva have the correct taxonomy in place (Eukaryota, Archaeplastida, Chloroplastida, Chlorophyta, Ulvophyceae, Cladophorales, Cladophora, Cladophora\_vagabunda), still I get Ulvophyceae propagated from the Class onwards and even in the genus..?

Thanks again, cheers,

Marcel

---

<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 8, 2022, 5:13pm UTC](https://forum.qiime2.org/t/erroneous-taxonomy-from-silva-classifier/22401/6 "2022-03-08T17:13:39Z")

</div>

> [@marcelpolling](#):
>
> Also, if I look at e.g. the lowermost hit in my screenshot (Cladophora vagabunda), all the 21 accessions in Silva have the correct taxonomy in place (Eukaryota, Archaeplastida, Chloroplastida, Chlorophyta, Ulvophyceae, Cladophorales, Cladophora, Cladophora\_vagabunda), still I get Ulvophyceae propagated from the Class onwards and even in the genus..?

@marcelpolling, I assume you are using the SILVA `138` version of the reference database from the [Data resources](https://docs.qiime2.org/2022.2/data-resources/) page? If so, you may want to consider using RESCRIPt to generate your own database using the corrected `138.1` version (which is now the default download option for the `get-silva-data` command. The `138.1` version corrected many taxonomy issues like this one. _Apparently, we forgot to update to `138.1` when generating the reference files for the latest :qiime2: release. 🤦‍♂️_

The `138` taxonomy for `Cladophora_vagabunda`:  
 ![silva-138-Cladophora_vagabunda](https://forum.qiime2.org/images/transparent.png)

The `138.1` taxonomy for `Cladophora_vagabunda`:  
 ![silva-138.1-Cladophora_vagabunda](https://forum.qiime2.org/images/transparent.png)

This is a great example of why we made RESCRIPt, many sequence-taxonomy reference databases are continually being updated. Users can simply fetch the version they'd like and continue. 🙂

_Ignore the listed sequence counts. The `138` version was from the Data resources page went through some QA/QC sequence filtering, the `138.1` version is from the raw file I just downloaded w/o QA/QC sequence filtering_

---

<div class="post-metadata">

**Author:** ![marcelpolling](https://forum.qiime2.org/user_avatar/forum.qiime2.org/marcelpolling/32/12180_2.png) [@marcelpolling](https://forum.qiime2.org/u/marcelpolling)\
**Post date:** [March 8, 2022, 6:57pm UTC](https://forum.qiime2.org/t/erroneous-taxonomy-from-silva-classifier/22401/7 "2022-03-08T18:57:04Z")

</div>

I missed that 138.1 corrected version, so this solves it! Thanks so much!

---

<div class="post-metadata">

**Author:** ![system](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/2/1/21af5fe23cb6f4579467c66a9ed94e55274ca7bd.svg) [@system](https://forum.qiime2.org/u/system)\
**Post date:** [April 9, 2022, 12:57am UTC](https://forum.qiime2.org/t/erroneous-taxonomy-from-silva-classifier/22401/8 "2022-04-09T00:57:27Z")

</div>

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
