[Bioperl-l] annotations

Mark A. Jensen maj at fortinbras.us
Sun Nov 1 23:47:15 EST 2009


I'm cogitating on features and annotations. For a RichSeq, one gets the set of annotations by

$seq->annotation->get_Annotations

while getting features by 

$seq->get_Features

Is there a reason not to have a method in SeqI 

sub get_Annotations { shift->annotation->get_Annotations }

to allow a user to do what seems natural from a user's perspective, viz. $seq->get_Annotations? I imagine this might save hundreds of hours of frustration, integrated over all newbies.
MAJ


More information about the Bioperl-l mailing list