get_prefix_map(*, priority=None, include_synonyms=False, remapping=None, use_preferred=False)[source]

Get a mapping from Bioregistry prefixes to their URI prefixes.

  • priority (Optional[Sequence[str]]) – A priority list for how to generate URI prefix.

  • include_synonyms (bool) – Should synonyms of each prefix also be included as additional prefixes, but with the same URI prefix?

  • remapping (Optional[Mapping[str, str]]) – A mapping from bioregistry prefixes to preferred prefixes.

  • use_preferred (bool) – Should preferred prefixes be used? Set this to true if you’re in the OBO context.

Return type

Mapping[str, str]


A mapping from prefixes to URI prefixes.