Home | Trees | Indices | Help |
|
---|
|
>>> pm = Pymoler() >>> pm.addPdb( model ) >>> pm.run()
Notes:
|
|||
| __init__(self, full=0, mode='w', verbose=1, **kw) | ||
| __del__(self) | ||
|
flush(self) Flush output file (but keep it open). |
||
|
add(self,
str) Add String str and line break to file. |
||
str
|
addMovie(self,
pdb,
modName=None) Add one or several existing pdb files or Structure objects to one model. |
||
|
addFrame(self,
frame,
modName) Add file(s) or Structure(s) to an EXISTING model as movie. |
||
str
|
_getFreeModName(self,
base,
index) Return next free model name in dictionary, made up from base + index |
||
str
|
addPdb(self,
pdb,
modName=None) Add one or several existing pdbs. |
||
|
makeSel(self,
selDic) Make a selection. |
||
|
writeStructures(self) Write all needed PDB files to disc. |
||
|
addDeleteScript(self) Deletes the pymol script file from disc |
||
|
addDeletePdbs(self) Deletes the pdb-files in the list from disc |
||
|
setAtomValues(self,
model,
values,
key='temperature_factor',
lastOnly=0) Add numeric value to all atoms of all Structures or the last Structure in a model.. |
||
|
setResValues(self,
model,
values,
key='temperature_factor',
lastOnly=0) Add numeric value per residue to all atoms of all Structures or the last Structure in a model. |
||
|
colorAtoms(self,
model,
values,
lastOnly=0) Color atoms of this model by list of values. |
||
|
colorRes(self,
model,
values,
lastOnly=0) Color residues of this model by list of values. |
||
[str]
|
addColors(self,
nColors,
firstColor=[1.0,0.0,0.0],
lastColor=[0.0,1.0,0.0]) Define a range of colors that can be called in PyMol by name. |
||
|
initPymol(self) Do some stuff always first... |
||
|
prepare(self,
cleanUp=1) Overrides Executor method. |
||
|
show(self) Backward compatability with old scripts. |
|
|
|
Flush output file (but keep it open). |
Add String str and line break to file.
|
Add one or several existing pdb files or Structure objects to one model. Several files will hence end up as single movie (i.e. as frames of a model in PyMol).
|
Add file(s) or Structure(s) to an EXISTING model as movie.
|
Return next free model name in dictionary, made up from base + index
|
Add one or several existing pdbs. Make sure all go into different models (have different model names).
|
Make a selection.
|
Write all needed PDB files to disc. |
Deletes the pymol script file from disc |
Deletes the pdb-files in the list from disc |
Add numeric value to all atoms of all Structures or the last Structure in a model.. The values will be written to either the B- (temperature_factor) or Q-factor 'occupancy' column in the temporary pdb-file. These values can then be used to display properties in PyMol via commands like 'color_b' and 'color_q'. See also setResValues.
|
Add numeric value per residue to all atoms of all Structures or the last Structure in a model. The values will be written to either the B- (temperature_factor) or Q-factor 'occupancy' column in the temporary pdb-file. These values can then be used to display properties in PyMol via commands like 'color_b' and 'color_q'. See also setAtomValues.
|
Color atoms of this model by list of values.
|
Color residues of this model by list of values.
|
Define a range of colors that can be called in PyMol by name.
|
Do some stuff always first... |
Overrides Executor method. |
Backward compatability with old scripts. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri Dec 22 20:11:46 2006 | http://epydoc.sourceforge.net |