Skip to main content

annotate_insertion

Function annotate_insertion 

Source
pub fn annotate_insertion(
    chrom: &str,
    pos: u64,
    inserted_bases: &[u8],
    transcript: &TranscriptModel,
    locate_index: &LocateIndex,
    fasta: &FastaReader,
) -> Result<ConsequenceResult, VarEffectError>
Expand description

Annotate an insertion against one transcript.

pos is the 0-based insertion point (post-trimming). The insertion occurs between positions pos - 1 and pos. inserted_bases is the plus-strand sequence of inserted bases (trimmed ALT).