phylo2owl is a tool that takes a phylogeny as input and converts it into an OWL ontology, using several ancillary ontologies (such as CDAO, Phyloref) to express relationships (edges) between entities (vertices).
Converting phylogenies into OWL ontologies is one of the foundational steps in using an OWL reasoner to resolve a phyloreference expression (which is a series of OWL axioms) against a phylogeny.
phylo2owl [input.(tre|nex|xml|...)] [-f format] [-o output.owl]
-o
): Where the output ontology should be written.
The base name of this file (e.g. 'output' in 'output.owl')
is used as the short prefix for nodes in this ontology in the
output file.-n
or --name
): A short name for the ontology.
Defaults to the name of the output file.-f
or --format
): Currently,
'newick',
'nexus' and
'nexml' are
supported.-h
or --help
): Describes the usage of the program and
every command line option.We use the py.test testing framework. You can
run the tests by running py.tests tests
from this directory.
We currently use DendroPy. Some other libraries we considered include: