Class Residues
source code
object --+
|
Residues
A collection of residues from a PDB structure.
This class provides code to work with SCOP domain definitions. These
are concisely expressed as a one or more chain fragments. For example,
"(1bba A:10-20,B:)" indicates residue 10 through 20 (inclusive)
of chain A, and every residue of chain B in the pdb structure 1bba. The
pdb id and brackets are optional. In addition "-" indicates
every residue of a pbd structure with one unnamed chain.
Start and end residue ids consist of the residue sequence number and
an optional single letter insertion code. e.g. "12",
"-1", "1a", "1000"
pdbid -- An optional PDB id, e.g. "1bba"
fragments -- A sequence of tuples (chainID, startResID, endResID)
|
__init__(self,
str=None)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|
Inherited from object :
__class__
|
x.__init__(...) initializes x; see help(type(x)) for signature
- Overrides:
object.__init__
- (inherited documentation)
|
__str__(self)
(Informal representation operator)
| source code
|
str(x)
- Overrides:
object.__str__
- (inherited documentation)
|