get_biocontext_uri_format

get_biocontext_uri_format(prefix)[source]

Get the URI format for a BioContext entry.

Parameters

prefix (str) – The prefix to lookup.

Return type

Optional[str]

Returns

The BioContext URI format string, if available.

>>> import bioregistry
>>> bioregistry.get_biocontext_uri_format('hgmd')
'http://www.hgmd.cf.ac.uk/ac/gene.php?gene=$1'