score_intervals#
- DnaClient.score_intervals(intervals, interval_scorers=(), *, organism=Organism.HOMO_SAPIENS, progress_bar=True, max_workers=5)[source]#
Generate interval scores for a sequence of intervals.
- Parameters:
intervals (
Sequence[Interval]) – Sequence of DNA intervals to make prediction for.interval_scorers (
Sequence[GeneMaskScorer] (default:())) – Sequence of interval scorers to use for scoring. If no interval scorers are provided, the recommended interval 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_interval outputs for each interval.