Hello,
I am trying to assign taxonomy to my 16S samples using QIIME 2 version 2022.2 (and the SILVA 138 database release), but I received the "Plugin error from feature-classifier: pop from empty list" error when I ran the qiime feature-classifier classify-sklearn command:
qiime feature-classifier classify-sklearn \
--i-classifier silva-138-ssu-nr99-515f-806r-classifier.qza \
--i-reads rep-seqs.qza \
--o-classification taxonomy.qza \
--p-read-orientation same
The error does not show up when I include the --p-confidence=disable option, but as per this post, I know it would be better to not use this option.
Numerous previous posts indicate this error means there is an issue with the classifier file. This post says an incomplete taxonomy will generate the error; however, I made my classifier file by following the RESCRIPt tutorial to create a consensus taxonomy, using the 'lca' option:
qiime rescript dereplicate \
--i-sequences silva-138-ssu-nr99-seqs-filt.qza \
--i-taxa silva-138-ssu-nr99-tax.qza \
--p-rank-handles 'silva' \
--p-mode 'lca' \
--o-dereplicated-sequences silva-138-ssu-nr99-seqs-derep-lca.qza \
--o-dereplicated-taxa silva-138-ssu-nr99-tax-derep-lca.qza
To my understanding, this command will fill empty lower-level taxonomy with empty place-holders. I confirmed that these place-holders were included in my file by visualizing my reference taxonomy file with this command:
qiime metadata tabulate \
--m-input-file silva-138-ssu-nr99-tax-515f-806r-derep-lca.qza \
--o-visualization silva-138-ssu-nr99-tax-515f-806r-derep-lca.qzv
Do you have any suggestions for what may be causing the error I am seeing? Perhaps there is still an issue with my classifier file, although I am not sure what that issue is. I would be happy to provide any necessary files for help with troubleshooting.
Thank you for your help; it is greatly appreciated!