While I was trying to import fastq files, I got this error: qiime2 qiime tools import is not fasqgzformat file: file is uncompressed.
This is the command I used to import my data:
qiime tools import --type 'SampleData[PairedEndSequencesWithQuality]' --input-path XXXXX --input-format CasavaOneEightSingleLanePerSampleDirFmt --output-path demux-paired-end.qza
As you can see in the picture below my files are fasqgzformat files..
I think you might have some temporary files in your directory, usually these are created by text editors so that if they crash they don't hurt your real file. Files that start with a dot are typically hidden, so you won't see them normally.
Would you be able to run:
ls -al
on your directory of fastq files just so we can be sure that those files are not in fact important? I'm expecting them to mostly match a real file name and have a different modified-date than the rest of your data. Once we know that that is the case, we can safely just remove them and your import should work fine (I hope).
I figured out what those files are. They come from mounting an Apple filesystem in a different operating system. (They are called “resource forks” and contain file metadata).
It looks like you are running VirtualBox on OS X?
If so, I do want to mention it is much less of a hassle to use conda on OS X and install QIIME 2 natively. You won’t have that problem then.
Otherwise, if you have the host system running, you should be able to type dot_clean . in the same directory that you are mounting within VirtualBox. I would avoid deleting these directly for the moment, because they are a part of the filesystem (I believe), but I could be wrong there. If that doesn’t work we can move onto other things to try.
But I would recommend installing QIIME 2 directly on OS X if possible instead.