# taxonomy file tailoring with reference file

**URL:** <https://forum.mothur.org/t/taxonomy-file-tailoring-with-reference-file/1699>\
**Category:** Feature requests\
**Created:** [February 18, 2014, 3:14am UTC](https://forum.mothur.org/t/taxonomy-file-tailoring-with-reference-file/1699 "2014-02-18T03:14:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eliztr](https://avatars.discourse-cdn.com/v4/letter/e/dfb087/32.png) [@eliztr](https://forum.mothur.org/u/eliztr)\
**Post date:** [February 18, 2014, 3:14am UTC](https://forum.mothur.org/t/taxonomy-file-tailoring-with-reference-file/1699/1 "2014-02-18T03:14:14Z")

</div>

Is it (or could it be) possible to tailor a taxonomy file as well as a fasta file to remove sequences using a list of accnos?

Workflow being … export sequences and their taxonomy from ARB, bring into mothur, realize you want to remove sequences from the fasta file after checking things out more in mothur (maybe found some chimeras), but then taxonomy file will also need accnos removed and as far as I know this has to be done outside of mothur/by hand?

Thanks!  
Elizabeth

---

<div class="post-metadata">

**Author:** ![pschloss](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/pschloss/32/4_2.png) [@pschloss](https://forum.mothur.org/u/pschloss)\
**Post date:** [February 18, 2014, 7:54pm UTC](https://forum.mothur.org/t/taxonomy-file-tailoring-with-reference-file/1699/2 "2014-02-18T19:54:26Z")

</div>

Perhaps you’re looking for the remove.lineage command?

---

<div class="post-metadata">

**Author:** ![eliztr](https://avatars.discourse-cdn.com/v4/letter/e/dfb087/32.png) [@eliztr](https://forum.mothur.org/u/eliztr)\
**Post date:** [February 18, 2014, 9:09pm UTC](https://forum.mothur.org/t/taxonomy-file-tailoring-with-reference-file/1699/3 "2014-02-18T21:09:49Z")

</div>

Can that be used without the taxon element? The fields I would like to remove from the taxonomy file would be ID’d by accession number not its classification.

Thanks,  
Elizabeth

---

<div class="post-metadata">

**Author:** ![pschloss](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/pschloss/32/4_2.png) [@pschloss](https://forum.mothur.org/u/pschloss)\
**Post date:** [February 19, 2014, 5:59pm UTC](https://forum.mothur.org/t/taxonomy-file-tailoring-with-reference-file/1699/4 "2014-02-19T17:59:55Z")

</div>

Perhaps remove.seqs?

[http://www.mothur.org/wiki/Remove.seqs#taxonomy\_option](http://www.mothur.org/wiki/Remove.seqs#taxonomy_option)

I guess I’m not totally clear on what you’re trying to do…  
Pat
