predict_sequence

predict_sequence#

DnaClient.predict_sequence(sequence, *, organism=Organism.HOMO_SAPIENS, requested_outputs, condition=None, interval=None, cell_conditioning=None, cell_condition_name=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.

  • condition (ModelCondition | str | None (default: None)) – The condition or composite curie to generate the prediction for.

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

  • cell_conditioning (AnnData | None (default: None)) – Optional human single-cell raw UMI counts (AnnData, up to MAX_CONDITIONING_CELLS cells). Unlocks OutputType.SC_GENE_EXPRESSION_DENOISED (denoised single-cell gene expression; one channel per strand, in CPM).

  • cell_condition_name (str | None (default: None)) – Optional label for expression conditioning. When provided, the output track names are suffixed with this name. Must be provided when cell_conditioning is used.

Return type:

Output

Returns:

Output for the provided DNA sequence.