<div dir="ltr">Thank you Elaine. I was aware of the rotation command. However, my starting torsion angle will not be the same for all the structures, and I will have at least 100 structures to manipulate. <div>Would it be possible to redefine a chi angle to be the four atoms I have noted, for example, then use:</div><div><br></div><div> settattr r chi1 80 ....</div><div><br></div><div>Jerry</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 29, 2020 at 11:02 AM Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu">meng@cgl.ucsf.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Jerry,<br>
No, it won't work to try to define an attribute and then change it. Also, you cannot just name any 4 atoms in the structure; the bond to rotate must be a real covalent bond.<br>
<br>
Instead you would use either<br>
(A) the "Adjust Torsions" graphical interface (in menu under Tools... Structure Editing), in which you can specify all 4 atoms to be used for the measurement:<br>
<<a href="http://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/editing/editing.html#adjust" rel="noreferrer" target="_blank">http://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/editing/editing.html#adjust</a>><br>
<br>
... or (B) the command "rotation" in which you specify only the two atoms in the bond to be rotated to define the rotation, and then the change in angle relative to the current position, see:<br>
<<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/rotation.html" rel="noreferrer" target="_blank">http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/rotation.html</a>><br>
<br>
For example, something like this to rotate 40 degrees around the CA-CB bond of residue 1 in chain A:<br>
<br>
rotation 1 :1.A@CA :1.A@CB<br>
rotation 1 40<br>
<br>
Although with the "angle" command you can measure an angle using any 4 atoms (even if they are not directly bonded), you can't specify changing this angle because how to modify the structure to accomplish that change is undefined.<br>
<<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/angle.html" rel="noreferrer" target="_blank">http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/angle.html</a>><br>
<br>
I hope this helps,<br>
Elaine<br>
-----<br>
Elaine C. Meng, Ph.D. <br>
UCSF Chimera(X) team<br>
Department of Pharmaceutical Chemistry<br>
University of California, San Francisco<br>
<br>
> On Jul 29, 2020, at 6:32 AM, Jerry Tanoury <<a href="mailto:jerrytanoury@gmail.com" target="_blank">jerrytanoury@gmail.com</a>> wrote:<br>
> <br>
> Dear forum,<br>
> I am new to chimera. I have been building and modifying several structures using command-line, and have been successful except for setting a specific torsion to a specified angle. The torsion is not phi, psi, etc. I thought I could define the torsion as a specific attribute using an attribute assignment file and defattr. In my model, the torsion is ":1.A@O3 :1.A@S1 :1.B@O2 :1.B@S2", and I would like to set it to a value of 15. So, my assignment file would be (?):<br>
> <br>
> attribute: MyTors<br>
> match mode: any<br>
> recipient: atoms<br>
> :1.A@O3 :1.A@S1 :1.B@O2 :1.B@S2 15<br>
> <br>
> Then from command-line I would use: defattr MyTors<br>
> <br>
> Is this correct?<br>
> Thank you for the help,<br>
> Jerry<br>
<br>
</blockquote></div>