[Chimera-users] Manipulating representation during MD movie

Elaine Meng meng at cgl.ucsf.edu
Tue Feb 7 09:09:52 PST 2012


Hi JD,
Two general possibilities:

(A) mostly graphical interface:  you could use "Per-Frame... Define script" in the MD Movie dialog. There is a way to indicate commands should execute at specific frames.  There is an example in the manual page, see the "Per-frame scripts" section:

<http://www.cgl.ucsf.edu/chimera/docs/ContributedSoftware/movie/framemovie.html>

You could try playback without recording just to make sure it really does what you want, and then use "File... Record movie" in the MD Movie dialog to set up and do the recording.  For details, see the "Recording a movie" section in the manual page.

(B) do everything with a script:  if Chimera command script, you can use the command "coordset" to play specific frames or frame ranges of your trajectory, and in between those, you can put your other commands.  For example, you could play frames 1-10, then color something, then play frames 11-20, etc.  You would also have to use the "movie" command to start and stop recording and encode to movie file.

<http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/coordset.html>
<http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/movie.html>

There are some example Chimera command scripts, the "trmovie" one includes using "coordset":
<http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/movies.html#examples

I hope this helps,
Elaine
----------
Elaine C. Meng, Ph.D. 
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco

On Feb 7, 2012, at 5:49 AM, Jean Didier Pie Marechal wrote:

> Hi guys,
> 
> I have a MD movie I generated that I want to record. However, I would need to ask on the graphical representation at given frames (i.e. frame 60) so that the system changes (i.e. change the representation en stick or add a given label). Is there a way to do so directedly? Or should I go for a command file? In this case, how would I mix the MD movie with my own succession of events?
> 
> All the best,
> JD
> 





More information about the Chimera-users mailing list