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)
Check if the given residue is in any of the mapped fragments.
source code
L{Fragment}
__getitem__(self, res)
Get an entry.
source code
 
__init__(self, model, lsize=20, flength=5, fdir='.')
Create instance of FragmentMapper.
source code
 
_map(self, model)
Map (PRIVATE).
source code
 
has_key(self, res)
Is this residue present? (DEPRECATED).
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 
Check if the given residue is in any of the mapped fragments.
Parameters:
  • res (L{Residue})

__getitem__(self, res)
(Indexing operator)

source code 
Get an entry.
Parameters:
  • res (L{Residue})
Returns: L{Fragment}
fragment classification

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

source code 
Create instance of FragmentMapper.
Parameters:
  • model (L{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 
Map (PRIVATE).
Parameters:
  • model (L{Model}) - the model that will be mapped

has_key(self, res)

source code 
Is this residue present? (DEPRECATED).
Parameters:
  • res (L{Residue})