[Chimera-users] Using Per-Frame commands to recolor structures with attribute data is very slow

David Slochower slochower at gmail.com
Mon Nov 26 20:49:39 PST 2018


As a follow up to this thread (http://plato.cgl.ucsf.edu/pipermail/chimera-users/2009-March/003712.html <http://plato.cgl.ucsf.edu/pipermail/chimera-users/2009-March/003712.html>) from 2009, I’d like to color a model by a custom attribute that changes from frame to frame. Using the workaround mentioned in that thread, we are able to use Per-Frame commands to load a new attribute file each frame, and then color the structure by the attribute, but this awfully slow (probably over 1 second per frame). 

Is there a way to cache the attribute data? Or a way to improve the performance of defining the attributes and re-coloring the structure? I know that I could use a Python script to load each coordinate frame with its associated attribute data, save images, and then stitch them together for a movie, but the current goal is for data exploration.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20181126/a7fae329/attachment.html>

More information about the Chimera-users mailing list