from_curies

Contents

from_curies#

alphagenome.models.v2.model_condition.from_curies(ontology_curies)[source]#

Get a ModelCondition from a list of ontology curies.

Parameters:

ontology_curies (Sequence[str]) – A list of ontology curies.

Return type:

ModelCondition

Returns:

A ModelCondition with the ontology terms corresponding to the curies.

Raises:

ValueError – If there are duplicate ontology types provided.