[Biojava-l] subsequences

Thomas Down td2@sanger.ac.uk
Wed, 23 Jan 2002 21:56:48 +0000


On Thu, Jan 17, 2002 at 09:49:09PM +0000, Matthew Pocock wrote:
> 
> This issue of overlapping features on sub-sequences was one of my
> gripes, so it's nice to see it resolved. I too would be interested to
> know if anybody relies on the old behavior in any programs. As for child
> features, my gut says you should project them if they are wholely
> contained, project them as RemoteFeatures if they overlap the boundary
> and, of course, discard them if they fall outside the sub-sequence. This
> should be reasonably easy to implement as the rules for what to do work
> recursively. Also, it preserves the maximum amount of 'reasonable'
> information. If there are no objections, I'd realy like to see this
> before 1.2 is released.

Right, this is all now done (and checked in).  I've
added a couple of extra test methods to SubSequenceTest.java
which cover the new behaviour.

     Thomas.