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

Type HieRecord

object --+
         |
        HieRecord


Handle the SCOP HIErarchy files, which describe the SCOP hierarchy in
terms of SCOP unique identifiers (sunid).

The file format is described in the scop
"release notes.":http://scop.berkeley.edu/release-notes-1.55.html 
The latest HIE file can be found
"elsewhere at SCOP.":http://scop.mrc-lmb.cam.ac.uk/scop/parse/

"Release 1.55":http://scop.berkeley.edu/parse/dir.hie.scop.txt_1.55     
Records consist of 3 tab deliminated fields; node's sunid,
parent's sunid, and a list of children's sunids. For example ::

0       -       46456,48724,51349,53931,56572,56835,56992,57942
21953   49268   -
49267   49266   49268,49269

Each 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

Method Summary
  __init__(self, record)
  __str__(self)
  records(hie_file)
Iterates over a DOM file, generating DomRecords... (Static method)
    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...

Static Method Details

records(hie_file)

Iterates over a DOM file, generating DomRecords

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