normalize_parsed_curie

normalize_parsed_curie(prefix, identifier)[source]

Normalize a prefix/identifier pair.

Parameters
  • prefix (str) – The prefix in the CURIE

  • identifier (str) – The identifier in the CURIE

Return type

Union[Tuple[str, str], Tuple[None, None]]

Returns

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