get_miriam_uri_prefix

get_miriam_uri_prefix(prefix)[source]

Get the URI prefix for a MIRIAM entry.

Parameters

prefix (str) – The prefix to lookup.

Return type

Optional[str]

Returns

The Identifiers.org/MIRIAM URI prefix, if available.

>>> import bioregistry
>>> bioregistry.get_miriam_uri_prefix('ncbitaxon')
'https://identifiers.org/taxonomy:'
>>> bioregistry.get_miriam_uri_prefix('go')
'https://identifiers.org/GO:'
>>> assert bioregistry.get_miriam_uri_prefix('sty') is None