Return the number of repeat units in which a deletion is embedded.
FindMaxRepeatDel(context, rep.unit.seq, pos)A string that embeds rep.unit.seq at position
pos
A substring of context at pos
to pos + nchar(rep.unit.seq) - 1, which is the repeat
unit sequence.
The position of rep.unit.seq in context.
The number of repeat units in which rep.unit.seq is
embedded, not including
the input rep.unit.seq in the count.
For example FindMaxRepeatDel("xyaczt", "ac", 3)
returns 0.
If
substr(context, pos, pos + nchar(rep.unit.seq) - 1) != rep.unit.seq
then stop.
If this functions returns 0, then it is necessary to look for microhomology.