Package Bio :: Package PDB :: Module Residue :: Class DisorderedResidue
[hide private]
[frames] | no frames]

Class DisorderedResidue

source code

Entity.DisorderedEntityWrapper --+
                                 |
                                DisorderedResidue

DisorderedResidue is a wrapper around two or more Residue objects. It is used to represent point mutations (e.g. there is a Ser 60 and a Cys 60 residue, each with 50 % occupancy).

Instance Methods [hide private]
 
__init__(self, id) source code
 
__repr__(self) source code
 
add(self, atom) source code
 
sort(self)
Sort the atoms in the child Residue objects.
source code
 
disordered_add(self, residue)
Add a residue object and use its resname as key.
source code

Inherited from Entity.DisorderedEntityWrapper: __getattr__, __setitem__, detach_parent, disordered_get, disordered_get_id_list, disordered_get_list, disordered_has_id, disordered_select, get_id, get_parent, is_disordered, set_parent

Method Details [hide private]

__init__(self, id)
(Constructor)

source code 
Overrides: Entity.DisorderedEntityWrapper.__init__

disordered_add(self, residue)

source code 

Add a residue object and use its resname as key.

Arguments: o residue - Residue object

Overrides: Entity.DisorderedEntityWrapper.disordered_add