I made my own feature classifier, but every time I try to make an output file with the ‘FeatureData[Sequence]’ and ‘FeatureData[Taxonomy]’ functions, I get a file that is messed up when I try to open it (Error message - The file might be corrupted, truncated, or in an unexpected format). I know that my input file is fine and is the proper format, so I don’t know why I don’t get a working output file. I’m basing my code off of the instructions on the QIIME Training Feature Classifiers With q2-feature-classifier page (https://docs.qiime2.org/2018.2/tutorials/feature-classifier/). Here’s my code
qiime tools import
What command gives you that error message? Is it the import commands you posted? I think we will need to know a little more about your precise workflow, or (since you say you followed the tutorial) the exact command that issues that error. Could you also send along the artifact that causes that error and we can attempt to debug locally? Thanks!
It’s not a command, it’s what happens when I try to open the actual file that the command creates. There aren’t any errors when I run the command, it creates the output without any issues, but when I try to open that file, I get that error as a pop-up, so something must be going wrong when the file is created, but I can’t figure out what. I managed to get through the first 8 steps of the tutorial in the link I posted without any major problems, but I can’t figure out why this step isn’t working when I don’t get any errors in the command line.
How are you trying to open this file?
Could you share this file?
I've attached the two files. They are .qza files and when I try to open them, I get the error, and when I open them anyways in BBEdit, they are both completely blank.
pmoa7809.qza (348.7 KB)
pmoa-ref-taxonomy.qza (44.5 KB)
There is nothing wrong with these files — but they are compressed archives (see the QIIME 2 docs for more details on the QZA extension). You must export these files before opening with a text editor.
I hope that helps!
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.