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

Class BetweenPosition

source code

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.

Instance Methods [hide private]
 
__init__(self, position, extension=0) source code
 
__str__(self) source code

Inherited from AbstractPosition: __cmp__, __repr__

Inherited from AbstractPosition (private): _shift

Method Details [hide private]

__init__(self, position, extension=0)
(Constructor)

source code 
Overrides: AbstractPosition.__init__