get_pattern

get_pattern(prefix)[source]

Get the pattern for the given prefix, if it’s available.

Parameters

prefix (str) – The prefix to look up, which is normalized with normalize_prefix() before lookup in the Bioregistry

Return type

Optional[str]

Returns

The pattern for the prefix, if it is available, using the following order of preference: 1. Custom 2. MIRIAM 3. Wikidata