Bio::Annotation::TypeManager - Manages types for annotation collections
# default type manager
$tm = Bio::Annotation::TypeManager->new();
# $key is a string or a Bio::Ontology::TermI compliant object
print "The type for $key is ",$tm->type_for_key($key),"\n";
if( !$tm->is_valid($key,$object) ) {
$self->throw("Invalid object for key $key");
}
Manages types for annotation collections.
User feedback is an integral part of the evolution of this and other Bioperl
modules. Send your comments and suggestions preferably
to one of the Bioperl mailing lists. Your participation is much appreciated.
bioperl-l@bioperl.org
Please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
rather than to the module maintainer directly. Many experienced
and reponsive experts will be able look at the problem and quickly address
it. Please include a thorough description of the problem with code and data
examples if at all possible.
Report bugs to the Bioperl bug tracking system to help us keep track the bugs
and their resolution. Bug reports can be submitted via the web:
https://github.com/bioperl/bioperl-live/issues
The rest of the documentation details each of the object methods. Internal
methods are usually preceded with a _
Title : new
Usage :
Function:
Example :
Returns :
Args :
Title : type_for_key
Usage :
Function:
Example :
Returns :
Args :
Title : is_valid
Usage :
Function:
Example :
Returns :
Args :
Title : _add_type_map
Usage :
Function:
Example :
Returns :
Args :