<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Here is an example Python script to add a "volume variance" command to ChimeraX.<div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span><a href="https://rbvi.github.io/chimerax-recipes/variance/variance.html" class="">https://rbvi.github.io/chimerax-recipes/variance/variance.html</a></div><div class=""><br class=""></div><div class=""> Tom</div><div class=""><br class=""></div><div class=""><img apple-inline="yes" id="0F44A785-2AF6-47B9-9D9E-BD6DFEC167A5" width="290" height="367" src="cid:3135C65B-5122-413C-A6F9-6C353B97A303" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Nov 23, 2021, at 3:08 PM, Oliver Clarke via Chimera-users <<a href="mailto:chimera-users@cgl.ucsf.edu" class="">chimera-users@cgl.ucsf.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Thanks Tom for the cactus idea I will give that a go! Not sure where to start with computing the per pixel variance but will do some digging into the docs<br class=""><br class="">Cheers<br class="">Oli<br class=""><br class=""><blockquote type="cite" class="">On Nov 23, 2021, at 1:06 PM, Tom Goddard <<a href="mailto:goddard@sonic.net" class="">goddard@sonic.net</a>> wrote:<br class=""><br class="">It would not be hard for ChimeraX to compute the per-pixel variance map with a little Python script. Then you could use that to color your movie map surface by variance map value.<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Tom<br class=""><br class=""><br class=""><blockquote type="cite" class="">On Nov 23, 2021, at 8:40 AM, Oliver Clarke via Chimera-users <<a href="mailto:chimera-users@cgl.ucsf.edu" class="">chimera-users@cgl.ucsf.edu</a>> wrote:<br class=""><br class="">Thanks Elaine - maybe that will work... calculating a local correlation value between the first and last frame and then coloring all frames by volume data value. Will give it a go!<br class=""><br class="">Cheers<br class="">Oli<br class=""><br class=""><blockquote type="cite" class="">On Nov 23, 2021, at 11:33 AM, Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu" class="">meng@cgl.ucsf.edu</a>> wrote:<br class=""><br class="">Hi Oli,<br class="">Not to my knowledge... The closest thing I can think of is ChimeraX "volume localCorrelation" (or in Chimera, "vop localCorrelation"), which compares two maps, and probably just opened as separate datasets rather than as part of a series:<br class=""><<a href="https://rbvi.ucsf.edu/chimerax/docs/user/commands/volume.html#localCorrelation" class="">https://rbvi.ucsf.edu/chimerax/docs/user/commands/volume.html#localCorrelation</a>><br class=""><br class="">ChimeraX has a "vseries measure" command but it gives centroids, surface areas, and enclosed volumes for the individual maps rather than any collective measures of variability.<br class=""><<a href="https://rbvi.ucsf.edu/chimerax/docs/user/commands/vseries.html#measure" class="">https://rbvi.ucsf.edu/chimerax/docs/user/commands/vseries.html#measure</a>><br class=""><br class="">Best,<br class="">Elaine<br class="">-----<br class="">Elaine C. Meng, Ph.D. <br class="">UCSF Chimera(X) team<br class="">Department of Pharmaceutical Chemistry<br class="">University of California, San Francisco<br class=""><br class=""><br class=""><blockquote type="cite" class="">On Nov 23, 2021, at 8:13 AM, Oliver Clarke via ChimeraX-users <<a href="mailto:chimerax-users@cgl.ucsf.edu" class="">chimerax-users@cgl.ucsf.edu</a>> wrote:<br class=""><br class="">Hi all,<br class=""><br class="">Is there any way in either Chimera or X to calculate the per voxel variance of a volume series, and then use that to color the individual voxels in each frame?<br class=""><br class="">When one has a series of volumes showing a subtle conformational change - lets say identified using cryoDRGN or 3D variability analysis in cryoSPARC - it would be nice to be able to visually highlight on the map the region that is changing the most, in some kind of quantitatively sound way. <br class=""><br class="">Often local changes are visually apparent when looking at the maps and rotating them around, but don't necessarily stand out in a movie of the whole volume.<br class=""><br class="">Coloring the series of maps (which are all on the same grid) by the variance of the density value at each voxel might be one way to visualize this. Is this possible?<br class=""><br class="">Cheers<br class="">Oli<br class=""></blockquote><br class=""></blockquote><br class=""><br class="">_______________________________________________<br class="">Chimera-users mailing list: <a href="mailto:Chimera-users@cgl.ucsf.edu" class="">Chimera-users@cgl.ucsf.edu</a><br class="">Manage subscription: <a href="https://www.rbvi.ucsf.edu/mailman/listinfo/chimera-users" class="">https://www.rbvi.ucsf.edu/mailman/listinfo/chimera-users</a><br class=""><br class=""></blockquote><br class=""></blockquote><br class=""><br class="">_______________________________________________<br class="">Chimera-users mailing list: <a href="mailto:Chimera-users@cgl.ucsf.edu" class="">Chimera-users@cgl.ucsf.edu</a><br class="">Manage subscription: <a href="https://www.rbvi.ucsf.edu/mailman/listinfo/chimera-users" class="">https://www.rbvi.ucsf.edu/mailman/listinfo/chimera-users</a><br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>