Package Bio :: Package PDB :: Module FragmentMapper' :: Class FragmentMapper
[hide private]
[frames] | no frames]

Class FragmentMapper

source code

object --+
         |
        FragmentMapper


Map polypeptides in a model to lists of representative fragments.

Instance Methods [hide private]
 
__contains__(self, res)
True if the given residue is in any of the mapped fragments.
source code
 
__getitem__(self, res)
@type res: L{Residue}
source code
 
__init__(self, model, lsize=20, flength=5, fdir='.')
@param model: the model that will be mapped @type model: L{Model}
source code
 
_map(self, model)
@param model: the model that will be mapped...
source code
 
has_key(self, res)
(Obsolete)
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]

__contains__(self, res)
(In operator)

source code 
True if the given residue is in any of the mapped fragments.

@type res: L{Residue}

__getitem__(self, res)
(Indexing operator)

source code 

@type res: L{Residue}

@return: fragment classification
@rtype: L{Fragment}

__init__(self, model, lsize=20, flength=5, fdir='.')
(Constructor)

source code 

@param model: the model that will be mapped
@type model: L{Model}

@param lsize: number of fragments in the library
@type lsize: int

@param flength: length of fragments in the library
@type flength: int

@param fdir: directory where the definition files are
    found (default=".")
@type fdir: string

Overrides: object.__init__

_map(self, model)

source code 

@param model: the model that will be mapped
@type model: L{Model}

has_key(self, res)

source code 
(Obsolete)

@type res: L{Residue}