# Now I am in the taxonomy assignment step. Do you have any tips or link to tutorials in which classify-consensus-vsearch is used?

**URL:** <https://forum.qiime2.org/t/now-i-am-in-the-taxonomy-assignment-step-do-you-have-any-tips-or-link-to-tutorials-in-which-classify-consensus-vsearch-is-used/21075>\
**Category:** User Support\
**Created:** [October 14, 2021, 9:07am UTC](https://forum.qiime2.org/t/now-i-am-in-the-taxonomy-assignment-step-do-you-have-any-tips-or-link-to-tutorials-in-which-classify-consensus-vsearch-is-used/21075 "2021-10-14T09:07:14Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexcussigh0](https://forum.qiime2.org/user_avatar/forum.qiime2.org/alexcussigh0/32/12041_2.png) [@alexcussigh0](https://forum.qiime2.org/u/alexcussigh0)\
**Post date:** [October 14, 2021, 9:07am UTC](https://forum.qiime2.org/t/now-i-am-in-the-taxonomy-assignment-step-do-you-have-any-tips-or-link-to-tutorials-in-which-classify-consensus-vsearch-is-used/21075/1 "2021-10-14T09:07:14Z")

</div>

Thank you for the reply!  
Finally I managed to demultiplex my sequences with cutadapt and then I've imported them and denoised with dada2!

Now I am in the taxonomy assignment step. Do you have any tips or link to tutorials in which _classify-consensus-vsearch_ is used?

I don't know in which format and how to import the reference database and the taxonomy labels.

Thanks for the tips!

---

<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:** [October 15, 2021, 9:47pm UTC](https://forum.qiime2.org/t/now-i-am-in-the-taxonomy-assignment-step-do-you-have-any-tips-or-link-to-tutorials-in-which-classify-consensus-vsearch-is-used/21075/2 "2021-10-15T21:47:56Z")

</div>

Hello!

Check out the [documentation for classify-consensus-vsearch](https://docs.qiime2.org/2021.8/plugins/available/feature-classifier/classify-consensus-vsearch/). It's not a full tutorial, but you can follow the other tutorials and use this plugin instead when you get to the `feature-classifier` step.

> [@alexcussigh0](#):
>
> I don't know in which format and how to import the reference database and the taxonomy labels.

You could take a look at this [test data on GitHub](https://github.com/qiime2/q2-feature-classifier/tree/master/q2_feature_classifier/tests/data), or the [RESCRIPt tutorial](https://forum.qiime2.org/t/processing-filtering-and-evaluating-the-silva-database-and-other-reference-sequence-data-with-rescript/15494) which discusses the database formats in great detail.

Let us know if you have any questions,

---

<div class="post-metadata">

**Author:** ![alexcussigh0](https://forum.qiime2.org/user_avatar/forum.qiime2.org/alexcussigh0/32/12041_2.png) [@alexcussigh0](https://forum.qiime2.org/u/alexcussigh0)\
**Post date:** [October 18, 2021, 1:36pm UTC](https://forum.qiime2.org/t/now-i-am-in-the-taxonomy-assignment-step-do-you-have-any-tips-or-link-to-tutorials-in-which-classify-consensus-vsearch-is-used/21075/3 "2021-10-18T13:36:27Z")

</div>

I was wondering if there is a way to retrieve the FeatureData[Taxonomy] artifact from a multifasta with accension number and taxid without downloading all the sequences again using rescript.  
My multifasta/database looks like this:

> (\>)KT715809 count=34; merged\_taxid={1732171: 3, 143503: 2, 106584: 3, 57301: 3, 323800: 3, 163617: 3, 163619: 3, 136868: 3, 323764: 3, 316406: 3, 137271: 5}; species\_name=###; family=8113; family\_name=Cichlidae; scientific\_name=Haplochromini; reverse\_match=CATAGTGGGGTATCTAATCCCAGTTTG; taxid=319058; rank=tribe; forward\_error=1; forward\_tm=55.08; genus\_name=###; forward\_match=GCCGGTAAAACTCGTGCCAGC; reverse\_tm=58.71; genus=-1; reverse\_error=0; species=-1; strand=D; Fossorochromis rostratus mitochondrion, complete genome  
> caccgcggttatacgagaggctcaagttgatagacatcggcgtaaagggtggttaggaaa  
> tttttaaactaaagccgaacgccctcagaactgttatacgtacccgagagcaagaagccc  
> cactacgaaagtggctttatacccccgaccccacgaaagctgcgaaa  
> (\>)AB250108 count=4; merged\_taxid={143612: 4}; species\_name=Biwia zezera; family=2743714; family\_name=Gobionidae; scientific\_name=Biwia zezera; reverse\_match=CATAGTGGGGTATCTAATCCCAGTTTG; taxid=143612; rank=species; forward\_error=1; forward\_tm=55.08; genus\_name=Biwia; forward\_match=GCCGGTAAAACTCGTGCCAGC; reverse\_tm=58.71; genus=143611; reverse\_error=0; species=143612; strand=D; Biwia zezera mitochondrial DNA, complete genome, country: Japan:Shiga, Moriyama, Lake Biwa  
> caccgcggttaaacgagaggccctagttgatactactacggcgtaaagggtggtttaggg  
> aggaaaataataaagccaaatggccctttggccgtcatacgcttctaggtgtccgaagcc  
> caacccaacgaaagtagctttagtaagacccacctgaccccacgaaagctgagaaa

Thank you for the help!

---

<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:** [October 18, 2021, 1:55pm UTC](https://forum.qiime2.org/t/now-i-am-in-the-taxonomy-assignment-step-do-you-have-any-tips-or-link-to-tutorials-in-which-classify-consensus-vsearch-is-used/21075/4 "2021-10-18T13:55:11Z")

</div>

Thanks for showing an example of the data you have.

Can you help me understand the format you want your data to be in? Do you just want two columns like this?

```plaintext
(>)KT715809 taxid=319058;

```

---

<div class="post-metadata">

**Author:** ![alexcussigh0](https://forum.qiime2.org/user_avatar/forum.qiime2.org/alexcussigh0/32/12041_2.png) [@alexcussigh0](https://forum.qiime2.org/u/alexcussigh0)\
**Post date:** [October 18, 2021, 4:09pm UTC](https://forum.qiime2.org/t/now-i-am-in-the-taxonomy-assignment-step-do-you-have-any-tips-or-link-to-tutorials-in-which-classify-consensus-vsearch-is-used/21075/5 "2021-10-18T16:09:12Z")

</div>

I want to write the taxonomy file for the taxonomic assignation in the format  
AccesionNumber Order;Family;Genus;Species

Starting from a multifasta in which I have the AN and the taxid in the header sa I posted above.  
I will use this multifasta also ad my reference database.

---

<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:** [October 18, 2021, 5:01pm UTC](https://forum.qiime2.org/t/now-i-am-in-the-taxonomy-assignment-step-do-you-have-any-tips-or-link-to-tutorials-in-which-classify-consensus-vsearch-is-used/21075/6 "2021-10-18T17:01:10Z")

</div>

I think I can help you make a list of just your Accession Numbers (AN) from that fast file, but we will have to use a different taxonomy database, say from NCBI, to get Order;Family;Genus;Species.

Do you have a database source already downloaded, or are you asking for help finding one?

---

<div class="post-metadata">

**Author:** ![alexcussigh0](https://forum.qiime2.org/user_avatar/forum.qiime2.org/alexcussigh0/32/12041_2.png) [@alexcussigh0](https://forum.qiime2.org/u/alexcussigh0)\
**Post date:** [October 19, 2021, 8:32am UTC](https://forum.qiime2.org/t/now-i-am-in-the-taxonomy-assignment-step-do-you-have-any-tips-or-link-to-tutorials-in-which-classify-consensus-vsearch-is-used/21075/7 "2021-10-19T08:32:52Z")

</div>

I have already created a database with 12s from vertebrates. I have downloaded all the VRT seq from embl and than performed a ecoPCR with my metabarcoding primer. So I have this multifasta containing all unique 12s sequences annotated as above.

I need to create the taxonomy file starting from this fasta file in which all headers start with the AN and there is also the taxid reported as taxid=XXXXX.

---

<div class="post-metadata">

**Author:** ![SoilRotifer](https://forum.qiime2.org/user_avatar/forum.qiime2.org/soilrotifer/32/21071_2.png) [@SoilRotifer](https://forum.qiime2.org/u/SoilRotifer)\
**Post date:** [October 19, 2021, 3:41pm UTC](https://forum.qiime2.org/t/now-i-am-in-the-taxonomy-assignment-step-do-you-have-any-tips-or-link-to-tutorials-in-which-classify-consensus-vsearch-is-used/21075/8 "2021-10-19T15:41:24Z")

</div>

Hi @alexcussigh0,

Check out our RESCRIPt [12S db tutorial](https://github.com/bokulich-lab/db-benchmarks-2020/blob/master/notebooks/Make-12S-rRNA-gene-db.ipynb). It's just a simple example of what you can do, but it should help you get started...

Although it means re-downloading everything again, and potentially in [batches by taxonomic group](https://forum.qiime2.org/t/make-12s-reference-database-using-rescript/18110/4). But everything will be formatted properly.

_The notebook specifically looks for records of 12S reads, but you can perform a separate search that downloads only genome records and then use `feature-classifier extract-reads` to extract the ampicon region from those genomes. Then you can merge with the other batches of data_.

Anyway, I just wanted to provide another option that you can try running in parallel.

-Mike

---

<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 19, 2021, 9:41pm UTC](https://forum.qiime2.org/t/now-i-am-in-the-taxonomy-assignment-step-do-you-have-any-tips-or-link-to-tutorials-in-which-classify-consensus-vsearch-is-used/21075/9 "2021-11-19T21:41:55Z")

</div>

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