Back to index

python-biopython  1.60
Public Member Functions | Public Attributes
Bio.SeqFeature.PositionGap Class Reference

List of all members.

Public Member Functions

def __init__
def __repr__
def __str__

Public Attributes

 gap_size

Detailed Description

Simple class to hold information about a gap between positions.

Definition at line 1327 of file SeqFeature.py.


Constructor & Destructor Documentation

def Bio.SeqFeature.PositionGap.__init__ (   self,
  gap_size 
)
Intialize with a position object containing the gap information.

Definition at line 1330 of file SeqFeature.py.

01330 
01331     def __init__(self, gap_size):
01332         """Intialize with a position object containing the gap information.
01333         """
01334         self.gap_size = gap_size


Member Function Documentation

A string representation of the position gap for debugging.

Definition at line 1335 of file SeqFeature.py.

01335 
01336     def __repr__(self):
01337         """A string representation of the position gap for debugging."""
01338         return "%s(%s)" % (self.__class__.__name__, repr(self.gap_size))
    

Definition at line 1339 of file SeqFeature.py.

01339 
01340     def __str__(self):
01341         out = "gap(%s)" % self.gap_size
01342         return out


Member Data Documentation

Definition at line 1333 of file SeqFeature.py.


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