Thanks a lot for your prompt reply. At last, I successfully trained classifier fun_classifier_21.qza (4.6 MB) in QIIME 2. 2021.2 but when I am testing with my representative sequences rep-seqs.qza (2.0 MB), it’s giving me the following error.
Command I used:
qiime feature-classifier classify-sklearn --i-classifier fun_classifier_21.qza --i-reads rep-seqs.qza --o-classification taxonomy.qza
Error:
File "/usr/miniconda3/envs/qiime2/lib/python3.6/site-packages/q2_feature_classifier/_skl.py", line 81, in _predict_chunk_with_conf
classes = [cls for cls in classes if cls[0].pop(0) == level]
File "/usr/miniconda3/envs/qiime2/lib/python3.6/site-packages/q2_feature_classifier/_skl.py", line 81, in
classes = [cls for cls in classes if cls[0].pop(0) == level]
IndexError: pop from empty list
Plugin error from feature-classifier:
pop from empty list
Potential Cause:
From the previous post I suspect it is a formatting issue of database, I really really appreciate your kind help on this matter.