Plugin error from feature-classifier: pop from empty list (but the taxonomy is not incomplete)

Hi @ncep112 ,
Thanks for reporting your issue here.

This can be caused by even a single missing taxonomy. Could you please share the output of tabulate?

See also this topic — if you selected more than the standard 7 ranks then dereplicate lca mode will not work:

If you can find the taxonomy that is missing a rank (or even the entire annotation), you can use the replace-taxonomy action in RESCRIPt to edit the taxonomy.

As you are using the classify-sklearn classifier, I would recommend dereplicating with uniq mode, as the Naive Bayes classifier is essentially finding the LCA anyway.

Are you aware of the pre-trained classifiers available on the QIIME 2 data resources page?

There are pre-trained SILVA classifiers available there, trimmed to the 515f-806r region; but I am guessing that you want some customization (e.g., non-standard ranks), just want to make sure.

1 Like