normalize_parsed_curie
- normalize_parsed_curie(prefix: str, identifier: str, *, use_preferred: bool = False) Tuple[str, str] | Tuple[None, None] [source]
Normalize a prefix/identifier pair.
- Parameters:
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.
- Returns:
A normalized prefix/identifier pair, conforming to Bioregistry standards. This means no redundant prefixes or bananas, all lowercase.