filter_existing_xrefs

filter_existing_xrefs(mappings: Iterable[SemanticMapping], prefixes: Iterable[str]) Iterable[SemanticMapping][source]

Filter predictions that match xrefs already loaded through PyOBO.

Parameters:
  • mappings – Semantic mappings to filter

  • prefixes – Prefixes for resources to check for existing mappings

Yields:

Filtered semantic mappings