readytowear icon indicating copy to clipboard operation
readytowear copied to clipboard

Issues reading ref-seqs.qza in QIIME2

Open AprilJauhal opened this issue 1 year ago • 0 comments

Hello, I downloaded ref-seqs.qza using the following command:

wget -O "ref-seqs.qza" "https://github.com/BenKaehler/readytowear/blob/master/data/gg_13_8/515f-806r/ref-seqs.qza"

Then I tried running it as part of the command:

qiime feature-classifier fit-classifier-naive-bayes \
    --i-reference-reads ref-seqs.qza  \
    --i-reference-taxonomy ref-tax.qza \
    --i-class-weight human-stool.qza \
    --o-classifier gg138_v4_human-stool_classifier.qza

And got the following error: " (1/1) Invalid value for '--i-reference-reads': ref-seqs.qza is not a QIIME archive."

I tried viewing the object using qiime tools peek ref-seqs.qza and got a similar error: "raise ValueError("%s is not a QIIME archive." % filepath) ValueError: ref-seqs.qza is not a QIIME archive."

Interestingly, when I downloaded the file in my browser and tried viewing it on the QIIME2 website it was able to interpret it ("DNASequencesDirectoryFormat" format file of type "FeatureData[Sequence]"). Do you have any idea what might be going wrong or if there is something wrong with the file? Thanks!

AprilJauhal avatar Aug 23 '23 15:08 AprilJauhal