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

Class Record

source code

object --+
         |
        Record

Holds information for one node in the SCOP hierarchy.

sunid      -- SCOP unique identifiers of this node

parent     -- Parents sunid

children   -- Sequence of childrens sunids

Instance Methods [hide private]
 
__init__(self, line=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_process(self, line)
Parses HIE 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 help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

_process(self, line)

source code 
Parses HIE records.

Records consist of 3 tab deliminated fields; node's sunid,
parent's sunid, and a list of children's sunids.

__str__(self)
(Informal representation operator)

source code 
str(x)

Overrides: object.__str__
(inherited documentation)