# where to get reference taxonomy for training custom classifier?

**URL:** <https://forum.qiime2.org/t/where-to-get-reference-taxonomy-for-training-custom-classifier/19102>\
**Category:** User Support\
**Tags:** feature-classifier\
**Created:** [April 5, 2021, 5:13pm UTC](https://forum.qiime2.org/t/where-to-get-reference-taxonomy-for-training-custom-classifier/19102 "2021-04-05T17:13:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![saeedmn](https://forum.qiime2.org/user_avatar/forum.qiime2.org/saeedmn/32/10736_2.png) [@saeedmn](https://forum.qiime2.org/u/saeedmn)\
**Post date:** [April 5, 2021, 5:13pm UTC](https://forum.qiime2.org/t/where-to-get-reference-taxonomy-for-training-custom-classifier/19102/1 "2021-04-05T17:13:46Z")

</div>

Dear colleagues, I'm using qiime2 to analyze my paired-end reads of rbcl gene to find out the floral composition of some samples. I need to make database for rbcl gene. I made my ref-seqs.qza using following commands:

qiime tools import --input-path rbcl\_upper.fasta --output-path rbcl.qza --type 'FeatureData[Sequence]'  
qiime feature-classifier extract-reads --i-sequences rbcl.qza --p-f-primer TGGCAGCATTYCGAGTAACTC --p-r-primer GTAAAATCAAGTCCACCRCG --p-trunc-len 400 --o-reads ref-seqs.qza

Now I need to make 'ref-taxonomy.qza' but I don't know how to generate "taxonomy.txt" file. Please help me to overcome this problem

Thanks in advance

---

<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:** [April 5, 2021, 7:35pm UTC](https://forum.qiime2.org/t/where-to-get-reference-taxonomy-for-training-custom-classifier/19102/2 "2021-04-05T19:35:37Z")

</div>

Hi @saeedmn,

This sounds like a job for [RESCRIPt](https://github.com/bokulich-lab/RESCRIPt)! Specifically, check out:

> [@Using RESCRIPt to compile sequence databases and taxonomy classifiers from NCBI Genbank](https://forum.qiime2.org/t/using-rescript-to-compile-sequence-databases-and-taxonomy-classifiers-from-ncbi-genbank/15947):
>
> This tutorial will describe how to create custom reference databases from NCBI Genbank using [RESCRIPt](https://github.com/bokulich-lab/RESCRIPt). Read more about RESCRIPt here: [Processing, filtering, and evaluating the SILVA database (and other reference sequence data) with RESCRIPt - #7](https://forum.qiime2.org/t/processing-filtering-and-evaluating-reference-sequence-data-with-rescript/15494/7) If using NCBI Genbank data, please be aware of the [NCBI disclaimer and copyright notice](https://www.ncbi.nlm.nih.gov/home/about/policies/). Citation: If you use RESCRIPt or any RESCRIPt-processed data in your research, please cite the following pre-print: Michael S Robeson II, Devon R O'Rourke, Benj…

-Cheers!

---

<div class="post-metadata">

**Author:** ![saeedmn](https://forum.qiime2.org/user_avatar/forum.qiime2.org/saeedmn/32/10736_2.png) [@saeedmn](https://forum.qiime2.org/u/saeedmn)\
**Post date:** [April 6, 2021, 4:37am UTC](https://forum.qiime2.org/t/where-to-get-reference-taxonomy-for-training-custom-classifier/19102/3 "2021-04-06T04:37:24Z")

</div>

Thank you for your reply. Sounds great!

---

<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 7, 2021, 10:38am UTC](https://forum.qiime2.org/t/where-to-get-reference-taxonomy-for-training-custom-classifier/19102/4 "2021-05-07T10:38:18Z")

</div>

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