detect fastq format automatically