Zooma wrapper

ZOOMA api wrapper

class ontoma.zooma.ZoomaClient(zooma_base=None, required=None, preferred=None, ontologies='none')[source]

Simple client to query zooma

By default (specifying nothing), Zooma will search its available databases containing curated mappings (and that do not include ontology sources), and if nothing is found it will look in the Ontology Lookup Service (OLS) to predict ontology annotations.

Example

>>> z = ZoomaClient()
>>> r = z.annotate("mus musculus")
>>> r[0]['semanticTags']
['http://purl.obolibrary.org/obo/NCBITaxon_10090']
>>> r[0]['confidence']
'HIGH'
>>> z.besthit("mus musculus")['iri']
'http://purl.obolibrary.org/obo/NCBITaxon_10090'
annotate(name, property_type=None, required=None, preferred=None, ontologies='none')[source]
besthit(name)[source]
highconfhits(name)[source]