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

Class ChainSelector

source code

object --+

Only accepts residues with right chainid, 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)
Initialize the class.
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)

source code 
Initialize the class.
Overrides: object.__init__