[Bioperl-l] Compliance of Bio::Seq add_SeqFeature() method

Fields, Christopher J cjfields at illinois.edu
Mon Mar 5 02:15:59 UTC 2012


On Mar 5, 2012, at 5:04 PM, Florent Angly wrote:

> On 05/03/12 06:30, Fields, Christopher J wrote:
>> What do other FeatureHolderI do?
> 
> Bio::SeqFeature::Generic does it as defined in Bio::FeatureHolderI, i.e.:
>> Usage   : $feat->add_SeqFeature($subfeat);
>>           $feat->add_SeqFeature($subfeat,'EXPAND');
> 
> Note that it does not simply accept 'EXPAND', but it actually, acts on it.
> 
> Florent

Yes, that matches up.  My guess is the interface was developed originally with this in mind, but was (ab)used for Bio::Seq w/o changing the method.

chris






More information about the Bioperl-l mailing list