[Chimera-users] Visualizing MDFF Runs in Chimera
meng at cgl.ucsf.edu
Fri Oct 31 11:05:14 PDT 2014
I don’t think this is something you can calculate with Attribute Calculator. That tool just does math on existing attributes rather than actually calculating RMSDs, which can be done in various other ways in Chimera.
(A) If you mean overall RMSD (one value per frame) vs. a reference frame:
See MD Movie (the trajectory playback tool) menu: Analysis… Plot for calculating and plotting various quantities vs. trajectory frame number, including RMSD of specified atoms relative to a reference frame. There is a Dump Values button at the bottom to write out the values.
Unfortunately I’m somewhat at a loss as to what you would do next. My understanding is that Chimera doesn’t store separate attributes for different frames in a trajectory, so it wouldn’t be that simple. In a per-frame script in MD Movie, maybe you could use “setattr” to assign the value as an attribute and then “rangecolor” to map it to color, thus avoiding calculating the colormapping yourself. However, it is still ugly in that you have to get the right value assigned to the right frame.
(B) If you mean per-residue structural variability (one RMSD value per residue but considering all frames at once):
(However, I somewhat doubt this is what you meant, since it generally wouldn’t be shown during playback, but instead with coloring or worms on a single structure.)
This would be done by opening the whole ensemble at once (saving trajectory frames as a single multi-model PDB and then opening that the regular way instead of as a trajectory), superimposing the structures if they weren’t already, associating all of them with a single sequence, showing the sequence RMSD header, and then using Render by Attribute to show the per-residue RMSD values as coloring or worms on a single structure. More details on that approach in these previous posts:
Sorry I couldn’t give a more definitive answer. Maybe this will get you closer, or others will have better ideas.
Elaine C. Meng, Ph.D.
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco
On Oct 31, 2014, at 8:00 AM, Joshua Carter <carter_jjc at hotmail.com> wrote:
> I am currently working on some MDFF simulations and have been visualizing them in chimera. I am trying to color the proteins by rmsd over the course of the simulation. I was thinking that there may be a way to do this using the attribute calculator tool between the first and last frames of the simulation. Does anyone know if this is possible or if there is a better way to do it?
More information about the Chimera-users