collapsing fasta/fastq files using khash lib