A simple, space-efficient algorithm for detecting start and stop codons in DNA