Package corebio :: Package resource :: Module scop :: Class Node
[frames | no frames]

Type Node

object --+
         |
        Node

Known Subclasses:
Domain

A node in the Scop hierarchy

sunid  -- SCOP unique identifiers. e.g. '14986'
parent -- The parent node
children -- A list of child nodes
sccs     -- SCOP concise classification string. e.g. 'a.1.1.2'
type     -- A 2 letter node type code. e.g. 'px' for domains
description --

Method Summary
  __init__(self)
A new, uninitilized SCOP node.
  __str__(self)
  ascendent(self, node_type)
Return the ancestor node of the given type, or None.
  descendents(self, node_type)
Return a list of all decendent nodes of the given type.
  to_des_record(self)
Return a Des.Record...
  to_hie_record(self)
Return an Hie.Record...
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name...
  __getattribute__(...)
x.__getattribute__('name') <==> x.name...
  __hash__(x)
x.__hash__() <==> hash(x)...
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle...
  __reduce_ex__(...)
helper for pickle...
  __repr__(x)
x.__repr__() <==> repr(x)...
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value...

Method Details

__init__(self)
(Constructor)

A new, uninitilized SCOP node.
Overrides:
__builtin__.object.__init__

ascendent(self, node_type)

Return the ancestor node of the given type, or None. Node type can 
be a two letter code or longer description. e.g. 'fa' or 'family'

descendents(self, node_type)

Return a list of all decendent nodes of the given type. Node type
can be a two letter code or longer description. e.g. 'fa' or 'family'

to_des_record(self)

Return a Des.Record

to_hie_record(self)

Return an Hie.Record

Generated by Epydoc 2.1 on http://epydoc.sf.net