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 toMAX_CONDITIONING_CELLScells). UnlocksOutputType.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 whencell_conditioningis used.
- Return type:
- Returns:
Output for the provided DNA sequence.