Back to index

python-biopython  1.60
Public Member Functions | Public Attributes | Private Member Functions
Bio.UniGene.STSLine Class Reference

List of all members.

Public Member Functions

def __init__
def __repr__

Public Attributes


Private Member Functions

def _init_from_text

Detailed Description

Store the information for one STS line from a Unigene file

Initialize with the text part of the STS line, or nothing.

Attributes and descriptions (access as LOWER CASE)

ACC=         GenBank/EMBL/DDBJ accession number of STS [optional field]
UNISTS=      identifier in NCBI's UNISTS database

Definition at line 171 of file

Constructor & Destructor Documentation

def Bio.UniGene.STSLine.__init__ (   self,
  text = None 

Definition at line 182 of file

00183     def __init__(self,text=None):
00184         self.acc = ''
00185         self.unists = ''
00186         if not text==None:
00187             self.text=text
00188             self._init_from_text(text)

Member Function Documentation

Definition at line 196 of file

00197     def __repr__(self):
00198         return self.text

def Bio.UniGene.STSLine._init_from_text (   self,
) [private]

Definition at line 189 of file

00190     def _init_from_text(self,text):
00191         parts = text.split(' ');
00193         for part in parts:
00194             key, val = part.split("=")
00195             setattr(self,key.lower(),val)

Member Data Documentation

Definition at line 183 of file

Definition at line 186 of file

Definition at line 184 of file

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