Your specification is ambigous. Do you want to catch also this case:
1234567890 ACCCCCCCCC_ _CCCCACCCCT
Your method with the exclusive or works only for two strings of the same length, and one or more substitutions, no inserts or deletes.
Helmut Wollmersdorfer
In reply to Re: Filtering matches of near-perfect-matched DNA sequence pairs
by wollmers
in thread Filtering matches of near-perfect-matched DNA sequence pairs
by onlyIDleft
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |