ontolopy.obo.Obo.merge

Obo.merge(new, prefer='self')

Recursively merges new into self and returns a merged Obo ontology.

Parameters
  • new – Obo object (or list of objects) to add.

  • prefer – prefer ‘self’ (base Obo) or ‘new’ (new Obo)

Return merged

A merged Obo