Home | Trees | Indices | Help |
|
---|
|
|
|||
str
|
idFromName(self,
fname) Extract PDB code from file name. |
||
|
update(self,
model,
source,
skipRes=None,
lookHarder=0) Update empty or missing fields of model from the source. |
||
|
__xplorAtomIndicesTest(self,
source) In some cases the setup with parallell xplor trajectories run out of atom indices when writing the pdb files to disc. |
||
letter
|
__firstLetter(self,
aName) Return first letter in a string (e.g. |
||
( list, array )
|
__collectAll(self,
fname,
skipRes=None) Parse ATOM/HETATM lines from PDB. |
||
Inherited from Inherited from |
|
|||
bool
|
supports(source) The method is static and can thus be called directly with the parser class rather than with an instance: |
||
str
|
description() The method is static and can thus be called directly with the parser class rather than with an instance: |
|
|||
Inherited from |
|
The method is static and can thus be called directly with the parser class rather than with an instance: >>> if PDBParser.supports('myfile.pdb'): >>> ...
|
The method is static and can thus be called directly with the parser class rather than with an instance: >>> if PDBParser.description('myfile.pdb'): >>> ...
|
Extract PDB code from file name.
|
Update empty or missing fields of model from the source. The model will be connected to the source via model.source.
|
In some cases the setup with parallell xplor trajectories run out of atom indices when writing the pdb files to disc. When this happens (usualy for the TIP3 waters in the later of the 10 parallell trajectories) the atom indices get replaced with ***** which will cause the parsing to fail. The error message recieved is quite cryptic - this function is here to give a more comprehensible message.
|
Return first letter in a string (e.g. atom mane)
|
Parse ATOM/HETATM lines from PDB. Collect coordinates plus dictionaries with the other pdb records of each atom. REMARK, HEADER, etc. lines are ignored. Some changes are made to the dictionary from PDBFile.readline():- the 'position' entry (with the coordinates) is removed - leading and trailing spaces are removed from 'name' .. - .. but a 'name_original' entry keeps the old name with spaces - a 'type' entry is added. Its value is 'ATOM' or 'HETATM' - a 'after_ter' entry is added. Its value is 1, if atom is preceeded by a 'TER' line, otherwise 0 - empty 'element' entries are filled with the first non-number letter from the atom 'name'
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri Dec 22 20:11:45 2006 | http://epydoc.sourceforge.net |