NAME
PomBase::Chobo::OntologyData - An in memory representation of an Ontology
SYNOPSIS
Objects of this class represent the part of an ontology that can be stored in a Chado database.
AUTHOR
Kim Rutherford <kmr44@cam.ac.uk>
BUGS
Please report any bugs or feature requests to kmr44@cam.ac.uk
.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc PomBase::Chobo::OntologyData
COPYRIGHT & LICENSE
Copyright 2012 Kim Rutherford, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
FUNCTIONS
add
Usage : $ontology_data->add(metadata => {..}, terms => [...]);
Function: Add some terms, often all terms from one OBO file
Args : metadata - the metadata for the terms
terms - an array of OntologyTerm objects
Return : Nothing, dies on error
finish
Usage : $self->finish();
Function: remove namespaces that are empty due to merging and check that
objects and subjects of relationships exist