[Biojava-l] circular musings

Schreiber, Mark mark.schreiber@agresearch.co.nz
Mon, 16 Jul 2001 09:46:19 +1200


Hi -

I have been thinking further about the Circular classes from biojava and I
have decided that CircularSequence is almost deprecated in favour of
CircularView with one minor reservation. There doesn't seem to be a way to
serialize view objects even though the underlying object may be.

Any ideas?

This will have the advantage of simplifying the casting of Circular Objects
from say a SequenceDB.

I also like the idea of having a CircularLocation as a decorator although I
would like to propose that it have a second constructor that creates its own
RangeLocation to wrap. This is because (for simplicity) a CircularLocation
should be allowed to have a max less than a min. This can be done by making
the max longer than the length of the sequence when making a RangeLocation
but it would be nice to hid the nescessary conversion.

Any thoughts or objections?

Mark

Mark Schreiber
Bioinformatics
AgResearch Invermay
PO Box 50034
Mosgiel
New Zealand

PH: +64 3 489 9175

 


========================================================================
Attention:
The information contained in this message and or attachments is intended
only for the person or entity 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 recipient
is prohibited.  If you have received this message in error, please notify
the sender immediately.