[Bioperl-l] question about in-between overlapping exact location

George Hartzell hartzell at alerce.com
Wed May 6 15:48:14 UTC 2009


Chris Fields writes:
 > We should definitely come up with some test cases and expected results  
 > for this; e.g. whether 2^3 should overlap with 1..2 or 3..5, etc (I  
 > would guess, in the latter example, they shouldn't).

My expectations agree with your guess.

 > Also, as these are LocationI-specific, I'm not sure we should make  
 > changes to RangeI methods.  Maybe fix LocationI-specific bits within  
 > LocationI and delegate to RangeI::overlaps/etc in simple cases?

I think that LocationI would my intended victim.  I'll build up some
test cases w/ expected output and a patch and see what people think
before I commit it.

g.



More information about the Bioperl-l mailing list