[Chimera-users] Morphing with pipes and planks

Tom Goddard goddard at sonic.net
Thu Aug 6 15:35:25 PDT 2015


Hi Corey,

  Pipes and planks depictions don’t update when the molecule changes shape.  It is also slow to compute so it wouldn’t work interactively.  But if you want to make a movie it can be done with some trickery.  The tricky part is that there is no command to make the pipes and planks depiction.  But a few lines of Python (file updatepp.py attached) can update the pipes and planks.  So after creating the morph and the initial pipes and planks I can record a movie with the following command sequence:

movie record super 3 ; coordset #2 0,100 ; perframe "open /Users/goddard/ucsf/chimera/libs/PipesAndPlanks/updatepp.py" frames 100 ; wait 100 ; movie encode ~/Desktop/planks.mp4

	Tom

-------------- next part --------------
A non-text attachment was scrubbed...
Name: updatepp.py
Type: text/x-python-script
Size: 59 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20150806/48acdf5f/attachment-0001.bin>
-------------- next part --------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: planks.mp4
Type: video/mp4
Size: 568615 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20150806/48acdf5f/attachment-0001.mp4>
-------------- next part --------------


> On Aug 6, 2015, at 2:35 PM, Corey Dambacher wrote:
> 
> Hi Tom,
> 
> Gabe lander suggested I email you regarding morph maps between two models:
> 
> Is there a way to do a morph using pipes and planks? I have a couple of models I would like to morph, and this works very well when in ribbon, but it doesn't seem to work when I have the pipes and planks depiction...
> 
> Thanks for your time and consideration,
> 
> Corey



More information about the Chimera-users mailing list