# greengenes database

**URL:** <https://forum.qiime2.org/t/greengenes-database/11929>\
**Category:** User Support\
**Created:** [October 11, 2019, 2:26pm UTC](https://forum.qiime2.org/t/greengenes-database/11929 "2019-10-11T14:26:15Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![annsantos](https://forum.qiime2.org/user_avatar/forum.qiime2.org/annsantos/32/5598_2.png) [@annsantos](https://forum.qiime2.org/u/annsantos)\
**Post date:** [October 11, 2019, 2:26pm UTC](https://forum.qiime2.org/t/greengenes-database/11929/1 "2019-10-11T14:26:15Z")

</div>

Hi,

Can anyone please telll me the differences between these 2 classifiers?

 ![Sem%20T%C3%ADtulo](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/8/84c4f5917ac0e2dfcd253aefc116ada8cfa167f5.png)

---

<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:** [October 11, 2019, 2:29pm UTC](https://forum.qiime2.org/t/greengenes-database/11929/2 "2019-10-11T14:29:32Z")

</div>

Assigned @thermokarst on October 11, 2019, 2:29pm UTC



---

<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:** [October 11, 2019, 2:31pm UTC](https://forum.qiime2.org/t/greengenes-database/11929/3 "2019-10-11T14:31:10Z")

</div>

Hi @annsantos!

> [@annsantos](#):
>
> Can anyone please telll me the differences between these 2 classifiers?

You actually only have pointed to one classifier (the top arrow). The bottom arrow is pointing to the reference database, used to _train_ that feature classifier above. You can learn more about the reference database here: [https://aem.asm.org/content/72/7/5069](https://aem.asm.org/content/72/7/5069)

---

<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:** [October 11, 2019, 2:31pm UTC](https://forum.qiime2.org/t/greengenes-database/11929/4 "2019-10-11T14:31:11Z")

</div>

Unassigned @thermokarst on October 11, 2019, 2:31pm UTC



---

<div class="post-metadata">

**Author:** ![annsantos](https://forum.qiime2.org/user_avatar/forum.qiime2.org/annsantos/32/5598_2.png) [@annsantos](https://forum.qiime2.org/u/annsantos)\
**Post date:** [October 11, 2019, 2:36pm UTC](https://forum.qiime2.org/t/greengenes-database/11929/5 "2019-10-11T14:36:07Z")

</div>

which one should i use?

---

<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:** [October 11, 2019, 2:36pm UTC](https://forum.qiime2.org/t/greengenes-database/11929/6 "2019-10-11T14:36:38Z")

</div>

For what? You haven't told us what it is that you're doing.

---

<div class="post-metadata">

**Author:** ![annsantos](https://forum.qiime2.org/user_avatar/forum.qiime2.org/annsantos/32/5598_2.png) [@annsantos](https://forum.qiime2.org/u/annsantos)\
**Post date:** [October 11, 2019, 2:38pm UTC](https://forum.qiime2.org/t/greengenes-database/11929/7 "2019-10-11T14:38:54Z")

</div>

I want to do a taxonomic classification. I have samples from saliva and i want to know each taxonomic levels.

---

<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:** [October 11, 2019, 2:42pm UTC](https://forum.qiime2.org/t/greengenes-database/11929/8 "2019-10-11T14:42:17Z")

</div>

What type of sequences are these? 16S? The answer will impact your choice in reference database to use for taxonomic classification.

---

<div class="post-metadata">

**Author:** ![annsantos](https://forum.qiime2.org/user_avatar/forum.qiime2.org/annsantos/32/5598_2.png) [@annsantos](https://forum.qiime2.org/u/annsantos)\
**Post date:** [October 11, 2019, 3:46pm UTC](https://forum.qiime2.org/t/greengenes-database/11929/9 "2019-10-11T15:46:35Z")

</div>

yes 16 S region v3 v4

---

<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:** [October 11, 2019, 4:54pm UTC](https://forum.qiime2.org/t/greengenes-database/11929/10 "2019-10-11T16:54:52Z")

</div>

Hi @annsantos,  
Note the headings on the page in question: the first arrow points at the pre-trained naive Bayes classifiers that are ready to be used for classification with the command `qiime feature-classifier classify-sklearn`.

The second arrow is not pointing at classifiers of any sort, but rather the marker-gene reference databases that are used to train the classifiers above. These reference sequences can be imported then either used to train your own classifier with `qiime feature-classifier fit-classifier-naive-bayes`, or used directly for alignment/consensus taxonomy classification with `classify-consensus-vsearch`.

Since you have V34 16S data, you can either use the full-length pre-trained classifiers on your data, or train your own classifier focused on the V34 region (see the online tutorial for training your own classifier).

Good luck!

---

<div class="post-metadata">

**Author:** ![annsantos](https://forum.qiime2.org/user_avatar/forum.qiime2.org/annsantos/32/5598_2.png) [@annsantos](https://forum.qiime2.org/u/annsantos)\
**Post date:** [October 11, 2019, 5:35pm UTC](https://forum.qiime2.org/t/greengenes-database/11929/11 "2019-10-11T17:35:59Z")

</div>

I don't want to train mine. So I should use the first one that I pointed out?

---

<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:** [October 11, 2019, 5:52pm UTC](https://forum.qiime2.org/t/greengenes-database/11929/12 "2019-10-11T17:52:51Z")

</div>

correct, use one of the _pre-trained classifiers_

might I note: training your own classifier could be highly beneficial. I have used the [HOMD database](http://homd.org/) in the past for saliva bacterial classification with q2-feature-classifier; it is an oral microbiome-specific database and using it together with q2-feature-classifier will increase likelihood of species-level classification. Worth comparing vs. greengenes or silva.

If you're up for a challenge (that will increase species classification accuracy even more) you could also try training a classifier with oral microbiome-specific taxonomic weights, as described in this tutorial:

> [@Using q2-clawback to assemble taxonomic weights](https://forum.qiime2.org/t/using-q2-clawback-to-assemble-taxonomic-weights/5859):
>
> Note: This guide assumes you have installed QIIME 2 using one of the procedures in the [install documents](https://docs.qiime2.org/2019.1/install/). This tutorial extends the q2-feature-classifier [tutorial](https://docs.qiime2.org/2019.1/tutorials/feature-classifier/) to show how you can improve taxonomic classification accuracy by assembling [ecologically informed taxonomic weights](https://doi.org/10.1038/s41467-019-12669-6) for your samples using q2-clawback. This approach is described in this article: [https://doi.org/10.1038/s41467-019-12669-6](https://doi.org/10.1038/s41467-019-12669-6) We will retrain the naive Bayes classifier from the q2-feature-classifier to classify the ski…

You could follow that tutorial with either the HOMD or greengenes or SILVA sequences. See the "more exotic weights" section and swap out this line:

```auto
redbiom search metadata "cheese where cheese_type=='stilton'" > sample_ids

```

for this:

```auto
redbiom search metadata "where host_taxid==9606 and sample_type in ('Oral', 'oral', 'Mouth', 'mouth', 'Saliva', 'saliva')" > sample_ids

```

---

<div class="post-metadata">

**Author:** ![annsantos](https://forum.qiime2.org/user_avatar/forum.qiime2.org/annsantos/32/5598_2.png) [@annsantos](https://forum.qiime2.org/u/annsantos)\
**Post date:** [October 11, 2019, 6:00pm UTC](https://forum.qiime2.org/t/greengenes-database/11929/13 "2019-10-11T18:00:48Z")

</div>

Yes, you are right. I am going to try to do your two options.  
Starting with the first one, i would have to download the HOLD database and then? I find the tutorial q2-feature-classifier a little bit confused

---

<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:** [October 11, 2019, 6:19pm UTC](https://forum.qiime2.org/t/greengenes-database/11929/14 "2019-10-11T18:19:15Z")

</div>

Yes — you would follow [this tutorial](https://docs.qiime2.org/2019.7/tutorials/feature-classifier/) with the exception that you download and format the HOMD database, rather than download greengenes.

Note — the HOMD database may need to be formatted appropriately (see the greengenes files or the examples in that tutorial as an example of the appropriate formats). It looks like there are QIIME-formatted taxonomy files [here](http://homd.org/?name=seqDownload&file&type=R) but since these are released by HOMD I can't guarantee that they will work "as is"...

---

<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:** [November 12, 2019, 12:19am UTC](https://forum.qiime2.org/t/greengenes-database/11929/15 "2019-11-12T00:19:16Z")

</div>

Closed on November 12, 2019, 12:19am UTC

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