bioperl / bioperl-live-redmine

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

Reconciling RangeI methods for split and fuzzy locations #71

Open cjfields opened 8 years ago

cjfields commented 8 years ago

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


This report is a mix between a call for clarification and a bug report.

Currently, Bio::RangeI methods are not reconciled with regards to more complex Locations (split, fuzzy, etc). We need to indicate how these are treated and override ones that need special treatment, along with adding examples for testing.

This also affects some Bio::SeqFeatureI modules, as their Bio::RangeI methods for start/end/strand may delegate to an internal Bio::LocationI, but other RangeI boolean tests (overlaps, contains) or helper methods (subtracts) may not delegate similarly, leading to possible behavioral inconsistencies.