[Bioperl-l] Bio::SeqFeature::Annotated API change

Hilmar Lapp hlapp at gmx.net
Fri Oct 12 17:22:00 UTC 2007


On Oct 12, 2007, at 11:02 AM, Chris Fields wrote:

>> Although sometimes confused, these are not the same motivations.  
>> AnnotationAdaptor provides a view - you use it when that's the  
>> view you need on a SeqFeatureI object you have in hand. For  
>> example, bioperl-db uses it so it doesn't have to bother about how  
>> to de/serialize tag/value pairs, when it knows how to de/serialize  
>> annotation collections already from sequence objects.  
>> AnnotationAdaptor doesn't care whether the primary_tag, or any  
>> other tag, is from an ontology.
>
> Ah, forgot it returns a Collection.  It doesn't modify the SF I  
> assume?

No, not if you only use getters. It does support adding annotation  
too, though.

	-hilmar
-- 
===========================================================
: Hilmar Lapp  -:-  Durham, NC  -:-  hlapp at gmx dot net :
===========================================================








More information about the Bioperl-l mailing list