[Chimera-users] coordset

Elaine Meng meng at cgl.ucsf.edu
Wed May 18 14:43:30 PDT 2022


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://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/indexcommand.html#cmdfile>
<https://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/wait.html>

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.




More information about the Chimera-users mailing list