# make\_taxa\_barplot prune taxa

**URL:** https://forum.qiime2.org/t/make-taxa-barplot-prune-taxa/30926
**Category:** Other Bioinformatics Tools
**Created:** [July 24, 2024, 4:17am UTC](https://forum.qiime2.org/t/make-taxa-barplot-prune-taxa/30926 "2024-07-24T04:17:52Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)
#### Post date: [July 29, 2024, 6:19pm UTC](https://forum.qiime2.org/t/make-taxa-barplot-prune-taxa/30926/8 "2024-07-29T18:19:21Z")

</div>

Hi @bailey,

Welcome to the :qiime2: forum!

> [@bailey](#):
>
> Is it possible to prune the taxonomy to the genus level BUT also to the next taxonomic level (i.e. Family, Order) if Genus is not listed?

Taking some @SoilRotifer advice here 🙂

You could use RESCRIPt's [edit-taxonomy action](https://forum.qiime2.org/t/processing-filtering-and-evaluating-the-silva-database-and-other-reference-sequence-data-with-rescript/15494#heading--sixteenth-header) to edit the taxonomy to what you'd like to use, and generate what you need for plotting. You can use regular expressions too. You may need to run this a couple of times depending on what you want.

Hope this helps! Cheers 🦎

---

_[View the full topic](https://forum.qiime2.org/t/make-taxa-barplot-prune-taxa/30926)._
