GeneMaskSplicingScorer#
- class alphagenome.models.v1.variant_scorers.GeneMaskSplicingScorer(requested_output, width)[source]#
Variant scorer for gene-mask scoring for splicing.
Variant scorer that quantifies changes in class assignment probabilities (
dna_output.OutputType.SPLICE_SITES) or changes in the usage of splice sites (dna_output.OutputType.SPLICE_SITE_USAGE) betweenALTandREFalleles using a gene body mask (exons and introns).- requested_output#
The requested output type (
SPLICE_SITESorSPLICE_SITE_USAGE).
- width#
The width of the mask around the variant, or
Nonefor the full gene body.
- base_variant_scorer#
The base variant scorer.
- name#
The name of the scorer (a composite of the above attributes that uniquely identifies a scorer combination).
- is_signed#
Whether this variant scorer is directional (such that scores may be negative or positive) or non-directional (scores are always non-negative).
- Raises:
ValueError – If the requested output or width is not supported.