FastQ and FASTA compression algorithm