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

Class BeforePosition

source code

AbstractPosition --+
                   |
                  BeforePosition

Specify a position where the actual location occurs before it.

Arguments: o position - The upper boundary of where the location can occur. o extension - An optional argument which must be zero since we don't have an extension. The argument is provided so that the same number of arguments can be passed to all position types.

This is used to specify positions like (<10..100) where the location occurs somewhere before position 10.

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

Inherited from AbstractPosition: __cmp__

Method Details [hide private]

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

source code 
Overrides: AbstractPosition.__init__