predict_variant

predict_variant#

DnaClient.predict_variant(interval, variant, *, organism=Organism.HOMO_SAPIENS, requested_outputs, ontology_terms)[source]#

Generate predictions for a given DNA variant.

Parameters:
  • interval (Interval) – DNA interval to make prediction for.

  • variant (Variant) – DNA variant 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.

Return type:

VariantOutput

Returns:

Variant output for the provided DNA interval and variant.