[Bioperl-l] Bio::SeqFeature::Generic clone()
cjfields at illinois.edu
Mon Jun 14 12:58:40 EDT 2010
Both Data::Dumper and Storable are part of perl core now. I've used Clone.pm w/o problems in some of my code, and wouldn't have a problem adding that as a dependency for bioperl (it's currently listed as a recommended module).
On Jun 14, 2010, at 11:35 AM, Lincoln Stein wrote:
> 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.
> On Mon, Jun 14, 2010 at 12:30 PM, Jay Hannah <jay at jays.net> wrote:
>> 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
>> Also, this seems insufficient for a branch, so it'll just be a single
>> commit to master unless someone slaps me.
>> Jay Hannah
>> Bioperl-l mailing list
>> Bioperl-l at lists.open-bio.org
> 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>
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
More information about the Bioperl-l