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).
|
|