# Classifier just class level

**URL:** <https://forum.qiime2.org/t/classifier-just-class-level/3656>\
**Category:** User Support\
**Tags:** feature-classifier\
**Created:** [April 4, 2018, 3:01pm UTC](https://forum.qiime2.org/t/classifier-just-class-level/3656 "2018-04-04T15:01:06Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![110147](https://forum.qiime2.org/user_avatar/forum.qiime2.org/110147/32/1505_2.png) [@110147](https://forum.qiime2.org/u/110147)\
**Post date:** [April 4, 2018, 3:01pm UTC](https://forum.qiime2.org/t/classifier-just-class-level/3656/1 "2018-04-04T15:01:06Z")

</div>

![Q29](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/9/930dd0e1caa0881c40b790bbeead04f6b8d06968.jpg) ![360%E6%88%AA%E5%9B%BE20180404131106439](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/e/e76c9b9ea7ef9de43134dd85439d9ba9eaa03ac4.jpg) ![dna](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/9/9cee9e015c38948a354dfa1e1e10aa584b19875d.jpg)  
I recently do classifier meet some problem , when I do taxonomy for my smple I usually get the result juse a class level ,like the picture ,I find the reads usually very long ,so I usually set the -trim-p is 0 and the -trun-p is 400 ,then I will get the long DNA, but I can't get the result about other levels ,I meet the suitation three times ,So I hope you can help me and tell me the reson , I need to solve the problem ,thank you very much .

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [April 4, 2018, 3:15pm UTC](https://forum.qiime2.org/t/classifier-just-class-level/3656/2 "2018-04-04T15:15:40Z")

</div>



---

<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:** [April 4, 2018, 3:39pm UTC](https://forum.qiime2.org/t/classifier-just-class-level/3656/3 "2018-04-04T15:39:55Z")

</div>

Hi @110147,  
Looks like you are only receiving kingdom-level classifications. This is almost always an indication of human error, specifically whether the correct reference database or classifier was used. Please answer the following questions:

1. What gene target/primers are you using?
2. What classification method are you using? Please post the exact commands.
3. I see that you are using greengenes. Did you use one of QIIME2's pretrained classifiers or are you training your own classifier?

Chances are either:

1. you are using a classifier trained with the wrong primers
2. greengenes is not appropriate for your data. Are these bacterial 16S rRNA gene reads?

If you are receiving non-kingdom classifications, see [this post](https://forum.qiime2.org/t/train-you-classifier-taxonomy/3412/2) for further troubleshooting.

I hope that helps!

---

<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:** [April 4, 2018, 3:40pm UTC](https://forum.qiime2.org/t/classifier-just-class-level/3656/4 "2018-04-04T15:40:30Z")

</div>



---

<div class="post-metadata">

**Author:** ![110147](https://forum.qiime2.org/user_avatar/forum.qiime2.org/110147/32/1505_2.png) [@110147](https://forum.qiime2.org/u/110147)\
**Post date:** [April 9, 2018, 2:23pm UTC](https://forum.qiime2.org/t/classifier-just-class-level/3656/5 "2018-04-09T14:23:56Z")

</div>

thank you reply my question , I also try many times and the last I get the same result which just have the kingdom level ,the data from the NCBI and I use the article data ,I use the V1-2 primers and I use the greenenes classifically ,and I use the qiime2 offer database ,I want to know the train database is depend on my primers .and then I want to know maybe I should build the different primers and usually u se database for my analyse. and I use the silva and the greenene database do the analyse ,but I don't know this is ture .so I should train the silva and greengene database ,and I should train in different orimers ? thank you very much.

---

<div class="post-metadata">

**Author:** ![110147](https://forum.qiime2.org/user_avatar/forum.qiime2.org/110147/32/1505_2.png) [@110147](https://forum.qiime2.org/u/110147)\
**Post date:** [April 9, 2018, 2:24pm UTC](https://forum.qiime2.org/t/classifier-just-class-level/3656/6 "2018-04-09T14:24:40Z")

</div>

thank you ,I want to know if I have other target/primers , I want to train my database and I want to know which "ref-seqs.qza " I can use ,in the wed [Data resources — QIIME 2 2018.2.0 documentation](https://docs.qiime2.org/2018.2/data-resources/) just have the full and the 515F/806R primers , I want to know I should use which to train my database ,and if I use the silva database ,I use the 99.otus.fastas and the majority\_taxonomy\_7\_levels.txt or consensus\_taxonomy\_7\_levels.txt ,I don't know which is true ,but the last I find the result isn't good ,

 ![image](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/d/db852fd7b4625b38129cb0d638254b87e5601f07.png),yes, the result just little is annotated ,and I use the greengene have many levels .so , I want to consult the team about the classifier which is the best annotation way . thank you .

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [April 9, 2018, 2:28pm UTC](https://forum.qiime2.org/t/classifier-just-class-level/3656/7 "2018-04-09T14:28:10Z")

</div>



---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [April 10, 2018, 3:37pm UTC](https://forum.qiime2.org/t/classifier-just-class-level/3656/8 "2018-04-10T15:37:28Z")

</div>

> [@Nicholas\_Bokulich](#):
>
> If you are receiving non-kingdom classifications, see this post for further troubleshooting.

Hi @110147, did you see this link that @Nicholas_Bokulich recommended you visit? I will print it here again for you:

> [@Train you classifier - taxonomy](https://forum.qiime2.org/t/train-you-classifier-taxonomy/3412/2):
>
> Hi @Jasmine84, See [this post](https://forum.qiime2.org/t/how-to-add-taxonomy-to-feature-table-qza-from-open-reference-otu-picking/3390/6). Depending on the length of your sequences, the primers you are using, etc, deeper than order level might be unreliable. On 250 bp 16S rRNA gene sequences, we can usually get genus level and some species with a good degree of reliability. The naive bayes classifier in QIIME2 is designed to be cautious and reliable, to avoid false-positive errors, but you can lower the confidence parameter to make it less cautious. If you have: only kingdom-level classification, …

As @Nicholas_Bokulich asked above, can you please post the exact commands you ran?

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [April 10, 2018, 3:37pm UTC](https://forum.qiime2.org/t/classifier-just-class-level/3656/9 "2018-04-10T15:37:30Z")

</div>



---

<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:** [May 11, 2018, 9:37pm UTC](https://forum.qiime2.org/t/classifier-just-class-level/3656/10 "2018-05-11T21:37:36Z")

</div>

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