[Chimera-users] Automatic Bond Rotating Script
Eric Pettersen
pett at cgl.ucsf.edu
Tue Mar 29 14:10:16 PDT 2016
> On Mar 29, 2016, at 2:04 PM, Eric Pettersen <pett at cgl.ucsf.edu> wrote:
>
> rc(“turn %s%s %d” % (a1.oslIdent(), a2.oslIdent(), angle))
Sorry, I mis-interpreted what the “one shot” turn does — it turns whole models, not the parts of models on the opposite sides of the bond. You do need “rotation”, e.g.:
rc(“rotation 0 %s %s” % (a1.oslIdent(), a2.oslIdent()) # set up the bond rotation
rc(“rotation 0 %d” % angle) # actually rotate the bond
—Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20160329/927cc782/attachment.html>
More information about the Chimera-users
mailing list