[Chimera-users] coordset
Hernando J Sosa
hernando.sosa at einsteinmed.edu
Thu May 19 11:43:14 PDT 2022
Thank you!
H.
________________________________
From: Elaine Meng <meng at cgl.ucsf.edu>
Sent: Wednesday, May 18, 2022 5:43 PM
To: Hernando J Sosa <hernando.sosa at einsteinmed.edu>
Cc: chimera-users at cgl.ucsf.edu BB <chimera-users at cgl.ucsf.edu>
Subject: Re: [Chimera-users] coordset
CAUTION: This email comes from an external source; the attachments and/or links may compromise our secure environment. Do not open or click on suspicious emails. Please click on the “Phish Alert” button on the top right of the Outlook dashboard to report any suspicious emails.
Hi Hernando,
You need "wait" commands to enforce ordered execution in a script. I.e.
coordset #20 1,51; wait 50
turn y 90
coordset #20 1,51
... or if you're going to put more stuff after the second coordset, you'd want to put it there too. I'd just do this
coordset #20 1,51; wait 50
turn y 90; wait
coordset #20 1,51; wait 50
See explanations of command files and "wait"
<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FUsersGuide%2Findexcommand.html%23cmdfile&data=05%7C01%7Chernando.sosa%40einsteinmed.edu%7C9130ba790b4f46d6173408da39177547%7C9c01f0fd65e040c089a82dfd51e62025%7C0%7C0%7C637885070614959506%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=oCV%2BBqGre33EdGxUMbibM1S1ODd%2BxjKIDQwCkLYkhos%3D&reserved=0>
<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FUsersGuide%2Fmidas%2Fwait.html&data=05%7C01%7Chernando.sosa%40einsteinmed.edu%7C9130ba790b4f46d6173408da39177547%7C9c01f0fd65e040c089a82dfd51e62025%7C0%7C0%7C637885070614959506%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=h39jH1op2HbhSG3k1C81e67Toe9AT6tmAsEukaS0dN4%3D&reserved=0>
You could also wait longer after the turn, or turn gradually, if you don't want it to be so abrupt.
I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco
> On May 18, 2022, at 2:12 PM, Hernando J Sosa via Chimera-users <chimera-users at cgl.ucsf.edu> wrote:
>
> Dear Chimera,
>
> I am trying to make a movie/animation using coordset in combination with other commands to move the models and noticed that
> the coordset comand is always executed last and only once regardless of the order in which the commands are given in the script.
>
> eg: the following script:
>
> coordset #20 1,51;
> turn y 90
> coordset #20 1,51
>
> results in:
>
> turn y 90
> coordset #20 1,51
>
> i.e. the first corrdset comand is ignored, the models are rotated and then coordset is run.
>
> Is there any way to avoid this behavior? As can be seen form the first script the idea is to run the morph movie in one orientation rotate it and then run it again in the new orientation. Is there an easy way to do this?
>
> Thanks
>
> H.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rbvi.ucsf.edu/pipermail/chimera-users/attachments/20220519/ad699ba6/attachment.html>
More information about the Chimera-users
mailing list