Package Bio :: Package SCOP :: Class Domain
[hide private]
[frames] | no frames]

Class Domain

source code

object --+    
         |    
      Node --+
             |
            Domain

A SCOP domain. A leaf node in the Scop hierarchy.

sid      -- The SCOP domain identifier. e.g. 'd5hbib_'

residues -- A Residue object. It defines the collection
              of PDB atoms that make up this domain.

Instance Methods [hide private]
 
__init__(self, scop=None)
Create a Node in the scop hierarchy.
source code
 
__str__(self)
str(x)
source code
 
toDesRecord(self)
Return a Des.Record
source code
 
toClaRecord(self)
Return a Cla.Record
source code

Inherited from Node: getAscendent, getChildren, getDescendents, getParent, toHieRecord

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, scop=None)
(Constructor)

source code 
Create a Node in the scop hierarchy.  If a Scop instance is provided to the
constructor, this will be used to lookup related references using the SQL
methods.  If no instance is provided, it is assumed the whole tree exists
and is connected.

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 
str(x)

Overrides: object.__str__
(inherited documentation)

toDesRecord(self)

source code 
Return a Des.Record

Overrides: Node.toDesRecord