Package Bio :: Package SCOP :: Module Des :: Class Record
[hide private]
[frames] | no frames]

Class Record

source code

object --+
         |
        Record

Holds information for one node in the SCOP hierarchy.

Attributes:

 - sunid - SCOP unique identifiers
 - nodetype - One of 'cl' (class), 'cf' (fold), 'sf' (superfamily),
   'fa' (family), 'dm' (protein), 'sp' (species), 'px' (domain).
   Additional node types may be added.
 - sccs - SCOP concise classification strings. e.g. b.1.2.1
 - name - The SCOP ID (sid) for domains (e.g. d1anu1), currently empty for other node types
 - description - e.g. "All beta proteins","Fibronectin type III",

Instance Methods [hide private]
 
__init__(self, line=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_process(self, line)
Parses DES records.
source code
 
__str__(self)
str(x)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, line=None)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

_process(self, line)

source code 
Parses DES records.

Records consist of 5 tab deliminated fields,
sunid, node type, sccs, node name, node description.

__str__(self)
(Informal representation operator)

source code 
str(x)

Overrides: object.__str__
(inherited documentation)