ways to remove unwanted taxa?

Hi buddies!

i made taxonomic assignment to my samples and got the visualizer:

and i want to remove the unwanted taxa; i know i can use qiime taxa-filter table or qiime taxa-filter seqs with --p-exclude []

but i want to remove those who are in the lowest %. Does that way exists? (i mean, i want to filter by % instead of filter by taxonomic level)

Hello!
I think, there is no direct solution in Qiime2 to perform the task you described in your post.
But here are some workarounds you could try to apply:

  1. Filter your ASV table to remove low abundant ASVs based on the relative abundances. Here is a link to the plugin. Not exactly what you asked for but I think it can work.
  2. Collapse your table to certain taxonomy rank and filter it using the plugin above. It will do the trick but you will end up with collapsed table and I believe it is not what you asked for.
  3. Download a csv file from taxabarplot visualization at desired taxonomy rank (you can find a link in upper left part of the visualization screen). It will give you a table with absolute counts of taxa, so you will need to manipulate it to obtain percent values (divide each value of taxa abundances in certain sample by the total count of all taxa in that given sample and multiply it by 100), find an average of each taxa accross all your samples and filter it to retain only taxa with abundances less than 1% and use that list to filter taxa from your table.
    Note that in that way taxa, that are represented in certain group of samples in higher than 1% ratio can still be filtered out if it is underrepresented in other groups of samples.

thanks I'll try and i hope this could help me :slightly_smiling_face:
i appreciate your time

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