Given a single insertion or deletion in context categorize it.
Canonicalize1ID(context, ref, alt, pos, trace = 0)
A string that is the canonical representation
of the type of the given
insertion or deletion.
Return NA
and raise a warning if
there is an un-normalized representation of
the deletion of a repeat unit.
See FindDelMH
for details.
(This seems to be very rare.)
Ample surrounding sequence on each side of the insertion or deletion.
The reference allele (vector of length 1)
The alternative allele (vector of length 1)
The position of ins.or.del.seq
in context
.
If > 0, then generate messages tracing how the computation is carried out.