Interface AlternativeSplicingOptions

Options for configuring alternative splicing behavior.

interface AlternativeSplicingOptions {
    allowSkipFirstExon?: boolean;
    allowSkipLastExon?: boolean;
    minimumExonCount?: number;
    requireMinimumExons?: boolean;
    validateCodons?: boolean;
    validateReadingFrames?: boolean;
}

Properties

allowSkipFirstExon?: boolean

Whether to allow variants that skip the first exon

allowSkipLastExon?: boolean

Whether to allow variants that skip the last exon.

Biologically relevant for:

  • Alternative polyadenylation (early termination with different 3' UTR)
  • Nonsense-mediated decay escape mechanisms
  • Research into truncated polypeptide isoforms

When false, enforces that functional polypeptides retain proper C-terminus and termination signals. Use true for modeling alternative polyadenylation or studying naturally occurring truncated isoforms.

minimumExonCount?: number

Minimum number of exons required per variant

requireMinimumExons?: boolean

Whether to require at least one exon in each variant

validateCodons?: boolean

Whether to validate that variants maintain proper start/stop codons.

When true, validates:

  • Start codon (AUG) at the beginning of the coding sequence
  • Stop codon (UAA, UAG, UGA) at the end of the coding sequence

Use false for research on partial sequences, alternative start sites, or when studying nonsense mutations with premature stops.

validateReadingFrames?: boolean

Whether to validate reading frames for each variant