# Taxonomic assignment of feature IDs to reads

**URL:** https://forum.qiime2.org/t/taxonomic-assignment-of-feature-ids-to-reads/16178
**Category:** User Support
**Created:** [August 19, 2020, 2:24pm UTC](https://forum.qiime2.org/t/taxonomic-assignment-of-feature-ids-to-reads/16178 "2020-08-19T14:24:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Margreet](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/m/13edae/32.png) [@Margreet](https://forum.qiime2.org/u/Margreet)
#### Post date: [August 19, 2020, 2:24pm UTC](https://forum.qiime2.org/t/taxonomic-assignment-of-feature-ids-to-reads/16178/1 "2020-08-19T14:24:18Z")

</div>

Dear all,

I am really new to QIIME (2) and I was wondering if anyone is able to help me with the taxonomic assignation of my sequences.

I would like to have a taxonomic assigning of my feature ID's (OTU's) to the sequences. I was able to create a OTU-table and to get a fasta-file with all the feature ID's with corresponding sequences. The problem now is that it would take me forever to BLAST every single feature ID to NCBI, so I think it is actually possible to have this done by QIIME 2.

I am totally aware that a taxonomic classifier is probably needed, but I am really not sure how to get such a classifier for COI-sequences (for arthropods to be exact). I was actually able to download a COI training set which has been used in earlier studies, which I think I can use for my sequences right now. The training set regards a tar.gz file. I am just not sure how to proceed from here. Is it even possible to use this training set? How can I import this training set?

Again, I am very new to QIIME, so I am very sorry about being not that specific or being too vague. Please let me know If you have any questions.

Thanks in advance!

Margreet

---

<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: [August 19, 2020, 2:31pm UTC](https://forum.qiime2.org/t/taxonomic-assignment-of-feature-ids-to-reads/16178/2 "2020-08-19T14:31:59Z")

</div>

Welcome @Margreet! (to QIIME 2 and the forum) 🎉

QIIME 2 has a variety of plugins and methods for predicting taxonomic affiliations of sequences. q2-feature-classifier is the main plugin, with various methods to choose from... you can read the documentation at [docs.qiime2.org](http://docs.qiime2.org) for usage details (e.g., for training a naive Bayes classifier from a set of training sequences). In general if you are brand-new to QIIME 2 I recommend checking out the tutorials and other documentation there... it will be really useful for giving you an introduction to the different plugins available (as well as a description of what a "plugin" is if you are not yet aware).

> [@Margreet](#):
>
> I am totally aware that a taxonomic classifier is probably needed, but I am really not sure how to get such a classifier for COI-sequences (for arthropods to be exact).

You are in luck — @devonorourke recently put together the following tutorial AND a pre-trained COI classifier (scroll to the very bottom of the tutorial to get the classifier, the sequences and taxonomy used to train that classifier (e.g., in case you want to re-train it or use a non-sklearn classifier) or other intermediate files):

> [@Building a COI database from BOLD references](https://forum.qiime2.org/t/building-a-coi-database-from-bold-references/16129):
>
> construction stop_signconstruction stop_signconstruction stop_signconstruction stop_signconstruction stop_signCitations: If you use the following COI resources or RESCRIPt for COI database preparation, please cite the following: Michael S Robeson II, Devon R O’Rourke, Benjamin D Kaehler, Michal Ziemski, Matthew R Dillon, Jeffrey T Foster, Nicholas A Bokulich. RESCRIPt: Reproducible sequence taxonomy reference database management for the masses. bioRxiv 2020.10.05.326504;…

Good luck!

---

<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: [September 19, 2020, 8:32pm UTC](https://forum.qiime2.org/t/taxonomic-assignment-of-feature-ids-to-reads/16178/3 "2020-09-19T20:32:00Z")

</div>

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