ontogetcommon

Function

Description

ontogetcommon reads two or more terms from an ontology and traces their closest common ancestor.

Algorithm

ontogetcommon traces up through the hierarchy of terms for the first term it reads. Successive terms are similarly traced, saving any ancestral terms that are already in the saved list.

The search fails if any term has no common ancestor with all previous terms.

The match reported is the first match found when tracing back.

There is no test for common ancestors in multiple paths.

Usage

Command line arguments


Input file format

ontogetcommon reads terms from an ontology database.

Output file format

Data files

None.

Notes

None.

References

None.

Warnings

None.

Diagnostic Error Messages

None.

Exit status

It always exits with status 0.

Known bugs

None.

Author(s)

History

Target users

Comments