pub fn split_at_reference(
ops: &[CigarOp],
ref_pos: usize,
) -> (Vec<CigarOp>, Vec<CigarOp>)Expand description
Split CIGAR at a reference coordinate, returning (left, right).
ref_pos is 0-based; left covers [0, ref_pos), right covers
[ref_pos, end). Operations that don’t consume reference (I, S, H, P)
are attached to whichever side they fall on during the left-to-right walk.