predict_variants#
- DnaClient.predict_variants(intervals, variants, *, organism=Organism.HOMO_SAPIENS, requested_outputs, ontology_terms, progress_bar=True, max_workers=5)[source]#
Generate predictions for a sequence of DNA variants.
- Parameters:
intervals (
Interval|Sequence[Interval]) – DNA interval(s) to make predictions for.variants (
Sequence[Variant]) – DNA variants 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.progress_bar (
bool(default:True)) – If True, show a progress bar.max_workers (
int(default:5)) – Number of parallel workers to use.
- Return type:
- Returns:
Variant outputs for each DNA interval and variant pair.