good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: mismatching characters in dna sequenceby choroba (Cardinal) |
on Dec 30, 2011 at 01:11 UTC ( [id://945580]=note: print w/replies, xml ) | Need Help?? |
If you apply binary xor (exclusive-or) on the strings, you get another string as a result. This string contains the null character in places where the two strings were identical, and various other characters in positions where the two strings were different. For each tuple of letters, the result is different.
In Section
Seekers of Perl Wisdom
|
|