I tried to use the pre trained classifier’s but had a following error:
The scikit-learn version (0.20.2) 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.
so i tired to use this command for that
conda install --override-channels -c defaults scikit-learn=0.21.2
After that i tried to run the same command:
qiime feature-classifier classify-sklearn --i-classifier gg-13-8-99-nb-classifier.qza --i-reads rep_seqs.qza --o-classification taxonomy.qza
But i met same error. So i decided to train my own classifier. for that i need to give --p-f-primer and --p-r primer can you please guide me how can i decide that.
I will be used following command to train own classifier:
qiime feature-classifier extract-reads
Let me know if i have missed on anything here.