ontoget

Function

Description

ontoget reads ontology terms matching a query. Optionally, the parents or children of the term, related to the term by 'is_a' (class/subclass) relationships, may also be returned. The information may be written to an output file in various formats.

Usage

Command line arguments


Input file format

Output file format

The default behaviour is to report the entire OBO term statement from the ontology. Optionally, then only the the term id, name and namespace, or just the term id will be reported.

The output file by default is in OBO plain text format as used by the ontologies in the EMBOSS data directory and explained at http://www.geneontology.org/GO.format.obo-1_2.shtml.

Optionally, the output can be in HTML, OBO-XML or JSON format.

Data files

OBO-format ontologies must be installed in the EMBOSS data directory and indexed. This is done automatically for typical installations.

Notes

The default behaviour is to report a single term with the specified id. Optionally, it will also return the parent(s) or children of that term, i.e. terms which are related to the specified term id via an is_a (class/subclass) relationship.

References

Warnings

None.

Diagnostic Error Messages

None.

Exit status

It exits with a status of 0.

Known bugs

None.

Author(s)

This application was modified by

History

Target users

Comments