Thank you Tsjerk, <br>but one more question:<br>if I do the following: g_rmsf -f a.xtc -s b.tpr -o rmsf.xvg -ox average.pdb -n c.ndx<br><br>does gromacs claculate the rmsf after fitting to b.tpr or to average.pdb?<br>&amp; if I want it to calculatefluctuations between the position of<br>

particle i and the time-averaged position of the same particle i, do I have to do:<br><br>g_rmsf -f a.xtc -s average.pdb -o rmsf.xvg?????<br><br>Thank you &amp; sorry to bother. I&#39;m just trying to understand what g_rmsf really does, to help me analyze my results.<br>
<br>Carla<br><br><div class="gmail_quote">On Wed, Feb 17, 2010 at 10:25 AM, 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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Carla,<br>
<br>
Justin&#39;s recipe should&#39;ve worked. As he suggested, maybe the ligand is<br>
not with the protein. You can check by multiplying your system with<br>
genconf:<br>
<br>
genconf -f in.pdb -o out.pdb -nbox 2 2 2<br>
<br>
If the ligand is with the protein, one copy will be located in one of<br>
the copies of the protein.<br>
<br>
g_rmsf does write the average structure, if requested. Use the option -ox<br>
<br>
Cheers,<br>
<br>
Tsjerk<br>
<div><div></div><div class="h5"><br>
On Wed, Feb 17, 2010 at 10:08 AM, Carla Jamous &lt;<a href="mailto:carlajamous@gmail.com">carlajamous@gmail.com</a>&gt; wrote:<br>
&gt; Hi Justin,<br>
&gt; I&#39;m still trying to figure out what happened with my ligand.<br>
&gt; Meanwhile, I have another question: I can&#39;t figure out how to calculate an<br>
&gt; average structure in gromacs.<br>
&gt; And does g_rmsf calculate the average structure automatically?<br>
&gt;<br>
&gt; Thanks again<br>
&gt; Carla<br>
&gt;<br>
&gt; On Tue, Feb 16, 2010 at 5:44 PM, Justin A. Lemkul &lt;<a href="mailto:jalemkul@vt.edu">jalemkul@vt.edu</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Carla Jamous wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi Justin,<br>
&gt;&gt;&gt; Thank you for your answer but I&#39;m still not getting my ligand to stay in<br>
&gt;&gt;&gt; the box.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I tried the following(after taking a look at the mailing list archive):<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; trjconv -s a.tpr -f b.xtc -o c.xtc -center -ur compact -pbc mol<br>
&gt;&gt;&gt; (centering on &quot;Protein&quot;)<br>
&gt;&gt;&gt; trjconv -s d.tpr -f c.xtc -o f.xtc -fit rot+trans<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; So please do you have another advise to give me?<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; If that&#39;s not working, then I wonder if your ligand is still actually<br>
&gt;&gt; bound to your protein :)  The above sequence always works for me, as long as<br>
&gt;&gt; there actually is a complex.  You can also try -pbc cluster, but I know that<br>
&gt;&gt; algorithm can hang.<br>
&gt;&gt;<br>
&gt;&gt; -Justin<br>
&gt;&gt;<br>
&gt;&gt;&gt; Thanks<br>
&gt;&gt;&gt; Carla<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Mon, Feb 15, 2010 at 4:32 PM, Justin A. Lemkul &lt;<a href="mailto:jalemkul@vt.edu">jalemkul@vt.edu</a><br>
&gt;&gt;&gt; &lt;mailto:<a href="mailto:jalemkul@vt.edu">jalemkul@vt.edu</a>&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;    Carla Jamous wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;        Hi everyone,<br>
&gt;&gt;&gt;        I&#39;m using this command to extract my protein and my ligand from<br>
&gt;&gt;&gt;        the trajectory.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;        trjconv -f prot_md60ns.xtc -s prot_md50.tpr -fit rot+trans -pbc<br>
&gt;&gt;&gt;        whole -n prot_wat.ndx -o prot_ligand_60ns.xtc &lt; grps &gt;&amp; outtrj<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;        Before, I had a problem with residues of my protein showing at<br>
&gt;&gt;&gt;        the other end of the box, when I display my .xtc with VMD.<br>
&gt;&gt;&gt;        the &quot;-pbc whole&quot; fixed it.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;        However, now I have another issue: my ligand is at the other end<br>
&gt;&gt;&gt;        of the box. So please can anyone tell me what can I do to fix<br>
&gt;&gt;&gt;        that and get a reasonable RMSD value?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;    You may need several more iterations of trjconv (one rarely does the<br>
&gt;&gt;&gt;    trick), employing -pbc nojump, -pbc cluster, and/or -center.  For<br>
&gt;&gt;&gt;    protein-ligand complexes, I have often found that the combination of:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;    trjconv -pbc mol -ur compact -center<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;    (centering on &quot;Protein&quot;)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;    does the trick.  And it makes molecules whole, as well :)  I think<br>
&gt;&gt;&gt;    there are also some breakdowns (documented somewhere in the list<br>
&gt;&gt;&gt;    archive) when applying -fit and -pbc in the same step.  I believe it<br>
&gt;&gt;&gt;    is recommended to fix PBC first, then applying any sort of fitting<br>
&gt;&gt;&gt;    in a separate, subsequent step.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;    -Justin<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;        Thank you<br>
&gt;&gt;&gt;        Carla<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> &lt;<a href="http://vt.edu" target="_blank">http://vt.edu</a>&gt; | (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;    --    gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
&gt;&gt;&gt;    &lt;mailto:<a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a>&gt;<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 <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before<br>
&gt;&gt;&gt;    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;    &lt;mailto:<a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>&gt;.<br>
&gt;&gt;&gt;    Can&#39;t post? Read <a href="http://www.gromacs.org/mailing_lists/users.php" target="_blank">http://www.gromacs.org/mailing_lists/users.php</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; ========================================<br>
&gt;&gt;<br>
&gt;&gt; Justin A. Lemkul<br>
&gt;&gt; Ph.D. Candidate<br>
&gt;&gt; ICTAS Doctoral Scholar<br>
&gt;&gt; MILES-IGERT Trainee<br>
&gt;&gt; Department of Biochemistry<br>
&gt;&gt; Virginia Tech<br>
&gt;&gt; Blacksburg, VA<br>
&gt;&gt; jalemkul[at]<a href="http://vt.edu" target="_blank">vt.edu</a> | (540) 231-9080<br>
&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;<br>
&gt;&gt; ========================================<br>
&gt;&gt; --<br>
&gt;&gt; gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
&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; Please search the archive at <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before posting!<br>
&gt;&gt; Please don&#39;t post (un)subscribe requests to the list. Use the www<br>
&gt;&gt; interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
&gt;&gt; Can&#39;t post? Read <a href="http://www.gromacs.org/mailing_lists/users.php" target="_blank">http://www.gromacs.org/mailing_lists/users.php</a><br>
&gt;<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 <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/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/mailing_lists/users.php" target="_blank">http://www.gromacs.org/mailing_lists/users.php</a><br>
&gt;<br>
<br>
<br>
<br>
</div><font color="#888888">--<br>
Tsjerk A. Wassenaar, Ph.D.<br>
<br>
Computational Chemist<br>
Medicinal Chemist<br>
Neuropharmacologist<br>
</font><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/search" target="_blank">http://www.gromacs.org/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/mailing_lists/users.php" target="_blank">http://www.gromacs.org/mailing_lists/users.php</a><br>
</div></div></blockquote></div><br>