@staticmethod
def _map_orthology_code_to_RO(ortho):
    '\n        Map the panther-specific orthology code (P,O,LDO,X,LDX)\n        to relationship-ontology\n        identifiers.\n        :param ortho: orthology code\n        :return: RO identifier\n        '
    ortho_rel = OrthologyAssoc.ortho_rel
    ro_id = ortho_rel['orthologous']
    ortho_to_ro_map = {'P': ortho_rel['paralogous'], 'O': ortho_rel['orthologous'], 'LDO': ortho_rel['least_diverged_orthologous'], 'X': ortho_rel['xenologous'], 'LDX': ortho_rel['xenologous']}
    if (ortho in ortho_to_ro_map):
        ro_id = ortho_to_ro_map.get(ortho)
    else:
        logger.warning("unmapped orthology code %s. Defaulting to 'orthology'", ortho)
    return ro_id
Map the panther-specific orthology code (P,O,LDO,X,LDX)
to relationship-ontology
identifiers.
:param ortho: orthology code
:return: RO identifier
@staticmethod
def _map_orthology_code_to_RO(ortho):
    '\n        Map the panther-specific orthology code (P,O,LDO,X,LDX)\n        to relationship-ontology\n        identifiers.\n        :param ortho: orthology code\n        :return: RO identifier\n        '
    ortho_rel = OrthologyAssoc.ortho_rel
    ro_id = ortho_rel['orthologous']
    ortho_to_ro_map = {'P': ortho_rel['paralogous'], 'O': ortho_rel['orthologous'], 'LDO': ortho_rel['least_diverged_orthologous'], 'X': ortho_rel['xenologous'], 'LDX': ortho_rel['xenologous']}
    if (ortho in ortho_to_ro_map):
        ro_id = ortho_to_ro_map.get(ortho)
    else:
        logger.warning("unmapped orthology code %s. Defaulting to 'orthology'", ortho)
    return ro_id