predict_sequence

predict_sequence#

DnaClient.predict_sequence(sequence, *, organism=Organism.HOMO_SAPIENS, requested_outputs, ontology_terms, interval=None)[source]#

Generate predictions for a given DNA sequence.

Parameters:
  • sequence (str) – DNA sequence to make prediction for.

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

  • 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.

  • interval (Interval | None (default: None)) – Optional interval from which the sequence was derived. This is used as the interval in the output TrackData.

Return type:

Output

Returns:

Output for the provided DNA sequence.