[Bioperl-l] Bio::SeqFeature::Generic clone()
Lincoln Stein
lincoln.stein at gmail.com
Mon Jun 14 12:35:28 EDT 2010
I suggest that you use Data::Dumper to implement clone (or alternatively
Storable's dclone() method). I just had a look at how I did the clone in
Lite, and it is a bit fragile if someone subclasses Lite.
I also think there is a Clone module in CPAN.
Lincoln
On Mon, Jun 14, 2010 at 12:30 PM, Jay Hannah <jay at jays.net> wrote:
> Hola,
>
> I seem to be in need of an easy way to copy features. Bio::SeqFeature::Lite
> has a clone() method, but Bio::SeqFeature::Generic doesn't. So I'll be
> adding one unless someone points out that this is a bad idea for some
> reason.
>
> Also, this seems insufficient for a branch, so it'll just be a single
> commit to master unless someone slaps me.
>
> Thanks,
>
> Jay Hannah
> http://biodoc.ist.unomaha.edu/wiki/User:Jhannah
>
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
>
--
Lincoln D. Stein
Director, Informatics and Biocomputing Platform
Ontario Institute for Cancer Research
101 College St., Suite 800
Toronto, ON, Canada M5G0A3
416 673-8514
Assistant: Renata Musa <Renata.Musa at oicr.on.ca>
More information about the Bioperl-l
mailing list