ontolopy.obo.load_obo¶
- ontolopy.obo.load_obo(file_loc, ont_ids=None, discard_obsolete=True)¶
Loads ontology from .obo file at file_loc.
- Parameters
file_loc – file location - path to stored obo file.
ont_ids – list of ontology ids, e.g. [‘UBERON’, ‘CL’]
discard_obsolete – if True discard obsolete terms.
- Returns
Obo ontology object.