<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">And obviously this isn’t a truly correct answer but it is easy: you could just plot the distance between atoms that are near the center of mass. The plot can overlay multiple distances, so you could also plot distances from the ligand extremities to the other “center of mass” and easily see what part of the ligand is closest at various frames.<div class=""><br class=""></div><div class="">—Eric</div><div class=""><br class=""><div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>Eric Pettersen</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>UCSF Computer Graphics Lab</div></div><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Oct 20, 2015, at 4:08 PM, Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu" class="">meng@cgl.ucsf.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Hi Erik,<br class="">Unfortunately I can’t think of a way to accomplish this with the built-in plotting in MD Movie, sorry.<br class=""><br class="">The only idea I had (which may be more trouble than it’s worth) is to use the MD Movie per-frame scripting.<br class=""><<a href="http://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/movie/movie.html#per-frame" class="">http://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/movie/movie.html#per-frame</a>><br class=""><br class=""> In the script, for each frame you could:<br class=""><br class="">(1) use “define centroid” with mass-weighting to create a centroid object with a specified ID number at each of the centers of mass of interest. ( If the command-line specification of the biologic target portion is long and unwieldy, you can “alias” it to a shorter name once beforehand.)<br class=""><<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/define.html" class="">http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/define.html</a>><br class=""><br class="">(2) use “distance” with the two centroid IDs to report distance to the Reply Log. <br class=""><<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/distance.html" class="">http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/distance.html</a>><br class=""><br class="">(3) maybe echo frame number to Reply Log.<br class=""><br class="">For example, a per-frame Chimera command script something like:<br class=""><br class="">define centroid mass true number 1 ligand<br class="">define centroid mass true number 2 #0:54-85.a,99.a<br class="">dist c1 c2<br class="">echo <FRAME><br class=""><br class="">Then after going through your trajectory once start->end while running this script, you could save Reply Log contents, extract the data (maybe grep, awk, or other text processing) and use your own external plotting program of choice.<br class=""><br class="">Sorry it is not a very convenient solution. Best,<br class="">Elaine<br class="">----------<br class="">Elaine C. Meng, Ph.D. <br class="">UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab<br class="">Department of Pharmaceutical Chemistry<br class="">University of California, San Francisco<br class=""><br class=""><br class=""><blockquote type="cite" class="">On Oct 20, 2015, at 6:32 AM, <a href="mailto:erik.laurini@di3.units.it" class="">erik.laurini@di3.units.it</a> wrote:<br class=""><br class="">Dear Chimera users,<br class="">I would to plot the distance between the centers of mass of a ligand and a specific portion of its biologic target during the corresponding MD trajectory. I tried with the “MD plot” but it seems that it works only with atom selection. Do you have any advice?<br class="">Thanks in advance!<br class=""><br class="">-erik- <br class=""></blockquote><br class=""><br class="">_______________________________________________<br class="">Chimera-users mailing list<br class=""><a href="mailto:Chimera-users@cgl.ucsf.edu" class="">Chimera-users@cgl.ucsf.edu</a><br class="">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users<br class=""><br class=""></div></blockquote></div><br class=""></div></body></html>