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

Class FragmentMapper

source code

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='.') source code
 
_map(self, model) source code
 
has_key(self, res)
(Obsolete)
source code
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 
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=".")

_map(self, model)

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

has_key(self, res)

source code 

(Obsolete)

Parameters: