error message: (1/1) Invalid value for '--i-classifier': 'gg-13-8-99-515-806-nb- classifier.qza' is not a QIIME 2 Artifact (.qza)

Hi, I have a problem with taxonomy generation.

The command lines I used is:
qiime feature-classifier classify-sklearn
--i-classifier gg-13-8-99-515-806-nb-classifier.qza
--i-reads rep-seqs-dada2.qza
--o-classification taxonomy.qza

And the error message is: There was a problem with the command:
(1/1) Invalid value for '--i-classifier': 'gg-13-8-99-515-806-nb-
classifier.qza' is not a QIIME 2 Artifact (.qza)

But I check my path and the file is in the current folder. Could you help me to figure it out?

Thanks in advance.

Hi @KE_XU,

First, what version of qiime2 are you running? Second, check your pwd and ls for the folder you’re currently in. There was a bug at one point in qiime2 where an incorrect path said there was no artifact, so its possible that if you check your path, it might be the issue.

If that doesn’t work, try dropping your gg-13-8-99-515-806-nb-classifier.qza into view.qiime2.org.

Best,
Justine

Hi, Thanks for your help!

I found the problem is that the gg-13-8-99-515-806-nb-classifier.qza cannot be read via view.qiime2.org.

So my question is where could I download the classifier for 16s. This file is what I found from this website https://chmi-sops.github.io/mydoc_qiime2.html#step-9-assign-taxonomy
‘Step 9: assign taxonomy’

Thanks in advance.

Hi @KE_XU,

I tend to use the ones from the qiime2 docs (docs.qiime2.org).

Best,
Justine

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