filter feature table by length

Is it possible to filter a feature table to remove sequences with a length lower than a defined length

Hi @mamunnoz,

You can use RESCRIPt's filter-seqs-length-by-taxon, or filter-seqs-length. Then you can run the following command to filter the table to keep the sequences output from one of these commands (i.e. the sequences-to-keep.qza file):

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

-Mike

2 Likes

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