get_identifiers_org_iri

get_identifiers_org_iri(prefix: str, identifier: str) str | None[source]

Get the identifiers.org URL for the given CURIE.

Parameters:
  • prefix – The prefix in the CURIE

  • identifier – The identifier in the CURIE

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'