Back to index

python-biopython  1.60
Public Member Functions | Public Attributes | Static Private Attributes
Bio.FSSP.FSSPSumRec Class Reference

List of all members.

Public Member Functions

def __init__
def __repr__

Public Attributes

 raw
 nr
 pdb1
 chain1
 pdb2
 chain2
 zscore
 rmsd
 lali
 lseq2
 pID
 revers
 permut
 nfrag
 topo
 doc

Static Private Attributes

 __str__ = __repr__

Detailed Description

Contains info from an FSSP summary record

Definition at line 88 of file __init__.py.


Constructor & Destructor Documentation

def Bio.FSSP.FSSPSumRec.__init__ (   self,
  in_str 
)

Definition at line 90 of file __init__.py.

00090 
00091    def __init__(self,in_str):
00092       self.raw = in_str
00093       in_rec = in_str.strip().split()
00094       # print in_rec
00095       self.nr = int(in_rec[0][:-1])
00096       self.pdb1 = in_rec[1][:4]
00097       if len(in_rec[1]) == 4:
00098          self.chain1='0'
00099       elif len(in_rec[1]) == 5:
00100          self.chain1=in_rec[1][4]
00101       else:
00102          raise ValueError('Bad PDB ID 1')
00103       self.pdb2 = in_rec[2][:4]
00104       if len(in_rec[2]) == 4:
00105          self.chain2='0'
00106       elif len(in_rec[2]) == 5:
00107          self.chain2=in_rec[2][4]
00108       else:
00109          raise ValueError('Bad PDB ID 2')
00110       self.zscore = float(in_rec[3])
00111       self.rmsd = float(in_rec[4])
00112       self.lali = float(in_rec[5])
00113       self.lseq2 = float(in_rec[6])
00114       self.pID = float(in_rec[7])
00115       self.revers = int(in_rec[8])
00116       self.permut = int(in_rec[9])
00117       self.nfrag = int(in_rec[10])
00118       self.topo = in_rec[11]
00119       self.doc = ''
00120       for i in in_rec[12:]:
00121          self.doc = self.doc + i + ' '
00122       self.doc = self.doc.rstrip() + '\n'

Here is the caller graph for this function:


Member Function Documentation

Definition at line 123 of file __init__.py.

00123 
00124    def __repr__(self):
      return self.raw

Member Data Documentation

Definition at line 125 of file __init__.py.

Definition at line 97 of file __init__.py.

Definition at line 104 of file __init__.py.

Definition at line 118 of file __init__.py.

Definition at line 111 of file __init__.py.

Definition at line 112 of file __init__.py.

Definition at line 116 of file __init__.py.

Definition at line 94 of file __init__.py.

Definition at line 95 of file __init__.py.

Definition at line 102 of file __init__.py.

Definition at line 115 of file __init__.py.

Definition at line 113 of file __init__.py.

Definition at line 91 of file __init__.py.

Definition at line 114 of file __init__.py.

Definition at line 110 of file __init__.py.

Definition at line 117 of file __init__.py.

Definition at line 109 of file __init__.py.


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