# Invalid value for '--i-reference-reads': 'PE-ref-seqs.qza' is not a valid filepath

**URL:** <https://forum.qiime2.org/t/invalid-value-for-i-reference-reads-pe-ref-seqs-qza-is-not-a-valid-filepath/21710>\
**Category:** User Support\
**Created:** [December 21, 2021, 2:04pm UTC](https://forum.qiime2.org/t/invalid-value-for-i-reference-reads-pe-ref-seqs-qza-is-not-a-valid-filepath/21710 "2021-12-21T14:04:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wen](https://forum.qiime2.org/user_avatar/forum.qiime2.org/wen/32/13713_2.png) [@Wen](https://forum.qiime2.org/u/Wen)\
**Post date:** [December 21, 2021, 2:04pm UTC](https://forum.qiime2.org/t/invalid-value-for-i-reference-reads-pe-ref-seqs-qza-is-not-a-valid-filepath/21710/1 "2021-12-21T14:04:01Z")

</div>

Dear, I hope you are well. I am trying to do a taxonomic classification of my sequences using a pre-trained classifier (SILVA 138) that I downloaded from the Qiime2 page. I ran the following command:  
qiime feature-classifier fit-classifier-naive-bayes   
--i-reference-reads PE-ref-seqs.qza   
--i-reference-taxonomy silva-138-99-tax-515-806.qza   
--o-classifier silva-138-99-515-806-nb-classifier.qza

But I get this error:  
Invalid value for '--i-reference-reads': 'PE-ref-seqs.qza' is not a  
valid filepath

The three files are in the same folder, when verifying the PE-ref-seqs.qza file it is observed that it is a Qiime2 artifact. So I don't know where the error is, could you help me fix this?

Abjoint the images. I will be very grateful for your help.

 ![Foto1](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/a/a774d7cde6dc50cfdefdf90b3dfea547fe48a968.jpeg)

 ![Foto2](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/a/ad843463e63ef1ef0a9ef2253cae251f21492931.jpeg)

 ![Foto3](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/a/aa4610f1e3e3343794308a907d6713521eb89b7e.jpeg)

---

<div class="post-metadata">

**Author:** ![jacobs](https://forum.qiime2.org/user_avatar/forum.qiime2.org/jacobs/32/12255_2.png) [@jacobs](https://forum.qiime2.org/u/jacobs)\
**Post date:** [December 21, 2021, 2:19pm UTC](https://forum.qiime2.org/t/invalid-value-for-i-reference-reads-pe-ref-seqs-qza-is-not-a-valid-filepath/21710/2 "2021-12-21T14:19:21Z")

</div>

Your ls and validate shows:

PE-re **p** -seqs.qza

Your feature-classifier command used the parameter:

PE-re **f** -seqz.qza

---

<div class="post-metadata">

**Author:** ![Wen](https://forum.qiime2.org/user_avatar/forum.qiime2.org/wen/32/13713_2.png) [@Wen](https://forum.qiime2.org/u/Wen)\
**Post date:** [December 21, 2021, 2:38pm UTC](https://forum.qiime2.org/t/invalid-value-for-i-reference-reads-pe-ref-seqs-qza-is-not-a-valid-filepath/21710/3 "2021-12-21T14:38:06Z")

</div>

Thank you very much for answering. I corrected the file name, and now I get this error:  
Plugin error from feature-classifier:  
not enough values to unpack (expected 2, got 0)  
Debug info has been saved to /tmp/qiime2-q2cli-err-ve1\_ej50.log

 ![foto5](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/6/619ed06c30fdcd317707d75cbbfb18681b838e1c.jpeg)

---

<div class="post-metadata">

**Author:** ![jacobs](https://forum.qiime2.org/user_avatar/forum.qiime2.org/jacobs/32/12255_2.png) [@jacobs](https://forum.qiime2.org/u/jacobs)\
**Post date:** [December 21, 2021, 2:50pm UTC](https://forum.qiime2.org/t/invalid-value-for-i-reference-reads-pe-ref-seqs-qza-is-not-a-valid-filepath/21710/4 "2021-12-21T14:50:10Z")

</div>

🤔 I'm not familiar with that error, but I found this response to a user who experienced the same error a few years ago: [Plugin error from feature-classifier: not enough values to unpack (expected 2, got 0) - #9 by thermokarst](https://forum.qiime2.org/t/plugin-error-from-feature-classifier-not-enough-values-to-unpack-expected-2-got-0/3906/9)

I'll let someone else respond to any further questions you may have, as I am not as familiar with this process as others on the forums.

---

<div class="post-metadata">

**Author:** ![system](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/2/1/21af5fe23cb6f4579467c66a9ed94e55274ca7bd.svg) [@system](https://forum.qiime2.org/u/system)\
**Post date:** [January 21, 2022, 8:51pm UTC](https://forum.qiime2.org/t/invalid-value-for-i-reference-reads-pe-ref-seqs-qza-is-not-a-valid-filepath/21710/5 "2022-01-21T20:51:05Z")

</div>

Closed on January 21, 2022, 8:51pm UTC

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