Dear Tsjerk, <div><br></div><div>Thanks very much. Yes, true, difference in the ranges of the covariances means there is difference between the two systems. I did try the modified g_covar in the contribution section but couldn&#39;t make it work first, but I realized it worked only for GROMACS ver 3.3.3. Now, I am able to calculate the correlation matrix. </div>
<div><br></div><div>Thanks very much for all your help and pointers.</div><div><br></div><div>Sincerely,</div><div>Vignesh<br><br><div class="gmail_quote">On Thu, Nov 11, 2010 at 4:49 PM, Tsjerk Wassenaar <span dir="ltr">&lt;<a href="mailto:tsjerkw@gmail.com">tsjerkw@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Vignesh,<br>
<br>
If your covariances show different ranges, isn&#39;t that a difference<br>
between your systems, wild-type and mutated? Then again, there&#39;s also<br>
noise in the covariances (noise in the fluctuations, ergo noise in the<br>
noise ;)). The rest might be comparable, making scaling based on the<br>
extremes seem like a bad idea. You might be better of calculating<br>
correlations, rather than covariances. There&#39;s a modified g_covar in<br>
the contributions section of the gromacs site for calculating those.<br>
<br>
Cheers,<br>
<br>
Tsjerk<br>
<br>
On Thu, Nov 11, 2010 at 3:53 AM, Vigneshwar Ramakrishnan<br>
<div><div></div><div class="h5">&lt;<a href="mailto:vmsrvignesh@gmail.com">vmsrvignesh@gmail.com</a>&gt; wrote:<br>
&gt; Dear All,<br>
&gt; I tried using the xpm2ps -combine option to plot the two matrices in the<br>
&gt; same plot.<br>
&gt; &quot;xpm2ps -f covara_cognate.xpm -f2 covara_G5C.xpm -diag none -combine halves<br>
&gt; -cmin -0.5 -cmax 0.8&quot;<br>
&gt;<br>
&gt; However, I still get two legends and each of the matrices are scaled<br>
&gt; differently. That is, the output range is NOT combined, as the -combine<br>
&gt; option is supposed to do. I tried different options (add, sub, div ; with<br>
&gt; and without the -cmin and -cmax options etc)<br>
&gt; I am sure I am missing something here. May I please know if anybody got it<br>
&gt; worked, and if so, can help me out?<br>
&gt; Thanks very much,<br>
&gt; Vignesh<br>
&gt; On Thu, Nov 11, 2010 at 10:12 AM, Vigneshwar Ramakrishnan<br>
&gt; &lt;<a href="mailto:vmsrvignesh@gmail.com">vmsrvignesh@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Thanks very much, Justin. Somehow this thread did not come up during my<br>
&gt;&gt; search.<br>
&gt;&gt; Really appreciate your help.<br>
&gt;&gt; Sincerely,<br>
&gt;&gt; Vignesh<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Nov 10, 2010 at 10:23 PM, Justin A. Lemkul &lt;<a href="mailto:jalemkul@vt.edu">jalemkul@vt.edu</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; There are two relevant threads on this same topic that will likely<br>
&gt;&gt;&gt; provide some insight (particularly the second):<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; <a href="http://lists.gromacs.org/pipermail/gmx-users/2009-November/046846.html" target="_blank">http://lists.gromacs.org/pipermail/gmx-users/2009-November/046846.html</a><br>
&gt;&gt;&gt; <a href="http://lists.gromacs.org/pipermail/gmx-users/2009-November/046854.html" target="_blank">http://lists.gromacs.org/pipermail/gmx-users/2009-November/046854.html</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; -Justin<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Vigneshwar Ramakrishnan wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Dear All,<br>
&gt;&gt;&gt;&gt; I am trying to study the effect of single-point mutations on correlated<br>
&gt;&gt;&gt;&gt; motions in a protein-DNA system. I am able to calculate the atomic<br>
&gt;&gt;&gt;&gt; covariance matrix using the g_covar -xpma option. However, when I try to<br>
&gt;&gt;&gt;&gt; compare the covariance matrices for the two systems (to study the effect of<br>
&gt;&gt;&gt;&gt; the mutation), I find that the output is not scaled identically. That is, in<br>
&gt;&gt;&gt;&gt; one of the systems the atomic covariance varies between -0.04 and +0.5<br>
&gt;&gt;&gt;&gt; whereas in the other it varies between -0.1 and +0.4. Now, this means that I<br>
&gt;&gt;&gt;&gt; cannot compare the two systems immediately from the eps file output<br>
&gt;&gt;&gt;&gt; (obtained after xpm2ps).<br>
&gt;&gt;&gt;&gt; Could anybody please tell me if there is a way to plot the output on<br>
&gt;&gt;&gt;&gt; identical scales (say, -1 to +1, or any other scale) using GROMACS?<br>
&gt;&gt;&gt;&gt; The other way, I understand is to use the ascii output of g_covar and<br>
&gt;&gt;&gt;&gt; use the values to create the covariance plot using softwares like MATLAB<br>
&gt;&gt;&gt;&gt; which can rescale the image colors. However, for this, one needs to<br>
&gt;&gt;&gt;&gt; calculate the atomic covariance from the ascii output (which is<br>
&gt;&gt;&gt;&gt; x1x1,x1y1,x1z1 etc). From the manual, I understand that the way to calculate<br>
&gt;&gt;&gt;&gt; atomic covariance is &quot;for each atom pair the sum of the xx, yy and zz<br>
&gt;&gt;&gt;&gt; covariances&quot;. Am I right if I understand that this means:<br>
&gt;&gt;&gt;&gt; atomic cov (X1) = x1x1 + y1y1 + z1z1 atomic cov (X2) = x2x2 + y2y2 +<br>
&gt;&gt;&gt;&gt; z2z2 ...<br>
&gt;&gt;&gt;&gt; I greatly appreciate any help or pointers.<br>
&gt;&gt;&gt;&gt; Thanks very much, Sincerely, Vignesh<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt; R.Vigneshwar<br>
&gt;&gt;&gt;&gt; Graduate Student,<br>
&gt;&gt;&gt;&gt; Dept. of Chemical &amp; Biomolecular Engg,<br>
&gt;&gt;&gt;&gt; National University of Singapore,<br>
&gt;&gt;&gt;&gt; Singapore<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &quot;Strive for Excellence, Never be satisfied with the second Best!!&quot;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I arise in the morning torn between a desire to improve the world and a<br>
&gt;&gt;&gt;&gt; desire to enjoy the world. This makes it hard to plan the day. (E.B. White)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; ========================================<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Justin A. Lemkul<br>
&gt;&gt;&gt; Ph.D. Candidate<br>
&gt;&gt;&gt; ICTAS Doctoral Scholar<br>
&gt;&gt;&gt; MILES-IGERT Trainee<br>
&gt;&gt;&gt; Department of Biochemistry<br>
&gt;&gt;&gt; Virginia Tech<br>
&gt;&gt;&gt; Blacksburg, VA<br>
&gt;&gt;&gt; jalemkul[at]<a href="http://vt.edu" target="_blank">vt.edu</a> | (540) 231-9080<br>
&gt;&gt;&gt; <a href="http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin" target="_blank">http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ========================================<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
&gt;&gt;&gt; <a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
&gt;&gt;&gt; Please search the archive at<br>
&gt;&gt;&gt; <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br>
&gt;&gt;&gt; Please don&#39;t post (un)subscribe requests to the list. Use the www<br>
&gt;&gt;&gt; interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
&gt;&gt;&gt; Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; R.Vigneshwar<br>
&gt;&gt; Graduate Student,<br>
&gt;&gt; Dept. of Chemical &amp; Biomolecular Engg,<br>
&gt;&gt; National University of Singapore,<br>
&gt;&gt; Singapore<br>
&gt;&gt;<br>
&gt;&gt; &quot;Strive for Excellence, Never be satisfied with the second Best!!&quot;<br>
&gt;&gt;<br>
&gt;&gt; I arise in the morning torn between a desire to improve the world and a<br>
&gt;&gt; desire to enjoy the world. This makes it hard to plan the day. (E.B. White)<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; R.Vigneshwar<br>
&gt; Graduate Student,<br>
&gt; Dept. of Chemical &amp; Biomolecular Engg,<br>
&gt; National University of Singapore,<br>
&gt; Singapore<br>
&gt;<br>
&gt; &quot;Strive for Excellence, Never be satisfied with the second Best!!&quot;<br>
&gt;<br>
&gt; I arise in the morning torn between a desire to improve the world and a<br>
&gt; desire to enjoy the world. This makes it hard to plan the day. (E.B. White)<br>
&gt;<br>
</div></div>&gt; --<br>
<div class="im">&gt; gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
&gt; <a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
&gt; Please search the archive at<br>
&gt; <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br>
&gt; Please don&#39;t post (un)subscribe requests to the list. Use the<br>
&gt; www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
&gt; Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
</div>Tsjerk A. Wassenaar, Ph.D.<br>
<br>
post-doctoral researcher<br>
Molecular Dynamics Group<br>
* Groningen Institute for Biomolecular Research and Biotechnology<br>
* Zernike Institute for Advanced Materials<br>
University of Groningen<br>
The Netherlands<br>
<div><div></div><div class="h5">--<br>
gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br>
Please don&#39;t post (un)subscribe requests to the list. Use the<br>
www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>R.Vigneshwar<br>Graduate Student,<br>Dept. of Chemical &amp; Biomolecular Engg,<br>National University of Singapore,<br>Singapore<br><br>&quot;Strive for Excellence, Never be satisfied with the second Best!!&quot;<br>
<br>I arise in the morning torn between a desire to improve the world and a desire to enjoy the world. This makes it hard to plan the day. (E.B. White)<br>
</div>