another fastq/fasta collapser using red-black tree based lib.