score_intervals#
- DnaClient.score_intervals(intervals, conditions=None, interval_scorers=(), *, organism=Organism.HOMO_SAPIENS, cell_conditionings=None, cell_condition_names=None, 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.conditions (
Sequence[ModelCondition|str] |None(default:None)) – Optional sequence of conditions or composite curies to generate the 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.cell_conditionings (
Sequence[AnnData] |None(default:None)) – Optional sequence of expression conditioning inputs (AnnData).cell_condition_names (
Sequence[str] |None(default:None)) – Optional sequence of labels for expression conditioning. Must be provided whencell_conditioningsis used.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.