Table of Contents

Module: __init__ Bio/SCOP/__init__.py

SCOP: Structural Classification of Proteins.

The SCOP database aims to provide a manually constructed classification of all know protein structures into a hierarchy, the main levels of which are family, superfamily and fold.

The Scop object in this module represents the entire SCOP classification. It can be built from the three SCOP parsable files, modified is so desired, and converted back to the same file formats. A single SCOP domain (represented by the Domain class) can be obtained from Scop using the domain's SCOP identifier (sid).

nodeCodeDict
A mapping between known 2 letter node codes and a longer description. The known node types are cl (class), cf (fold), sf (superfamily), fa (family), dm (domain), sp (species), px (domain). Additional node types may be added in the future.
Imported modules   
import Cla
import Des
import Hie
from Residues import *
from types import *
Functions   
cmp_sccs
parse_domain
  cmp_sccs 
cmp_sccs ( sccs1,  sccs2 )

Order SCOP concise classification strings (sccs).

  1. 4.5.1 < a.4.5.11 < b.1.1.1

A sccs (e.g. a.4.5.11) compactly represents a domain's classification. The letter represents the class, and the numbers are the fold, superfamily, and family, respectively.

  parse_domain 
parse_domain ( str )

Convert an ASTRAL header string into a Scop domain.

An ASTRAL (http://astral.stanford.edu/) header contains a concise description of a SCOP domain. A very similar format is used when a Domain object is converted into a string. The Domain returned by this method contains most of the SCOP information, but it will not be located within the SCOP hierarchy (i.e. The parent node will be None). The description is composed of the SCOP protein and species descriptions.

A typical ASTRAL header looks like
>d1tpt_1 a.46.2.1 (1-70) Thymidine phosphorylase {Escherichia coli}
Exceptions   
SyntaxError, "Domain: " + str
Classes   
Domain

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

Node

A node in the Scop hierarchy

Scop

The entire SCOP hierarchy.


Table of Contents

This document was automatically generated on Mon Jul 1 12:02:55 2002 by HappyDoc version 2.0.1