NAME
Bio::Annotation::Comment - A Comment on an Annotation
SYNOPSIS
# comment objects attached to annotations
foreach my $comment ( $seq->annotation->each_Comment() ) {
# comment object currently pretty stupid. Just gives back
# text as a string
$text = $comment->text();
}
DESCRIPTION
A comment object is meant to represent one logical comment in a piece of annotation (common CC lines in EMBL files etc). At the moment is a very simple object, but this will give us a placeholder for more advanced things, eg, able to provide some XML stuff and eventually things like authorship tracking.
This object originally came from the Pfam annotation object
CONTACT
Ewan Birney <birney@ebi.ac.uk>
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
text
Title : text
Usage : $self->text($newval)
Function:
Example :
Returns : value of text
Args : newvalue (optional)