Back to index

python-biopython  1.60
Public Member Functions
Bio.SeqFeature.UncertainPosition Class Reference
Inheritance diagram for Bio.SeqFeature.UncertainPosition:
Inheritance graph
[legend]
Collaboration diagram for Bio.SeqFeature.UncertainPosition:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __new__
def __repr__
def position
def extension

Detailed Description

Specify a specific position which is uncertain.

This is used in UniProt, e.g. ?222 for uncertain position 222, or in the
XML format explicitly marked as uncertain. Does not apply to GenBank/EMBL.

Definition at line 841 of file SeqFeature.py.


Member Function Documentation

def Bio.SeqFeature.ExactPosition.__new__ (   cls,
  position,
  extension = 0 
) [inherited]

Definition at line 813 of file SeqFeature.py.

00813 
00814     def __new__(cls, position, extension = 0):
00815         if extension != 0:
00816             raise AttributeError("Non-zero extension %s for exact position."
00817                                  % extension)
00818         return int.__new__(cls, position)

def Bio.SeqFeature.ExactPosition.__repr__ (   self) [inherited]
String representation of the ExactPosition location for debugging.

Reimplemented from Bio.SeqFeature.AbstractPosition.

Definition at line 819 of file SeqFeature.py.

00819 
00820     def __repr__(self):
00821         """String representation of the ExactPosition location for debugging."""
00822         return "%s(%i)" % (self.__class__.__name__, int(self))

def Bio.SeqFeature.ExactPosition.extension (   self) [inherited]
Legacy attribute to get extension (zero) as integer (OBSOLETE).

Definition at line 829 of file SeqFeature.py.

00829 
00830     def extension(self):
00831         """Legacy attribute to get extension (zero) as integer (OBSOLETE)."""
00832         return 0

def Bio.SeqFeature.ExactPosition.position (   self) [inherited]
Legacy attribute to get position as integer (OBSOLETE).

Definition at line 824 of file SeqFeature.py.

00824 
00825     def position(self):
00826         """Legacy attribute to get position as integer (OBSOLETE)."""
00827         return int(self)

Here is the caller graph for this function:


The documentation for this class was generated from the following file: