[Chimera-users] movie script
Elaine Meng
meng at cgl.ucsf.edu
Wed Jul 6 10:10:06 PDT 2011
Hi J-F,
My "trmovie" script example includes morphing between two conformations. All you have to do to see the movie content is open the script file (named *.com or *.cmd) in Chimera -- it includes opening the structures, superimposing and rotating them, calculating the morph, playing the morph, etc. The movie-recording commands are commented out so you can just see the content without taking the time to record the actual movie, but the resulting movie is in our Image Gallery, called "ball-and-socket motion."
Example movie content scripts:
<http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/movies.html#examples>
Image Gallery:
<http://www.cgl.ucsf.edu/chimera/animations/animations.html>
HOWEVER, that example does not rotate while showing the morph. I attached a slightly modified version that does rotation at the same time as playing back the morph trajectory. The only change is insertion of "roll y 1" before the commands that play the trajectory, and further down, appending ";wait" followed by "freeze" to stop that roll.
Again, to see this example movie content, all you would have to do is open the attached script file (plain text but name it ending with .com or .cmd) in Chimera -- the movie-recording commands are commented out. There is some other movie stuff you might find interesting, like labels that fade in and out.
In your own case, you would probably not include opening the files and calculating the morph in your script. You would probably do that ahead of time, possibly using the Morph Conformations graphical interface (under Tools... Structure Comparison), and then save the session. Then your script would simply act on that session to do the stuff you wanted in your movie, such playing the pre-existing morph trajectory, rotating, etc.
<http://www.cgl.ucsf.edu/chimera/docs/ContributedSoftware/morph/morph.html>
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: trmovie2.txt
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20110706/a75def89/attachment.txt>
-------------- next part --------------
On Jul 6, 2011, at 4:33 AM, Jean-Francois Menetret wrote:
> Hello,
> I am trying to make a movie to illustrate a conformational change between two PDBs; I would like to turn the objects while switching from one to the other. Could you give me some pointers ?
> Thank you
> J-F
More information about the Chimera-users
mailing list