I try this command:
<qiime tools import --input-path file.fna --output-path file.qza --type SampleData [Sequences]>
but get this Error: There was a problem importing file.fna: file.fna is not a(n) QIIME1DemuxFormat file
I have also more files in fna format and I wonder what should be my next step? How can I import all the 'fna' files?
Actually the files now in 'fna.gz' format but if necessary I can gunzip all of them.
Your example looks correct to me so far. Unfortunately, that particular format isn't using our newer validate API, so it can't really explain itself as to what's wrong.
I suspect the issue is either a duplicate read ID or a malformatted record, which I expect both come from some issue with concatenating files.
Sorry for the excessive delay on my part. Would you be able to share the first 30 records (or 60 lines) of sample1.fna.gz and upload the file from this command?
gunzip -c sample1.fna.gz | head -n 60 > example.fna
Everything you have shared so far looks like the right way of doing this, so I need to see where our validator is falling over specifically. Since it only reads the first 30 records, we should only need 60 lines to find that out.