predict_intervals

predict_intervals#

DnaClient.predict_intervals(intervals, *, organism=Organism.HOMO_SAPIENS, requested_outputs, ontology_terms, progress_bar=True, max_workers=5)[source]#

Generate predictions for a sequence of DNA intervals.

Parameters:
  • intervals (Sequence[Interval]) – DNA intervals to make predictions for.

  • organism (Organism (default: <Organism.HOMO_SAPIENS: 9606>)) – Organism to use for the predictions.

  • requested_outputs (Iterable[OutputType]) – Iterable of OutputTypes indicating which subsets of predictions to return.

  • ontology_terms (Iterable[OntologyTerm | str] | None) – Iterable of ontology terms or curies to generate predictions for. If None returns all ontologies.

  • progress_bar (bool (default: True)) – If True, show a progress bar.

  • max_workers (int (default: 5)) – Number of parallel workers to use.

Return type:

list[Output]

Returns:

Outputs for the provided DNA intervals.