How to filter Cyanobacteria/chloroplast

Oops, sorry, I left off a key part of that statement!

$ qiime feature-table filter-features \
  --i-table feature-table-filtered.qza \
  --m-metadata-file taxonomy.qza \
  --p-where "Taxon NOT LIKE '%Cyanobacteria%'" \
  --o-filtered-table feature-table-filtered-without-Cyanobacteria.qza

Note the missing NOT in the where statement! Sorry about that, it was a copy-and-paste error.
This has been corrected above in the original snippet.

1 Like