[Chimera-users] torsion angles to x,y,z coordinate
pett at cgl.ucsf.edu
Fri Mar 22 11:03:03 PDT 2013
On Mar 22, 2013, at 10:51 AM, Elaine Meng wrote:
> Hi Chinh,
> You can change torsion angles using the Adjust Torsions GUI (in menu under Tools... Structure Editing)
> ... or the rotation command
> If you have lots of values, you would probably want to script it, but it probably wouldn't be that easy/convenient since the commands (or python, if you do a python script) will need to specify the 4 atoms used to define each torsion.
What Elaine says is absolutely correct. What I would add though is that if the torsions you are changing are the phi, psi, or chi angles of standard amino acids, then adjusting them is somewhat easier since they are attributes of the residue and setting the attribute will change the torsion. For example, to change the phi angle of residue 14.A to 90 degrees:
setattr r phi 90 :14.a
UCSF Computer Graphics Lab
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Chimera-users