Package Bio :: Module SeqFeature :: Class BetweenPosition
[show private | hide private]
[frames | no frames]

Class BetweenPosition

AbstractPosition --+
                   |
                  BetweenPosition


Specify the position of a boundary between two coordinates.

Arguments: o position - The start position of the boundary. o extension - The range to the other position of a boundary.

This specifies a coordinate which is found between the two positions. So this allows us to deal with a position like ((1^2)..100). To represent that with this class we set position as 1 and the extension as 1.
Method Summary
  __init__(self, position, extension)
  __str__(self)
    Inherited from AbstractPosition
  __cmp__(self, other)
A simple comparison function for positions.

Generated by Epydoc 2.1 on Sat Jul 16 15:48:58 2005 http://epydoc.sf.net