Prepare VCF structural geometry and insertion provenance
Source:R/structural_geometry.R
rduckvep_prepare_sv_geometry.RdThe input relation is shaped like DuckHTS `read_bcf()` output, one row per event: `event_index`, `POS`, `REF`, `ALT` (a list, with the 1-based `alt_index` choosing the allele, or one allele) and optionally `INFO_END`, `INFO_SVLEN`, `INFO_CIPOS`, `INFO_CIEND` and `INFO_SEQ`, in any letter case and as scalars, lists or text. A symbolic allele spans `POS + 1` to `POS + |SVLEN|`, else `END`, as VEP reads it. Symbolic alleles retain breakpoint confidence bounds separately from the nominal coordinates. Literal anchored insertions carry inserted bases; a symbolic `INFO/SEQ` is source provenance, not a literal insertion.