Feature table filtering by sample and feature?

Hi!

I am trying to filter my output table from denoising (table.qza) and I want to filter out features that occur in fewer than 20 samples and filter out samples that have fewer than 10 features in them. Is it possible to do this in one command? I have used qiime feature-table filter-features and --p-min-frequency to filter out the rare features, and I see that I can use qiime feature-table filter-samples to filter out samples with few features but how do I combine those results?

Thanks!

Hello!
To perform both filtering steps, you need to run as you already found

And provide as output, for example, table-no-rare-features.qza.
Then use this table as an input for

And provide as output any another name or the same name to rewrite previous table.

1 Like

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