How to filter a taxonomy table (FeatureData[Taxonomy]) with a metadata file contained id of features

I have an ancom.tsv which contains the ids of differentially abundant features .Could I easiliy get a taxonomy table (FeatureTable[Taxonomy]) which only contain the feature include ancom.tsv? Which action should I use?:laughing:

Hi there!
Did you try something like this? First create a features-to-keep.tsv file which contains only features IDs you want to keep with proper name of the column (Feature ID)

qiime feature-table filter-features \
  --i-table table.qza \
  --m-metadata-file features-to-keep.tsv \
  --o-filtered-table filtered-table.qza

thx u!
actually I want to filter a FeatureTable【taxonomy】,not FeatureTable【Frequency】

Hello there, @sixvable!

There is no such semantic type in QIIME 2. Do you mean FeatureData[Taxonomy]?

Yes,a FeatureData【taxonomy】,my mistake

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