exclude d__Bacteria in taxa bar plot

I want remove "d__Bacteria" in texa bar plot.
However I can not remove it.
Now I can remove Unassigned only.

I wright my command below.
qiime taxa filter-table
--i-table table.qza
--i-taxonomy taxonomy.qza
--p-exclude “Unassigned, d__Bacteria;”
--p-mode exact
--o-filtered-table remove.qza

qiime taxa barplot
--i-table remove.qza
--i-taxonomy taxonomy.qza
--m-metadata-file metadata.tsv
--o-visualization remove.qzv


This commnad is not working.

Hello and welcome to the forum!
Hope, you don't mind that I removed duplicated topics.
Regarding your issue, could you try:

qiime taxa filter-table
  --i-table table.qza
  --i-taxonomy taxonomy.qza
  --p-include “p__”
  --o-filtered-table filtered.qza

By providing --p-include “p__” plugin will remove any sequence that was not assigned to the phylum level, so unassigned and assigned only to "Bacteria" features will be removed

5 Likes

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