[Chimera-users] Help for movie

Tom Goddard goddard at sonic.net
Tue Nov 4 13:30:11 PST 2014


Ok, couldn’t resist trying the movie with spheres. I promise no more variations!  I think it is a bit better than surfaces or ribbons.

	http://www.cgl.ucsf.edu/chimera/data/p22morph/p22sphere.mp4

	http://www.cgl.ucsf.edu/chimera/data/p22morph/p22sphere.cmd

  Tom




On Nov 4, 2014, at 12:52 PM, Tom Goddard wrote:

> Hi Jhanvi,
> 
>   I made another virus morph movie, this time showing proteins as surfaces instead of ribbons using the command “sym #2 surf true res 3”.
> 
> 	http://www.cgl.ucsf.edu/chimera/data/p22morph/p22surf.mp4
> 
> 	http://www.cgl.ucsf.edu/chimera/data/p22morph/p22surf.cmd
> 
> You need tomorrow’s Chimera daily build or release candidate (dated Nov 5, 2014 or later) to run this script since there was a Chimera bug that I fixed that caused repeated use of the sym command to consume all your memory.
> 
> 	Tom
> 
> 
> On Nov 3, 2014, at 5:52 PM, Tom Goddard wrote:
> 
>> Hi Jhanvi,
>> 
>>   The idea is to morph the asymmetric units then copy the morph coordinates at each frame to the 59 other asymmetric units that make up the virus capsid.  This uses commands sym (make asym unit copies), morph (compute the morph), coordset (play the morph), mcopy (copy coordinates), perframe (copy for each frame of morph), movie (record the movie).  Here’s a movie showing P22 2xyy morphing to 2xyz and the script used to record it.
>> 
>> 	http://www.cgl.ucsf.edu/chimera/data/p22morph/p22morph.mp4
>> 
>> 	http://www.cgl.ucsf.edu/chimera/data/p22morph/p22morph.cmd
>> 
>> This used about 2.5 Gbytes of memory and about 20 minutes to render.  You should use 64-bit Chimera to handle such big models.  This example gives a poor result — ribbons show too much detail to see anything, coloring is atrocious.  I tweaked the movie above putting a back clip plane to hide the back half of the virus.  Normally I don’t do the full movie record in one command script.  Instead I set of the scene, morphs, colors, molecule styles, clipping all using the normal Chimera user interface, then just do the movie record part with a script.  I also save a session containing the setup scene in case I want to revise the movie later.  It will be a big session file in this case because it contains the full virus capsid and large morph trajectory.
>> 
>> 	Tom
>> 
>> 
>> # Open P22 virus asymmetric unit
>> open 2xyy
>> 
>> # Create full capsid
>> sym #0
>> 
>> # Zoom to show full capsid
>> windowsize 800 800
>> focus
>> 
>> # Open second state of P22.
>> open 2xyz
>> 
>> # Compute morph from first state to second
>> morph start #0 frames 120
>> morph interpolate #2
>> morph movie
>> 
>> # Undisplay the asymmetric units
>> ~modeldisp #0,2
>> 
>> # Color chains
>> rainbow chain
>> 
>> # Record movie playing morph of asym unit and copying coordinates to full capsid.
>> movie record supersample 3
>> coord #3 1,120 ; perframe "mcopy #3 #1 settings x" frames 120
>> wait 120
>> movie encode ~/Desktop/p22morph.mp4 quality higher
>> 
>> 
>> 
>> 
>> On Nov 2, 2014, at 11:22 AM, Jhanvi Sharma  wrote:
>> 
>>> Dear all,
>>> 
>>> I have just started using chimera. I am trying to make a movie for P22 Virus capsid expansion. 
>>> I have made the movie for asymmetric unit morph changes using the 2XYY and 2XYZ pdb IDs. However, I am unable to do it on whole P22 capsid model.
>>> Kindly suggest the protocol I should use to get the desired result. I have seen many such movies in the articles. I am trying to achieve the same. For movie reference I am sending the link for article. 
>>> 
>>> http://www.sciencedirect.com/science/article/pii/S1047847705002686.
>>> 
>>> I will appreciate your help.
>>> 
>>> Thanks,
>>> Best regards,
>>> Jhanvi Sharma
>>> _______________________________________________
> 
> _______________________________________________
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
> http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20141104/ee376831/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p22spheres.png
Type: image/png
Size: 492595 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20141104/ee376831/attachment-0001.png>


More information about the Chimera-users mailing list