TCT.translator_node

class TCT.translator_node.TranslatorEdge(subject: str, object: str, predicate: str)[source]

Class that represents Translator edges.

object: str

The object is a CURIE id for a node.

predicate: str

Predicates

subject: str

The subject is a CURIE id for a node.

class TCT.translator_node.TranslatorNode(curie: str, label: str | None = None, types: list[str] | None = None, synonyms: list[str] | None = None, curie_synonyms: list[str] | None = None)[source]

Class for Translator graph nodes.

Attributes:
curie_synonyms
identifier

identifier is the CURIE id for the node.

label
synonyms
types
curie: str

CURIE identifier

curie_synonyms: list[str] | None = None

list of synonymous CURIE ids (in the same order as synonyms)

property identifier

identifier is the CURIE id for the node.

label: str | None = None

human-readable name for the node

synonyms: list[str] | None = None

list of synonymous labels

types: list[str] | None = None

list of biolink types