Bio::Annotation::Comment - A Comment on an Annotation
# 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(); }
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
Ewan Birney <birney@ebi.ac.uk>
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
Title : text Usage : $self->text($newval) Function: Example : Returns : value of text Args : newvalue (optional)
To install Bio::Seq, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::Seq
CPAN shell
perl -MCPAN -e shell install Bio::Seq
For more information on module installation, please visit the detailed CPAN module installation guide.