get_bioportal_prefix
- get_bioportal_prefix(prefix: str) str | None [source]
Get the BioPortal prefix if available.
- Parameters:
prefix – The prefix to lookup.
- Returns:
The BioPortal prefix corresponding to the prefix, if mappable.
>>> get_bioportal_prefix("chebi") 'CHEBI' >>> get_bioportal_prefix("uniprot") None >>> get_bioportal_prefix("nope") None