Examples of using
ONTO-PERL
Finding and getting elements (e.g. terms, relationships)
Find all the terms in a given ontology.
Find all the relationships in a given ontology.
Find all the terms using a regular expression for the ID.
Get a specific term by name.
Get a specific term by ID.
Getting children terms and/or descendant ones
Get all the descendant terms of a given term.
Get only the child terms of a given term.
Getting parent terms and/or ancestor ones
Get all the ancestor terms of a given term.
Get the only the parent terms of a given term.
Intersection of ontologies
Find out the intersection of two given ontologies
o1
and
o3
.
Getting a term by its features (e.g. synonyms, xref)
Get a term by its name or any of its synonyms.
Get a term by one of its xref's.
Working with obsolete terms
Get all the obsolete terms in a given ontology.
Basic metrics in an ontology
Get the total number of terms and relationships in a given ontology.
Union of ontologies
Find out the union of two given ontologies
o1
and
o4
.
Working with sub-ontologies
Building an ontology from an existing sub-ontology.
Ontology merging
Simple merging of several and disjoint OBO ontologies from the same IDspace.
Manipulating Ontology Terms
Manipulating Ontology Terms (names, IDs, xref's, definitions, and so forth).
Working with an Ontology
Manipulating an Ontology.
Getting sub-ontologies from a given ontology.
Get paths from a given term A to a term B and/or from A to a set of given terms.
Exporting ontologies into different formats
Export a given ontology to OWL format (oboInOwl mapping).
Export a given ontology to GML format.
Export a given ontology to XML format.
Export a given ontology to DOT format.
Export a given ontology to OBO format (spec 1.2).
Export a given ontology to RDF format.