[Bioperl-l] Bio::Range
Jason Stajich
jason@chg.mc.duke.edu
Tue, 17 Apr 2001 17:35:44 -0400 (EDT)
Point taken, cut and pasting away....
On Tue, 17 Apr 2001, Ewan Birney wrote:
> On Tue, 17 Apr 2001, Jason Stajich wrote:
>
> > On Tue, 17 Apr 2001, Ewan Birney wrote:
> >
> > > On Tue, 17 Apr 2001, Jason Stajich wrote:
> > >
> > > > Is there any reason why a Bio::Range object's start/end MUST be integers?
> > > > What is wrong with a double here?
> > >
> > > Why do you want to use a double (hmmm.. I'm guessing genetic map right)
> > >
> > exactly.
> >
> > wanted a general purpose range object to test for 'contains' and
> > 'overlaps'. Perhaps bioperl Range object is not the best one for this job
> > though. Just that I made my Marker objects Bio::SeqFeatureI's...
> >
>
> I'd argue the "overhead" for a little cut-and-paste will not harm us and
> keep things well defined. I dont even want to *think* about
> interpretations of double-ranges in the context of splits and fuzzy
> locations, and having if( $a->start == $b->start ) not working ...
>
>
> So --- if it is just for Maps, why not cut-and-paste? What does
> inherieting off SeqFeatureI by you but convention (which is a win of
> course...)
>
>
>
>
Jason Stajich
jason@chg.mc.duke.edu
Center for Human Genetics
Duke University Medical Center
http://www.chg.duke.edu/