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
Fragment
__getitem__(self, res)
Returns: fragment classification
source code
 
__init__(self, model, lsize=20, flength=5, fdir='.')
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_map(self, model) 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.

Parameters:

__getitem__(self, res)
(Indexing operator)

source code 
Parameters:
Returns: Fragment
fragment classification

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

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • model (Model) - the model that will be mapped
  • lsize (int) - number of fragments in the library
  • flength (int) - length of fragments in the library
  • fdir (string) - directory where the definition files are found (default=".")
Overrides: object.__init__

_map(self, model)

source code 
Parameters:
  • model (Model) - the model that will be mapped

has_key(self, res)

source code 

(Obsolete)

Parameters: