# Finding the right greengenes files for training a classifier

**URL:** <https://forum.qiime2.org/t/finding-the-right-greengenes-files-for-training-a-classifier/5224>\
**Category:** User Support\
**Tags:** feature-classifier, greengenes\
**Created:** [July 24, 2018, 8:23am UTC](https://forum.qiime2.org/t/finding-the-right-greengenes-files-for-training-a-classifier/5224 "2018-07-24T08:23:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![elaheahmadi](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/e/77aa72/32.png) [@elaheahmadi](https://forum.qiime2.org/u/elaheahmadi)\
**Post date:** [July 24, 2018, 8:23am UTC](https://forum.qiime2.org/t/finding-the-right-greengenes-files-for-training-a-classifier/5224/1 "2018-07-24T08:23:38Z")

</div>

Dear Mehrbod  
thank you for guide me I already read overview tutorial but With carelessness and I understand now. I have another question. I do Taxonomic analysis exactly matching with moving pictures tutorial but I use from --i-classifier Greengenes 13\_8 99% OTUs full-length sequences and i dont use from Training feature classifiers with q2-feature-classifier. Are not my results accurate?  
I wanted to use from trained taxonomic classifiers but i don't find 99\_otus.qza and 85\_otu\_taxonomy.txt in site for download just there is 85\_otus.fasta in Training feature classifiers with the q2-feature-classifier page. and also about p-trunc-len in this section explain for me.  
my primer is 27 f / 534 f from 16S gene.  
please guide me.

---

<div class="post-metadata">

**Author:** ![Mehrbod\_Estaki](https://forum.qiime2.org/user_avatar/forum.qiime2.org/mehrbod_estaki/32/4001_2.png) [@Mehrbod\_Estaki](https://forum.qiime2.org/u/Mehrbod_Estaki)\
**Post date:** [July 24, 2018, 7:44pm UTC](https://forum.qiime2.org/t/finding-the-right-greengenes-files-for-training-a-classifier/5224/2 "2018-07-24T19:44:23Z")

</div>

Hi @elaheahmadi,  
I've moved this post to a new topic as it was no longer related to the original thread topic. We ask that users keep their posts relevant to the original topic and new questions be posted as a new topic. Thanks for your understanding.

You'll want to train a classifier based on your specific primers instead of using the raw GG OTUs. This will significantly improve classifying your sequences, see this [paper](https://microbiomejournal.biomedcentral.com/articles/10.1186/s40168-018-0470-z) for more details.  
Have you had a chance to read over the [training classifier tutorial](https://docs.qiime2.org/2018.6/tutorials/feature-classifier/)? This covers everything you'll need to know on how to train your classifier. Please go over it carefully. The [data resource link](https://docs.qiime2.org/2018.6/data-resources/) provided there includes the complete greengene files, where for example if you download the 13\_8 (most recent version) will have the 99\_otus.fasta and 99\_otu\_taxonomy.txt in it. These are the 2 files you want to use, and not the 85 versions.  
Also note that there are pre-trained classifiers also available so if your primers match the ones in that page or in the community resource category you can just use those instead of training your own.

> [@elaheahmadi](#):
>
> and also about p-trunc-len in this section explain for me.  
> my primer is 27 f / 534 f from 16S gene.

Please see the explanation in the [tutorial](https://docs.qiime2.org/2018.6/tutorials/feature-classifier/#extract-reference-reads) and take care to also read the Note box regarding paired-end vs single end reads.

Good luck!

---

<div class="post-metadata">

**Author:** ![Mehrbod\_Estaki](https://forum.qiime2.org/user_avatar/forum.qiime2.org/mehrbod_estaki/32/4001_2.png) [@Mehrbod\_Estaki](https://forum.qiime2.org/u/Mehrbod_Estaki)\
**Post date:** [July 24, 2018, 7:45pm UTC](https://forum.qiime2.org/t/finding-the-right-greengenes-files-for-training-a-classifier/5224/5 "2018-07-24T19:45:40Z")

</div>



---

<div class="post-metadata">

**Author:** ![Mehrbod\_Estaki](https://forum.qiime2.org/user_avatar/forum.qiime2.org/mehrbod_estaki/32/4001_2.png) [@Mehrbod\_Estaki](https://forum.qiime2.org/u/Mehrbod_Estaki)\
**Post date:** [July 24, 2018, 7:45pm UTC](https://forum.qiime2.org/t/finding-the-right-greengenes-files-for-training-a-classifier/5224/6 "2018-07-24T19:45:54Z")

</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:** [August 25, 2018, 1:45am UTC](https://forum.qiime2.org/t/finding-the-right-greengenes-files-for-training-a-classifier/5224/7 "2018-08-25T01:45:56Z")

</div>

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