get_fairsharing_prefix

get_fairsharing_prefix(prefix)[source]

Get the FAIRSharing prefix if available.

Parameters

prefix (str) – The prefix to lookup.

Return type

Optional[str]

Returns

The FAIRSharing prefix corresponding to the prefix, if mappable.

>>> get_fairsharing_prefix("genbank")
'FAIRsharing.9kahy4'