<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Apr 12, 2010, at 9:12 AM, <a href="mailto:eduardo.troche@uvigo.es">eduardo.troche@uvigo.es</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi all,<br><br>I'm a new Chimera user. I'm performing some molecular dynamics with a more or less simple system with Amber,and now that I have them done, I would like to analyze some specific data,like changes in a dihedral angle during the dynamic process, or distances between pairs of atoms. If I select several dihedral angles in Chimera and I play the dynamic movie, I can see these changes, but is it possible to get a table of results that shows the value of this angle for each step of the dynamic process?</div></blockquote><br></div><div>Hi Eduardo,</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>You can get this information by defining some actions to perform at each frame. To do this use MD Movie's Per Frame->Define Script... menu item. This will bring up a dialog that allows you to define Chimera commands or Python code to execute at each frame (controlled with the "Interpret script as..." menu at the top of the per-frame dialog). The Chimera command "angle" can be used to report dihedrals to the reply log, so something like:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>angle #0:5@o4',c1',n9,c4</div><div><br></div><div>would report the specified dihedral angle to the reply log. Something similar can be done with the "distance" command but it's a little trickier since the distance command sets up a distance monitor and it won't let you set up a duplicate monitor, so you need to clear existing distance monitors first (with "~dist"). So something like this:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>~dist all</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>dist #0:6@o4',h8</div><div><br></div><div>would report the given distance to the reply log. If you are reporting many distances/angles you might consider using the "echo" command to insert additional text into the reply log to help you keep track of things. Also, you can use the "help" command (e.g. "help echo") to get more info on any command.</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>I hope this helps.</div><div><br></div><div>--Eric</div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="5" style="font: 16.0px Helvetica"><span class="Apple-converted-space"> <span class="Apple-converted-space"> </span></span>Eric Pettersen</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="5" style="font: 16.0px Helvetica"><span class="Apple-converted-space"> <span class="Apple-converted-space"> </span></span>UCSF Computer Graphics Lab</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="5" style="font: 16.0px Helvetica"><span class="Apple-converted-space"> </span><a href="http://www.cgl.ucsf.edu">http://www.cgl.ucsf.edu</a></font></p><br class="Apple-interchange-newline"></div></span> </div><br></body></html>