DNA sequencing and string matching