handles fastq and fastq.gz