get_pattern

get_pattern(prefix: str) str | None[source]

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

Parameters:

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

Returns:

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