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

Class DisorderedResidue

source code

                    object --+    
                             |    
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)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__repr__(self)
repr(x)
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: __contains__, __getattr__, __getitem__, __iter__, __len__, __setitem__, __sub__, detach_parent, disordered_get, disordered_get_id_list, disordered_get_list, disordered_has_id, disordered_select, get_id, get_parent, is_disordered, set_parent

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, id)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 
repr(x)

Overrides: object.__repr__
(inherited documentation)

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