Not able to do taxonomic analysis

Hello qiimers,

I am trying to do taxonomic analysis but getting error.

The code I am running is
qiime feature-classifier classify-sklearn --i-classifier gg-13-8-99-515-806-nb-classifier.qza --i-reads rep-seqs.qza --o-classification taxonomy.qza

The error is

Plugin error from feature-classifier:
The scikit-learn version (0.22.1) used to generate this artifact does not match the current version of scikit-learn installed (0.21.2). Please retrain your classifier for your current deployment to prevent data-corruption errors.
Debug info has been saved to /tmp/qiime2-q2cli-err-czqqw51j.log

I used the following command for getting the correct version of scikit-learn.
conda install --override-channels -c defaults scikit-learn=0.22.1

I downloaded the taxonomic classifier from here:
https://docs.qiime2.org/2020.2/data-resources/

I downloaded the following classifier:
Greengenes 13_8.99% OTUs from 515F/806R region of sequences

But still I am getting the same error.
Can someone please help.

Thank you!

Hi!
Which version of Qiime2 are you running now? You should or use the classifier that was trained in compatible version of Qiime2 with your current version, or you also can install a newest version of Qiime2 and it should work.
Also you can train a classifier in your current version by yourself.

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.