in reply to Filtering matches of near-perfect-matched DNA sequence pairs

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

Replies are listed 'Best First'.
Re^2: Filtering matches of near-perfect-matched DNA sequence pairs
by onlyIDleft (Scribe) on Mar 13, 2015 at 17:53 UTC

    YES! You got it!

    I need to filter-in such cases, currently they are being filtered out, right?