score_variants#
- DnaClient.score_variants(intervals, variants, variant_scorers=(), *, organism=Organism.HOMO_SAPIENS, progress_bar=True, max_workers=5)[source]#
Generate variant scores for a sequence of variants.
- Parameters:
intervals (
Interval|Sequence[Interval]) – DNA interval(s) to make prediction for. If a single interval is provided, then the same interval will be used for all variants.variants (
Sequence[Variant]) – Sequence of DNA variants to make prediction for.variant_scorers (
Sequence[CenterMaskScorer|ContactMapScorer|GeneMaskLFCScorer|GeneMaskActiveScorer|GeneMaskSplicingScorer|PolyadenylationScorer|SpliceJunctionScorer] (default:())) – Sequence of variant scorers to use for scoring. If no variant scorers are provided, the recommended variant scorers for the organism will be used.organism (
Organism(default:<Organism.HOMO_SAPIENS: 9606>)) – Organism to use for the prediction.progress_bar (
bool(default:True)) – If True, show a progress bar.max_workers (
int(default:5)) – Number of parallel workers to use.
- Return type:
- Returns:
List of
AnnDatalists corresponding to score_variant outputs for each variant.