Package Bio :: Package PDB :: Module Dice :: Class ChainSelector
[hide private]
[frames] | no frames]

Class ChainSelector

source code

object --+
         |
        ChainSelector


Only accepts residues with right chainid
and between start and end. Remove hydrogens, waters and ligands.
Only use model 0 by default.

Instance Methods [hide private]
 
__init__(self, chain_id, start, end, model_id=0)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
accept_model(self, model) source code
 
accept_chain(self, chain) source code
 
accept_residue(self, residue) source code
 
accept_atom(self, atom) source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, chain_id, start, end, model_id=0)
(Constructor)

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

Overrides: object.__init__
(inherited documentation)