[Biojava-dev] Location Unions

Schreiber, Mark mark.schreiber@agresearch.co.nz
Tue, 8 Oct 2002 11:27:19 +1300


Hi -

Currently location unions are performed by merging contiguous blocks and
making compound locations where nescessary.

Ie this list of locations:

[1,20] [20,50] [45,90] forms the location {[1,20], [20,90]}.

One problem with this is that it doesn't allow the recovery of the
individual component locations through the block iterator. Would it be
better if the union gave the following

{[1,20],[20,50],[45,90]} I believe that such a beast would still behave
the same as the location above (although slightly heavier) and give the
benefit of locating its sub components. Any thoughts? Would this be
horribly inefficient?

Mark

Mark Schreiber PhD
Bioinformatics
AgResearch Invermay
PO Box 50034
Mosgiel
New Zealand
 
PH:   +64 3 489 9175
FAX:  +64 3 489 3739

=======================================================================
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
=======================================================================