[Chimera-users] Morph colors

Tom Goddard goddard at sonic.net
Thu Sep 13 18:09:54 PDT 2018


Hi Rajan,

  Yes, you would have to measure the center for each frame and use that for the zone coloring.  In order to perform a command or sequence of commands each frame you use the “perframe” command.

	https://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/perframe.html <https://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/perframe.html>

Elaine Meng said she tried it and did not get your case to work though, so there may be some unexpected difficulties.  But you should try it.

	Tom


> On Sep 13, 2018, at 6:54 AM, Rajan Prabu <jrajanprabu at gmail.com> wrote:
> 
> Hello again, 
> 
> Following another old thread, 
> 
> http://plato.cgl.ucsf.edu/pipermail/chimera-users/2016-September/012743.html <http://plato.cgl.ucsf.edu/pipermail/chimera-users/2016-September/012743.html>
> 
> I could morph/play the coordinates and Volume at the same time. The script is given below. 
> 
> ----------------------------------------------------
> # Open maps and set threshold
> open 1.mrc
> open 2.mrc
> open  start_full.pdb
> open end_full.pdb
> 
> vol #0,1 level .025
> 
> # Create a marker for coloring
> measure center #2 mark true radius 20 color red
> ~display #4
> 
> # Create morph volume
> vop morph #0,1 frames 0 model #5
> 
> # Create morph models  model #6
> morph  start #2 frames 200
> morph interpolate #3  frames 200
> morph movie
> 
> # marker on morph
> measure center #6 mark true radius 20 color red
> 
> # Color near marker
> scolor #5 zone #6 range 50
> 
> coordset #6 1,100; vop morph #0,1 start 0 playstep 0.01 frames 100 model #6
> ----------------------------------------------------
> 
> 
> Still the color is at centre of of the first Frame of morph.  If I understand correct I have to measure the centre for each Frame and  add marker and color it. But I still can't make it. Any help/directions in this regard would be very helpful.  
> 
> Thanks in advance for your time and help.
> 
> best regards
> Rajan 
> 
> _______________________________________________
> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu
> Manage subscription: 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/20180913/e7e5566b/attachment.html>


More information about the Chimera-users mailing list