[Bioperl-l] annotations

Chris Fields cjfields at illinois.edu
Mon Nov 2 08:08:54 EST 2009

On Nov 1, 2009, at 10:47 PM, Mark A. Jensen wrote:

> 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.

One could add the methods to delegate to annotation() (that's  
essentially what I'm planning on doing for Biome).


More information about the Bioperl-l mailing list