kazu.ontology_preprocessing.constants

Module Attributes

DEFAULT_LABEL

The column name in a dataframe parsed with parse_to_dataframe() for the column of the entity's default/preferred label

IDX

The column name for the id of each entity

SYN

The column name for the synonyms/alternative labels for each entity

MAPPING_TYPE

The column name for the type of mapping from default label to synonym - e.g. xref, exactSyn etc.

DATA_ORIGIN

The origin of a dataset - e.g. HGNC release 2.1, MEDDRA 24.1 etc.

kazu.ontology_preprocessing.constants.DATA_ORIGIN = 'data_origin'

The origin of a dataset - e.g. HGNC release 2.1, MEDDRA 24.1 etc. Note, this is different from the parser.name, as is used to identify the origin of a mapping back to a data source

kazu.ontology_preprocessing.constants.DEFAULT_LABEL = 'default_label'

The column name in a dataframe parsed with parse_to_dataframe() for the column of the entity’s default/preferred label

kazu.ontology_preprocessing.constants.IDX = 'idx'

The column name for the id of each entity

kazu.ontology_preprocessing.constants.MAPPING_TYPE = 'mapping_type'

The column name for the type of mapping from default label to synonym - e.g. xref, exactSyn etc. Usually defined by the ontology

kazu.ontology_preprocessing.constants.SYN = 'syn'

The column name for the synonyms/alternative labels for each entity