| Home | Trees | Index | Help |
|
|---|
| Package corebio :: Package resource :: Module scop :: Class Scop |
|
object --+
|
Scop
The entire SCOP hierarchy.
root -- The root node of the hierarchy
domains -- A list of all domains
nodes_by_sid -- A dictionary of nodes indexed by SCOP identifier
(e.g. 'd1hbia_')
domains_by_sunid -- A dictionary of domains indexed by SCOP uniquie
identifiers (e.g. 14996)
| Method Summary | |
|---|---|
An empty Scop object. | |
Build the SCOP hierarchy from the SCOP parsable files. (Class method) | |
Build the SCOP hierarchy from the SCOP parsable files. (Class method) | |
Build a CLA SCOP parsable file from this object... | |
Build a DES SCOP parsable file from this object... | |
Build an HIE SCOP parsable file from this object... | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... | |
helper for pickle... | |
helper for pickle... | |
x.__repr__() <==> repr(x)... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... | |
| Instance Method Details |
|---|
__init__(self)
|
write_cla(self, stream)Build a CLA SCOP parsable file from this object |
write_des(self, stream)Build a DES SCOP parsable file from this object |
write_hie(self, stream)Build an HIE SCOP parsable file from this object |
| Class Method Details |
|---|
parse(cls, dir_path, version)
Build the SCOP hierarchy from the SCOP parsable files.
- dir_path -- A directory that contains the SCOP files
- version -- The SCOP version (as a string)
The SCOP files are named dir.XXX.scop.txt_VERSION, where XXX
is 'cla', 'des' or 'hie'.
|
parse_files(cls, cla_file, des_file, hie_file)Build the SCOP hierarchy from the SCOP parsable files. - cla_file -- the CLA clasification file - des_file -- the DES description file - hie_file -- the HIE hierarchy file |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on | http://epydoc.sf.net |