<HTML>
<HEAD>
<META content="text/html; charset=big5" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>

<font size="2"><b></b>&gt; 

On 17/08/11, Hsin-Lin Chiang &lt;jiangsl@phys.sinica.edu.tw&gt; wrote: 
<br />&gt; 

<br />&gt; 

&gt; Hi, 
<br />&gt; 

&gt;  
<br />&gt; 

&gt; I got confused about the choice of reference structure of g_rms. (g_rms -s) 

<br />&gt; 

&gt; For example, 
<br />&gt; 

&gt; I run MD after PR. 
<br />&gt; 

&gt; That's means md.tpr was generated from pr.gro 
<br />&gt; 

&gt; I tried to use pr.gro and md.tpr to be the reference structure but get 
different result. 
<br />&gt; 

&gt; I think these two should cause the same result. 
<br />&gt; 
<br />&gt; 

I think they should give the same result. If not, then the mostly likely 
explanation is that you've not used the files the way you think you have. You 
need to be able to issue 
<br />&gt; 
<br />&gt; 

grompp -f md -c pr -o md  
<br />&gt; 

g_rms -s md.tpr -f whatever  
<br />&gt; 

g_rms -s pr.gro -f whatever 
<br />&gt; 
<br />&gt; 

and get different results for there to be some kind of problem. In any case, you 
need to provide copies of your command lines and the different result in order 
for us to see whether you or GROMACS has done something 
wrong/unexpected/whatever. Otherwise it's hearsay and we'll shrug and do 
something else with our time :-) 
<br />&gt; 
<br />&gt; 

Mark  
<br />&gt; 
<br />Hi Mark,
<br />
<br />Thank you for your reply.
<br />I used,
<br />grompp -f md.mdp -c pr.gro -t pr.trr -o md.tpr&#160;&#160;&#160;&#160;&#160; 
<br />mdrun -deffnm
<br />
<br />then, 
<br />g_rms -f md.trr -s md.tpr -o rmsd1.xvg
<br />g_rms -f md.trr -s pr.gro&#160; -o rmsd2.xvg
<br />
<br />The output rmsd1.xvg and rmsd2.xvg are different in value.
<br />
<br />Hsin-Lin
<br />&gt; 

&gt;  
<br />&gt; 

&gt;  
<br />&gt; 

&gt; Could someone tell me &#160;what cause the different and which choice is 
better? 
<br />&gt; 

&gt;  
<br />&gt; 

&gt; And my version is gromacs v4.0.5 
<br />&gt; 

&gt;  
<br />&gt; 

&gt; Sincerely yours, 
<br />&gt; 

&gt; Hsin-Lin 
<br />
<br />
</font>

</BODY>
</HTML>