Reputation: 199
I need a very fast efficient algorithm for string matching of DNA pattern with atmost 1 mismatch allowed.I have tried boyer-moore-horspool algorithm,but it exceeds the required time. The length of Text and pattern can be atmost 100000.Please suggest me a very fast alorithm on which i can start working to get this problem resolved.
Upvotes: 0
Views: 435
Reputation: 51
You could try a Hamming distance algorithm, with distance = 1
http://en.wikipedia.org/wiki/Hamming_distance
Upvotes: 1