get_xref

pyobo.get_xref(prefix, identifier, new_prefix, flip=False)[source]

Get the xref with the new prefix if a direct path exists.

Return type:

Optional[str]