Thanks a lot for the reply.<div>But I am getting different results with the two .tpr files (first and last) using the following commands:</div><div><br></div><div>trjconv -s <b>first.tpr </b>-f test.xtc -o str.gro -dump 10000 -pbc nojump</div>
<div>trjconv -s <b>last.tpr</b> -f test.xtc -o str.gro -dump 10000 -pbc nojump</div><div><br></div><div>So which .tpr file should I use?</div><div><br></div><div>Thanks,</div><div><br></div><div>Anirban</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>
<br><div class="gmail_quote">On Sat, Dec 4, 2010 at 12:29 PM, Mark Abraham <span dir="ltr">&lt;<a href="mailto:Mark.Abraham@anu.edu.au">Mark.Abraham@anu.edu.au</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 4/12/2010 4:33 PM, Anirban Ghosh wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks a lot for the reply.<br>
Actually I am running a protein in lipid bilayer. Now I want to<br>
calculate the thickness of the bilayer at the end of the simulation.<br>
So for that I want the last structure (.gro) file. So I am trying to<br>
dump the last structure using trjconv (with -pbc option). So to do<br>
this which .tpr file should I supply to trjconv, the first one or the<br>
last one?<br>
</blockquote>
<br></div>
Since you&#39;re not using the coordinates in the .tpr file to extract the last frame and map its coordinates onto the .tpr&#39;s atom names, it can&#39;t matter what they are.<br><font color="#888888">
<br>
Mark</font><div><div></div><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks again.<br>
<br>
Anirban<br>
<br>
On 12/4/10, Justin A. Lemkul&lt;<a href="mailto:jalemkul@vt.edu" target="_blank">jalemkul@vt.edu</a>&gt;  wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Anirban Ghosh wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks a lot Justin for the reply. Yes, I understand that. But ideally<br>
which structure should be used as the reference, in a general, the<br>
starting structure or the end structure?<br>
</blockquote>
That&#39;s up to you to decide based on what you need to measure.  Do you want<br>
the<br>
RMSD relative to your starting (i.e. crystal/NMR) structure, or are you<br>
trying<br>
to study how a protein folds, in which case you&#39;d use the native (end)<br>
state?<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
like when I an using trjconv to dump my last frame (with &quot;-pbc nojump&quot;),<br>
which .tpr file should I use to get the exact picture of what has<br>
happened to my protein at the end of the simulation. Should I use the<br>
first .tpr file or the last .tpr file?<br>
<br>
</blockquote>
I don&#39;t understand what you mean.  &quot;What has happened&quot; is an entire<br>
trajectory,<br>
not a snapshot.<br>
<br>
-Justin<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks a lot again.<br>
<br>
Anirban<br>
<br>
On Fri, Dec 3, 2010 at 7:35 PM, Justin A. Lemkul&lt;<a href="mailto:jalemkul@vt.edu" target="_blank">jalemkul@vt.edu</a><br>
&lt;mailto:<a href="mailto:jalemkul@vt.edu" target="_blank">jalemkul@vt.edu</a>&gt;&gt;  wrote:<br>
<br>
<br>
<br>
     Anirban Ghosh wrote:<br>
<br>
         Hi ALL,<br>
<br>
         Its a very basic question but still...<br>
         When we calculate RMSD (or any other parameter) using the g_rms<br>
         command, we need to supply the .tpr file with -s option. Now<br>
         suppose if I have a total 20 ns simulation with 4 breaks (i.e 5<br>
         ns in each run), then there will be 4 .tpr files. So at the end<br>
         of 20 ns if I wish to calculate RMSD, then which .tpr file<br>
         should I suppy to g_rms, the first one or the last one? We I run<br>
         g_rms with the two .tpr files, I get different results. So which<br>
         one should be used? Any suggestion is welcome.<br>
<br>
<br>
     Use the one that contains the structure you wish to serve as your<br>
     reference.<br>
<br>
     -Justin<br>
<br>
<br>
         Thanks,<br>
<br>
         Anirban<br>
<br>
<br>
     --<br>
     ========================================<br>
<br>
     Justin A. Lemkul<br>
     Ph.D. Candidate<br>
     ICTAS Doctoral Scholar<br>
     MILES-IGERT Trainee<br>
     Department of Biochemistry<br>
     Virginia Tech<br>
     Blacksburg, VA<br>
     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>
     <a href="http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin" target="_blank">http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin</a><br>
<br>
     ========================================<br>
     --<br>
     gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a><br>
     &lt;mailto:<a href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a>&gt;<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<br>
     <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 www<br>
     interface or send it to <a href="mailto:gmx-users-request@gromacs.org" target="_blank">gmx-users-request@gromacs.org</a><br>
     &lt;mailto:<a href="mailto:gmx-users-request@gromacs.org" target="_blank">gmx-users-request@gromacs.org</a>&gt;.<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>
<br>
<br>
</blockquote>
--<br>
========================================<br>
<br>
Justin A. Lemkul<br>
Ph.D. Candidate<br>
ICTAS Doctoral Scholar<br>
MILES-IGERT Trainee<br>
Department of Biochemistry<br>
Virginia Tech<br>
Blacksburg, VA<br>
jalemkul[at]<a href="http://vt.edu" target="_blank">vt.edu</a> | (540) 231-9080<br>
<a href="http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin" target="_blank">http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin</a><br>
<br>
========================================<br>
--<br>
gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org" target="_blank">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<br>
<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" target="_blank">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>
<br>
</blockquote></blockquote>
<br></div></div>
-- <br><div><div></div><div class="h5">
gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org" target="_blank">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 www interface or send it to <a href="mailto:gmx-users-request@gromacs.org" target="_blank">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></div>