Hi Everyone,
I am having a problem with training the feature-classifier for a specific database (phytoref). My issue is very similar to the one posted by another user [Plugin error from feature-classifier: not enough values to unpack] but unfortunately that issue never got resolved.
Here is my command:
qiime feature-classifier fit-classifier-naive-bayes --i-reference-reads phytoref_16S_ref-seqs.qza --i-reference-taxonomy phytoref_taxonomy.qza --o-classifier phytoref_409nt_classifier.qza
And I get the following output message:
Plugin error from feature-classifier:
not enough values to unpack (expected 2, got 0)
Debug info has been saved to /var/tmp/pbs.566300.hpcnode1/qiime2-q2cli-err-09wthw34.log
Looking into the log file reveals the following:
more /var/tmp/pbs.566300.hpcnode1/qiime2-q2cli-err-09wthw34.log
/shared/c3/apps/miniconda2/envs/qiime2-2018.2/lib/python3.5/site-packages/q2_feature_classifier/classifier.py:101: UserWarning: The Taxonomic
Classifier artifact that results from this method was trained using scikit-learn version 0.19.1. It cannot be used with other versions of sci
kit-learn. (While the classifier may complete successfully, the results will be unreliable.)
warnings.warn(warning, UserWarning)
Traceback (most recent call last):
File "/shared/c3/apps/miniconda2/envs/qiime2-2018.2/lib/python3.5/site-packages/q2cli/commands.py", line 246, in call
results = action(**arguments)
File "", line 2, in fit_classifier_naive_bayes
File "/shared/c3/apps/miniconda2/envs/qiime2-2018.2/lib/python3.5/site-packages/qiime2/sdk/action.py", line 228, in bound_callable
output_types, provenance)
File "/shared/c3/apps/miniconda2/envs/qiime2-2018.2/lib/python3.5/site-packages/qiime2/sdk/action.py", line 363, in callable_executor
output_views = self.callable(**view_args)
File "/shared/c3/apps/miniconda2/envs/qiime2-2018.2/lib/python3.5/site-packages/q2_feature_classifier/classifier.py", line 310, in generic
fitter
pipeline)
File "/shared/c3/apps/miniconda2/envs/qiime2-2018.2/lib/python3.5/site-packages/q2_feature_classifier/_skl.py", line 31, in fit_pipeline
y, X = list(zip(*data))
ValueError: not enough values to unpack (expected 2, got 0)
I have attached the two artefact files used in the command. Any help on this issue would be very much appreciated.
Thanks a lot,
Benni
phytoref_taxonomy.qza (17.1 KB)
phytoref_16S_ref-seqs.qza (129.7 KB)