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

Class BetweenPosition

source code

      object --+    
               |    
AbstractPosition --+
                   |
                  BetweenPosition

Specify the position of a boundary between two coordinates (OBSOLETE?).

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)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__str__(self)
str(x)
source code

Inherited from AbstractPosition: __eq__, __ge__, __gt__, __hash__, __le__, __lt__, __ne__, __repr__

Inherited from AbstractPosition (private): _flip, _shift

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)