When looking for repeat patterns in a DNA sequence, we can look for the pattern and its reverse compliment with up to d
mismatches. However, why do we look for reverse compliments if we're analyzing a single DNA strand?
I thought about it and my guess is that this lets us analyze both strands of DNA. For example, if we find the reverse compliment at position x
, that means that the other strand of DNA has the pattern at position x - pattern.length
.
Is that correct?