normalize_parsed_curie(prefix: str, identifier: str, *, use_preferred: bool = False) Tuple[str, str] | Tuple[None, None][source]

Normalize a prefix/identifier pair.

  • prefix – The prefix in the CURIE

  • identifier – The identifier in the CURIE

  • use_preferred – If set to true, uses the “preferred prefix”, if available, instead of the canonicalized Bioregistry prefix.


A normalized prefix/identifier pair, conforming to Bioregistry standards. This means no redundant prefixes or bananas, all lowercase.