get_identifiers_org_iri

get_identifiers_org_iri(prefix, identifier)[source]

Get the identifiers.org URL for the given CURIE.

Parameters
  • prefix (str) – The prefix in the CURIE

  • identifier (str) – The identifier in the CURIE

Return type

Optional[str]

Returns

A IRI string corresponding to the Identifiers.org, if the prefix exists and is mapped to MIRIAM.

>>> get_identifiers_org_iri('chebi', '24867')
'https://identifiers.org/CHEBI:24867'
>>> get_identifiers_org_iri("interpro", "IPR016380")
'https://identifiers.org/interpro:IPR016380'
>>> get_identifiers_org_iri("cellosaurus", "0001")
'https://identifiers.org/cellosaurus:CVCL_0001'
>>> get_identifiers_org_iri("biomodels.kisao", "0000057")
'https://identifiers.org/biomodels.kisao:KISAO_0000057'