Split_otu_table_by_taxonomy.py equivalent in Qiime 2


I was just wondering if there was an equivalent to split_otu_table_by_taxonomy.py in Qiime2?

I’d like to split my 16S table into Bacteria, Archaea and Unknown which was possible using this script.

The closest I can see is:

qiime taxa filter-table --p-include Bacteria

and then do this for each kingdom I’m interested in. Is this the best way?

Many thanks

Please read the following before posting!

Is this post a General Discussion topic? Have you reviewed the QIIME 2 Forum Glossary? Post to this category if you have a general question about microbiome science, bioinformatics, or other general questions, ideas, or topics to discuss. Please do not post questions here that have to do with technical support requests. Posts in this category are not guaranteed a response.

1 Like

Hi @SarahH,

That would definitely be the best approach in my opinion!