# Taxonomy file has lines not in sequences file

**URL:** https://forum.qiime2.org/t/taxonomy-file-has-lines-not-in-sequences-file/24512
**Category:** User Support
**Created:** [October 21, 2022, 5:24pm UTC](https://forum.qiime2.org/t/taxonomy-file-has-lines-not-in-sequences-file/24512 "2022-10-21T17:24:04Z")
**Posts on this page:** 1
**Showing post:** 2

<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 23, 2022, 4:12am UTC](https://forum.qiime2.org/t/taxonomy-file-has-lines-not-in-sequences-file/24512/2 "2022-10-23T04:12:08Z")

</div>

Hi @John ,

> [@John](#):
>
> Is it OK that the taxonomy file contains entries that are not in the corresponding sequences file?

Yes this is not a problem (and is quite typical, actually, after filtering out sequences for one reason or another). The extra lines in the taxonomy will just be ignored by most actions.

If you ever run into a situation where the taxonomy and sequences must match exactly (there are a few rare actions that require this), you can use RESCRIPt to filter your taxonomy as shown in this tutorial (see the `filter-taxa` action):

> [@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#creating-a-classifier-from-refseqs-data-4):
>
> 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…

---

_[View the full topic](https://forum.qiime2.org/t/taxonomy-file-has-lines-not-in-sequences-file/24512)._
