bioperl / bioperl-live-redmine

Legacy tickets migrated from the OBF Redmine issue tracker: http://redmine.open-bio.org
0 stars 0 forks source link

SeqFeature with different sequence IDs but same range return true with overlaps() #70

Open cjfields opened 8 years ago

cjfields commented 8 years ago

Author Name: Chris Fields (@cjfields) Original Redmine Issue: 2989, https://redmine.open-bio.org/issues/2989 Original Date: 2010-01-13 Original Assignee: Bioperl Guts


Checking SeqFeatures (at least Bio::SeqFeature::Generic) with overlaps() or contains() returns true with Bio::RangeI methods when features have different seq IDs (e.g. could be considered on separate chromosomes).

Not sure how this affects other SeqFeatureI, but one would assume unless the relevant RangeI methods ore overridden this bug may manifest in some cases.

cjfields commented 8 years ago

Original Redmine Comment Author Name: Chris Fields Original Date: 2010-01-13T11:39:21Z


Created an attachment (id=1430) test script demonstrating the bug (uses Test::More, so can be ported to test suite)