# Taxonomic classification error

**URL:** <https://forum.qiime2.org/t/taxonomic-classification-error/9875>\
**Category:** Technical Support\
**Created:** [May 21, 2019, 2:20pm UTC](https://forum.qiime2.org/t/taxonomic-classification-error/9875 "2019-05-21T14:20:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asha1](https://forum.qiime2.org/user_avatar/forum.qiime2.org/asha1/32/10000_2.png) [@Asha1](https://forum.qiime2.org/u/Asha1)\
**Post date:** [May 21, 2019, 2:20pm UTC](https://forum.qiime2.org/t/taxonomic-classification-error/9875/1 "2019-05-21T14:20:08Z")

</div>

Hello, All,

I have one query regarding taxonomic classification, I couldn't get species level classification for many OTU.

If I do blast against NCBI database means, I can able to see my expected fungus name. Identity was 99, 97 like that in Blast result. I tried many unite reference database like sh\_refs\_qiime\_ver8\_97\_02.02.2019.fasta, sh\_refs\_qiime\_ver8\_99\_02.02.2019.fasta and sh\_refs\_qiime\_ver8\_dynamic\_s\_02.02.2019.fasta. But nothing worked out.

After surfing google, I came across the RDP pipeline for taxonomic classification. This one gave species level classification, but the result was not good enough. Another major problem is none of the unite reference database has the reference sequence for organism like Pythium species. If they don't have a reference sequence for desired organism means, Could I make my own reference database of desired organism ?.

My last doubt is what can I do to get species level classification in qiime. Here I am attaching the snapshot of my result for your perusal, kindly have a look.

 ![featureid](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/9/9e363cc7641cfe6c6e7c653ad5005f5eccb3b878.jpeg)  
Could anyone give suggestion about how to rectify this problem?

---

<div class="post-metadata">

**Author:** ![colinbrislawn](https://forum.qiime2.org/user_avatar/forum.qiime2.org/colinbrislawn/32/6221_2.png) [@colinbrislawn](https://forum.qiime2.org/u/colinbrislawn)\
**Post date:** [May 21, 2019, 5:24pm UTC](https://forum.qiime2.org/t/taxonomic-classification-error/9875/2 "2019-05-21T17:24:52Z")

</div>

Hello Asha1

Welcome to the Qiime 2 forums! :qiime2:

You ask a really good question:

> [@Asha1](#):
>
> what can I do to get species level classification in qiime.

Unfortunately, getting species level classification for _every_ amplicon is not possible.

One of the issues we face is that some species will have very different 18S genes, so you can totally classify them to the species level, while other species will have the exact same DNA in the region of the 18S gene you sequenced, so they all look the same based only on this amplicon. In this second case, getting a species level assignment would be impossible using the 18S gene alone.

If two different species have the exact same 18S gene, changing the database won't help you either. 🤷‍♂️

I'm sorry if that's disappointing. Does that help answer your question?

Colin

---

<div class="post-metadata">

**Author:** ![Nicholas\_Bokulich](https://forum.qiime2.org/user_avatar/forum.qiime2.org/nicholas_bokulich/32/19937_2.png) [@Nicholas\_Bokulich](https://forum.qiime2.org/u/Nicholas_Bokulich)\
**Post date:** [May 21, 2019, 7:08pm UTC](https://forum.qiime2.org/t/taxonomic-classification-error/9875/3 "2019-05-21T19:08:28Z")

</div>

Hi @Asha1,  
I just want to build on @colinbrislawn's excellent advice.

> [@colinbrislawn](#):
>
> If two different species have the exact same 18S gene, changing the database won’t help you either.

It looks like you are using ITS — which is more variable than 18S, but the idea still holds: _you may not actually be able to differentiate species based on a short marker gene read if those species are too similar in that region_.

That is the short answer for why QIIME 2 feature-classifier (and other taxonomy classifiers) often report incomplete taxonomic assignments: the sequence cannot be confidently classified to a deeper level (e.g., species).

This stands in stark contrast to what NCBI BLAST is doing:

> [@Asha1](#):
>
> If I do blast against NCBI database means, I can able to see my expected fungus name. Identity was 99, 97 like that in Blast result.

Of course. Unlike feature-classifier, NCBI BLAST is not using any kind of confidence measure to determine whether other related species may be equally good (or nearly as good) hits. It just reports the hits, and their similarity values.

You may want to try adjusting the confidence parameter, or other parameters when training/classifying; see [this article](https://microbiomejournal.biomedcentral.com/articles/10.1186/s40168-018-0470-z) for guidelines on setting parameters for ITS sequence classification.

You may also want to try a different classifier; the blast- and vsearch-based classifiers may present a more familiar interface, with which you can choose how many hits to keep, minimum percent identity thresholds, minimum coverage, etc. See the article above for more details; this will use blast or vsearch for database searching, but then QIIME 2 performs a native LCA classification to find the consensus taxonomy among your top hits. In other words, this is a similar process to your NCBI BLAST search but QIIME 2 does the hard work of figuring out whether your top hit is the right hit, or whether the species cannot be truly distinguished from among several top hits.

> [@Asha1](#):
>
> Another major problem is none of the unite reference database has the reference sequence for organism like Pythium species.

That is a problem! (if you want to classify pythium species) and one reason why NCBI BLAST may be doing better.

Any classifier can only perform as well as the reference data you give it... if you are missing an important species, that's a problem.

> [@Asha1](#):
>
> Could I make my own reference database of desired organism ?.

absolutely. You could make a custom database and use it stand-alone, or add it to the unite database. Use the UNITE database as your guide for formatting your database.

See also this discussion; you may want to reach out to that forum user to see if he created a useful database, and/or team up to find a solution:

> [@Qiime2-compatible ITS database for Phytophthora studies.](https://forum.qiime2.org/t/qiime2-compatible-its-database-for-phytophthora-studies/9441):
>
> Hi everybody! I am doing qiime2 analysis on Phytophthora samples but it seems that there is no ITS database for Phytophthora sequences. I checked UNITE database but it is just for Fungal ITS. Also in the SILVA database, the sequences are for 18S and 28S markers and there is no ITS database here. I got a full list of ITS sequences for Phytophthora (as attached) but it should be qiime-compatible while it is not. Any comment and help will be highly appreciated! Best Wishes[database.txt](https://cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/flex002/uploads/qiime21/original/2X/9/9615a1998e2ed7daf699d546d8a5be272cdb01db.txt) (222.3 KB…

Good luck!
