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

Class OneOfPosition

AbstractPosition --+
                   |
                  OneOfPosition


Specify a position where the location can be multiple positions.

This models the GenBank 'one-of(1888,1901)' function, and tries to make this fit within the Biopython Position models. In our case the position of the "one-of" is set as the lowest choice, and the extension is the range to the highest choice.
Method Summary
  __init__(self, position_list)
Initialie with a set of posssible positions.
  __str__(self)
    Inherited from AbstractPosition
  __cmp__(self, other)
A simple comparison function for positions.

Method Details

__init__(self, position_list)
(Constructor)

Initialie with a set of posssible positions.

position_list is a list of AbstractPosition derived objects, specifying possible locations.
Overrides:
Bio.SeqFeature.AbstractPosition.__init__

Generated by Epydoc 2.1 on Wed Jan 31 09:59:42 2007 http://epydoc.sf.net