Table of Contents

Module: Location Bio/SCOP/Location.py

Location.py

This module provides code to work with protein locations described in SCOP files.

parse Parse a location string into a list of (chain, start, end). str Represent a location as a string.

Functions   
parse
str
  parse 
parse ( str )

parse(str) -> list of tuples (chain, start, end).

str is the string that describes the location of the domain.

Exceptions   
SyntaxError, "I don't understand the chain in %s" % l
SyntaxError, "I don't understand the format of %s" % l
  str 
str ( locations )

str(locations) -> string

Represent as a string. locations is a list of tuples (chain, start, end).


Table of Contents

This document was automatically generated on Sat Jul 7 09:49:56 2001 by HappyDoc version r1_5