Back to index

python-biopython  1.60
Public Member Functions | Private Member Functions
Bio.SeqFeature.UnknownPosition Class Reference
Inheritance diagram for Bio.SeqFeature.UnknownPosition:
Inheritance graph
Collaboration diagram for Bio.SeqFeature.UnknownPosition:
Collaboration graph

List of all members.

Public Member Functions

def __repr__
def __hash__
def position
def extension

Private Member Functions

def _shift
def _flip

Detailed Description

Specify a specific position which is unknown (has no position).

This is used in UniProt, e.g. ? or in the XML as unknown.

Definition at line 849 of file

Member Function Documentation

Definition at line 859 of file

00860     def __hash__(self):
00861         return hash(None)

String representation of the UnknownPosition location for debugging.

Reimplemented from Bio.SeqFeature.AbstractPosition.

Definition at line 855 of file

00856     def __repr__(self):
00857         """String representation of the UnknownPosition location for debugging."""
00858         return "%s()" % self.__class__.__name__

def Bio.SeqFeature.UnknownPosition._flip (   self,
) [private]

Definition at line 875 of file

00876     def _flip(self, length):
00877         return self
def Bio.SeqFeature.UnknownPosition._shift (   self,
) [private]

Definition at line 872 of file

00873     def _shift(self, offset):
00874         return self

Legacy attribute to get extension (zero) as integer (OBSOLETE).

Definition at line 868 of file

00869     def extension(self):
00870         """Legacy attribute to get extension (zero) as integer (OBSOLETE)."""
00871         return 0

Legacy attribute to get position (None) (OBSOLETE).

Definition at line 863 of file

00864     def position(self):
00865         """Legacy attribute to get position (None) (OBSOLETE)."""
00866         return None

Here is the caller graph for this function:

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