Set Dihedral: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
===DESCRIPTION===
===DESCRIPTION===
'''set_dihedral''' sets a given dihedral angle give the four atoms and one angle.
'''set_dihedral''' sets a given dihedral angle given the four atoms and one angle.


===USAGE===
===USAGE===
set_dihedral atom1, atom2, atom3, atom4, angle [,state=1] [,quiet=1]
<source lang="python">
set_dihedral atom1, atom2, atom3, atom4, angle [,state=1] [,quiet=1]
</source>


===PYMOL API===
===PYMOL API===
Line 11: Line 13:


===EXAMPLES===
===EXAMPLES===
set_dihedral resi 40 and name N, resi 40 and name CA, resi 40 and  name CB, resi 40 and name CG, -180
<source lang="python">
set_dihedral resi 40 and name N, resi 40 and name CA, resi 40 and  name CB, resi 40 and name CG, -180
</source>


===SEE ALSO===
===SEE ALSO===

Revision as of 18:18, 29 April 2009

DESCRIPTION

set_dihedral sets a given dihedral angle given the four atoms and one angle.

USAGE

set_dihedral atom1, atom2, atom3, atom4, angle [,state=1] [,quiet=1]

PYMOL API

set_dihedral(string atom1,string atom2,string atom3,string atom4,float angle,state=1,quiet=1):

EXAMPLES

set_dihedral resi 40 and name N, resi 40 and name CA, resi 40 and  name CB, resi 40 and name CG, -180

SEE ALSO

Cmd get dihedral