Category:Uncategorized: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==Alter key bindings==
==Alter key bindings==
It's not GUI, but you could simply bind a function key such as F1 to a command:
It's not GUI, but you could simply bind a function key such as F1 to a command:
Line 15: Line 14:
set surface_color, level, molecule
set surface_color, level, molecule
</source>
</source>
==Van der Waals radii==
van der Waals Radii are hard coded in Pymol.
They may be obtained for given atoms from:
<source lang="python">
iterate (name C), print vdw
</source>
Default values are:
*C : 1.70
*O : 1.52
*N : 1.55
*H : 1.20
*P : 1.80
and may be changed with the command alter

Revision as of 03:55, 16 January 2007

Alter key bindings

It's not GUI, but you could simply bind a function key such as F1 to a command:

cmd.set_key('F1',lambda :cmd.show('sticks'))

Coloring Surface with Electrostatic Potential

You have to load the potential data by Delphi or some other program like AMBER version 9:

load sample.pdb, molecule
load sample.delphi, potential
show surface, molecule
ramp_new level, potential, [-7,0,7]
set surface_color, level, molecule

Van der Waals radii

van der Waals Radii are hard coded in Pymol. They may be obtained for given atoms from:

iterate (name C), print vdw

Default values are:

  • C : 1.70
  • O : 1.52
  • N : 1.55
  • H : 1.20
  • P : 1.80

and may be changed with the command alter

This category currently contains no pages or media.