Bio.SCOP.Hie模块

处理SCOP HIERarchy文件。

SCOP层次结构文件根据SCOP唯一标识符(sunid)描述SCOP层次结构。

SCOP中描述了文件格式 release notes .

可以找到最新的IE文件 elsewhere at SCOP .

Release 1.55 (July 2001年)。

class Bio.SCOP.Hie.Record(line=None)

基类:object

保存SCOP层次结构中一个节点的信息。

属性:
  • sunid -此节点的SCOP唯一标识符

  • 父母-父母苏尼德

  • 儿童-儿童sunids序列

__init__(line=None)

初始化课程。

__str__()

将SCOP层次结构记录表示为字符串。

__firstlineno__ = 23
__static_attributes__ = ('children', 'parent', 'sunid')
Bio.SCOP.Hie.parse(handle)

重复IE文件,因为Hie记录每一行。

论点:
  • handle -类似文件的对象。