ICAMS (version 2.0.7)

FindMaxRepeatDel: Return the number of repeat units in which a deletion is embedded.

Description

Return the number of repeat units in which a deletion is embedded.

Usage

FindMaxRepeatDel(context, rep.unit.seq, pos)

Arguments

context

A string that embeds rep.unit.seq at position pos

rep.unit.seq

A substring of context at pos to pos + nchar(rep.unit.seq) - 1, which is the repeat unit sequence.

pos

The position of rep.unit.seq in context.

Value

The number of repeat units in which rep.unit.seq is embedded, not including the input rep.unit.seq in the count.

Details

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.