Hi there, I had the following issue after using uchime_ref in Python API:
· I have my OTU table: OTU_table.qza (OTU_table variable).
· I have my nonchimeric sequences returned by uchime_ref: nonchim_seqs.qza (nonchim_seqs variable).
I have succesfully filtered my OTU table using Linux commands:
qiime feature-table filter-features --i-table OTU_table.qza --m-metadata-file nonchim_seqs.qza …
The problem appears when I try to do this using Python API, when I try to use the nonchimeric sequences as metadata for the function:
from qiime2.plugins.feature_table.methods import filter_features
filter_features(OTU_table, metadata = nonchim_seqs)
This gives me the following error:
Parameter ‘metadata’ received an argument of type FeatureData[Sequence]. An argument of subtype Metadata is required.