i have difficulty to filter a table using --p-where option in feature-table filter-samples , in order to do diversity indice analysis with only samples that have a verified condition and no "NA"
the samples in the table have the same name with the ones in the metadata file
i added a column "filter" with "Y" and "N" to try to filter the samples i want to remove
Hello and welcome to the forum!
The issue is that you are providing impossible conditions - "AND" in that case should be used for different columns.
If you want several levels from the same columns, use formula like this (from filtering tutorial):
Hello!
Just noticed that your metadata file contains errors - there should be no "_" in the sample ID. So you will need to rename your samples first and check if it will fix the issue.
It is recommended to copy your table to google sheets, modify it as needed and check with keemei plugin.
thank you for the advices , i changed the "_" into "-" and validated the table with keemei on google sheets and its seems all correct. but the command still output empty filtered table