Hello, I am not sure why I am getting the error message below when trying to filter my feature table. I am running Qiime2-2017.8 ( I haven't upraded to the latest version) but the older version had the filtering plugin so it should work right? Would you please advise? Oh and just to be clear, I am trying to filter my feature table to only include samples from Expert.Day "6" and also only include Treatments "8.0" and "7.6".
Error: Detected invalid character in: βExper.Day=β6ββ, β-p-where, βTreatment=β8.0,, 7.6ββ, β-p-query-delimiter Verify the correct quotes or dashes (ASCII) are being used.
I think the issue is the type of - dash - being used.
Linux commands, including all qiime commands, use the - normal dash, but Microsoft Word like using the β em-dash β.
They look really similar, but you can see the difference in length:
β-p-where
That first dash is an em-dash!
Try running you command with only the smaller, normal dashes, and let us know if it works.
Thank you Matt. I tried using your --p command (but using Day 20 instead of Day 6):
qiime feature-table filter-samples
--i-table mesocosm.only-filtered-table.qza
--m-metadata-file samples-to-keep.txt
--p-where "Exper.Day=β20β AND Treatment IN ('8.0', '7.6')"
--o-filtered-table Exper.Day20-table.qza
I still got an error message: Error: Detected invalid character in: Exper.Day=β20β AND Treatment IN ('8.0', '7.6')
Verify the correct quotes or dashes (ASCII) are being used.
I went ahead and just modified my metadata table by hand (I deleted the samples and pH values that I didn't want) and went ahead with the ANCOM analysis. It worked... It took a little longer but that's okay.