# Add additional sequences to the annotation database

**URL:** <https://forum.qiime2.org/t/add-additional-sequences-to-the-annotation-database/24161>\
**Category:** User Support\
**Tags:** feature-classifier\
**Created:** [September 14, 2022, 1:09pm UTC](https://forum.qiime2.org/t/add-additional-sequences-to-the-annotation-database/24161 "2022-09-14T13:09:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Agatsuma](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/a/e95f7d/32.png) [@Agatsuma](https://forum.qiime2.org/u/Agatsuma)\
**Post date:** [September 14, 2022, 1:09pm UTC](https://forum.qiime2.org/t/add-additional-sequences-to-the-annotation-database/24161/1 "2022-09-14T13:09:14Z")

</div>

Hi everyone，  
I want to use qiime2 to annotate my amplicon sequence files, but silva-138-99-515-806-nb-classifier.qza does not contain all the sequences I want to know, I want to know how to pretrain Add extra sequences to your classifier, or how to train your own classifier when you only have dataframe sequence files.  
Thanks for your answer.

---

<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:** [September 14, 2022, 3:26pm UTC](https://forum.qiime2.org/t/add-additional-sequences-to-the-annotation-database/24161/2 "2022-09-14T15:26:35Z")

</div>

Hello @Agatsuma,

We now have a new plugin call RESCRIPt and a full tutorial about creating your own reference databases!

> [@Processing, filtering, and evaluating the SILVA database (and other reference sequence data) with RESCRIPt](https://forum.qiime2.org/t/processing-filtering-and-evaluating-the-silva-database-and-other-reference-sequence-data-with-rescript/15494):
>
> construction Please consider this tutorial a living document, which may change based upon community feedback and ongoing plugin development. RESCRIPt [RESCRIPt](https://github.com/bokulich-lab/RESCRIPt) (REference Sequence annotation and CuRatIon Pipeline) is a python package and QIIME 2 plugin for formatting, managing, and manipulating sequence reference databases. This package was designed for compiling, manipulating, and evaluating sequence reference databases from SILVA, NCBI, Greengenes, GTDB, and other sources, and for construc…

Let us know if that works for you. You may need a computer with a lot of memory depending on the size of the database.

---

<div class="post-metadata">

**Author:** ![Agatsuma](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/a/e95f7d/32.png) [@Agatsuma](https://forum.qiime2.org/u/Agatsuma)\
**Post date:** [September 16, 2022, 3:00am UTC](https://forum.qiime2.org/t/add-additional-sequences-to-the-annotation-database/24161/3 "2022-09-16T03:00:59Z")

</div>

Thanks for your reply.  
I have gone through this tutorial and I still don't know at which step or which file to insert my sequence and taxonomy information. Do I need to insert my sequence information in the following four files:

- tax\_slv\_ssu\_138.1.txt.gz
- taxmap\_slv\_ssu\_ref\_nr\_138.1.txt.gz
- tax\_slv\_ssu\_138.1.tre.gz  
the sequence file:
- SILVA\_138.1\_SSURef\_Nr99\_tax\_silva\_trunc.fasta.gz  
And what kind of information needs to be inserted in each file, if needed.  
🤔

---

<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:** [September 16, 2022, 3:14pm UTC](https://forum.qiime2.org/t/add-additional-sequences-to-the-annotation-database/24161/4 "2022-09-16T15:14:32Z")

</div>

This depends on the format of your input data, and if you can use an 'Easy Mode' like `qiime rescript get-silva-data`.

The full pipeline is described in [Getting SILVA data: _Hard Mode_](https://forum.qiime2.org/t/processing-filtering-and-evaluating-the-silva-database-and-other-reference-sequence-data-with-rescript/15494#getting-silva-data-hard-mode-4). You import the [three input files](https://forum.qiime2.org/t/processing-filtering-and-evaluating-the-silva-database-and-other-reference-sequence-data-with-rescript/15494#import-silva-files-into-qiime-2-6), then `reverse-transcribe` and `parse-silva-taxonomy`.

> [@Agatsuma](#):
>
> And what kind of information needs to be inserted in each file, if needed.

Each file imported has a `--type`, like `--type 'FeatureData[SILVATaxonomy]'`. Those types are listed [here](https://docs.qiime2.org/2022.8/semantic-types/). The [input test data](https://github.com/bokulich-lab/RESCRIPt/tree/master/rescript/tests/data) for the RESCRIPt plugin can be used as examples of that format.

At the risk of stating the obvious, this process is hard and technical. I try to avoid this by using [prebuilt classifiers](https://docs.qiime2.org/2022.8/data-resources/), or databases [already in the Qiime2 format](https://github.com/colinbrislawn/unite-train).

What database are you trying to import?

---

<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:** [October 17, 2022, 9:14pm UTC](https://forum.qiime2.org/t/add-additional-sequences-to-the-annotation-database/24161/5 "2022-10-17T21:14:54Z")

</div>

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