Hello,
I am trying to assign taxonomy to my environmental 16S samples and also filter out chloroplasts and mitochondria, using QIIME2 version 2018.11. I haven't been able to find a post with a question like mine, but I think this is the closest: ValueError: Feature IDs found in the table are missing from the taxonomy
I have successfully made a classifier.qza file (using the SILVA 132 database) and removed the spaces from my taxonomy file.
When I try to run the following script to filter out chloroplasts and mitochondria:
qiime taxa filter-table --i-table table.qza --i-taxonomy taxonomy-without-spaces_LP.qza --p-exclude mitochondria,chloroplast --o-filtered-table no-mitochondria-no-chloroplast/table.qza
I get the following error:
Plugin error from taxa:
All features ids must be present in taxonomy, but the following feature ids are not: 2abacc568b628cc2dd55eac831adfae6, … (and it goes on to list many, many more IDs as well)
So I ran this script to remove the IDs in my samples that are not present in the taxonomy file:
qiime feature-table filter-features --i-table table.qza --m-metadata-file taxonomy-without-spaces_LP.qza --o-filtered-table id-filtered-table.qza
And I used the new id-filtered-table.qza to re-run the previous script:
qiime taxa filter-table --i-table id-filtered-table.qza --i-taxonomy taxonomy-without-spaces_LP.qza --p-exclude mitochondria,chloroplast --o-filtered-table no-mitochondria-no-chloroplast/table.qza
But I got this error:
Plugin error from taxa:
ids_to_keep
must contain at least one ID.
So it looks like none of my samples have IDs that are present in my taxonomy file. Do you know what I could be doing wrong, or have any suggestions on something to try?
Thank you for the help!