[Bioperl-l] sequence upgrading

Hilmar Lapp hlapp at gnf.org
Thu Jun 26 18:33:50 EDT 2003


On Thursday, June 26, 2003, at 05:07  PM, Marc Logghe wrote:

> Can you give a simple object to a constructor of a rich sequence class 
> ?
>

You mean a copy-constructor? I'm afraid no.

You could re-bless it -- but you'd be on your own if you do this ...

If you know the attributes you want to copy you could pass them as 
named parameters all together as one call.

Care to write a copy-constructor for e.g. Bio::Seq and 
Bio::Seq::RichSeq?

	-hilmar
-- 
-------------------------------------------------------------
Hilmar Lapp                            email: lapp at gnf.org
GNF, San Diego, Ca. 92121              phone: +1-858-812-1757
-------------------------------------------------------------



More information about the Bioperl-l mailing list