Thanks Yun,<div><br></div><div>Have a look at <a href="http://code.google.com/p/acpype/wiki/TestingAcpypeAmb2gmx">http://code.google.com/p/acpype/wiki/TestingAcpypeAmb2gmx</a> so you may have tips of how to improve you check. One thing I recorded that makes diff is that amber input files have 6 decimals of precision and PDB/GRO only 3.</div>

<div><br></div><div>Not knowing exactly what you did, but it sounds that 0.05% (for total pot energy?) is OK.</div><div><br></div><div>Alan</div><div><br></div><div><br><br><div class="gmail_quote">On 15 September 2011 06:18, Yun Shi <span dir="ltr">&lt;<a href="mailto:yunshi09@gmail.com">yunshi09@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 Alan,<br><br>For example, in the Glycam_06g.dat file, you can find:<br>........<br>OH-CG-CG-OS   1   -1.10          0.0            -1<br>

........<br><br>So this dihedral parameter has a force constant of -1.10, and this is what I mean by &quot;GLYCAM force field assigns negative force constants to some dihedrals&quot;.<br>

<br>I did try the GMX45 approach, and using the conversion factor 4.184, I got a difference of about 0.05%.  I am not sure if this is caused not setting step size in the sander minimization.<br><br>Regards,<br>Yun<br><br>



<br><br><br><br><br><br>Date: Tue, 13 Sep 2011 12:03:10 +0100<br>
From: Alan &lt;<a href="mailto:alanwilter@gmail.com" target="_blank">alanwilter@gmail.com</a>&gt;<br>
Subject: Re: [gmx-users] Re: <a href="http://amb2gmx.pl/" target="_blank">amb2gmx.pl</a> to convert GLYCAM topology<br>
To: Discussion list for GROMACS users &lt;<a href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:CAEznbznq98PbHjdR1SMPOgdTz_pGFqsk40iZLfPQ7-NiZywJ4A@mail.gmail.com" target="_blank">CAEznbznq98PbHjdR1SMPOgdTz_pGFqsk40iZLfPQ7-NiZywJ4A@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<div><div></div><div class="h5"><br>
<br>
Hi Yun,<br>
<br>
Have you read <a href="http://ambermd.org/formats.html" target="_blank">http://ambermd.org/formats.html</a>?<br>
<br>
In particular, this note:<br>
<br>
&quot;&quot;&quot;<br>
NOTE: *the atom numbers in the following arrays that describe bonds, angles,<br>
and dihedrals are coordinate array indexes for runtime speed. The true atom<br>
number equals the absolute value of the number divided by three, plus one.<br>
In the case of the dihedrals, if the fourth atom is negative, this implies<br>
that the dihedral is an improper. If the third atom is negative, this<br>
implies that the end group interations are to be ignored. End group<br>
interactions are ignored, for example, in dihedrals of various ring systems<br>
(to prevent double counting of 1-4 interactions) and in multiterm dihedrals.<br>
*<br>
&quot;&quot;&quot;<br>
<br>
I may be failing to understand what you mean by &quot;GLYCAM force field assigns<br>
negative force constants to some dihedrals&quot;.<br>
<br>
Anyway, since GMX 4.5 can go without RB convertions, you can do this:<br>
<br>
acpype -x disac.inpcrd -p disac.prmtop --gmx45<br>
<br>
If you have sander, you can do just one step of EM and compare against one<br>
step EM with GMX. Do the proper conversions and Energies diff should be &lt;<br>
0.001%.<br>
<br>
Cheers,<br>
<br>
Alan<br>
<br>
On 12 September 2011 21:21, Yun Shi &lt;<a href="mailto:yunshi09@gmail.com" target="_blank">yunshi09@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I am not a CS person, but I did find something in acpype.py as<br>
&gt;<br>
&gt; .............<br>
&gt;                 if phase in [0, 180]:<br>
&gt;                     properDihedralsGmx45.append([</div></div><blockquote class="gmail_quote"><div><div></div><div class="h5">item[0].atoms, phaseRaw,<br>
&gt; kPhi, period])<br>
&gt;                     if not self.gmx45:<br>
&gt;                         if kPhi &gt; 0: V[period] = 2 * kPhi * cal<br>
&gt;                         if period == 1:<br>
&gt;                             C[0] += 0.5 * V[period]<br>
&gt;                             if phase == 0:<br>
&gt;                                 C[1] -= 0.5 * V[period]<br>
&gt;                             else:<br>
&gt;                                 C[1] += 0.5 * V[period]<br>
&gt;                         elif period == 2:<br>
&gt; ......................<br>
&gt;<br>
&gt; kPhi here seems to be the dihedral force constant, and it seems if kPhi &lt;<br>
&gt; 0, no value will be assigned to C[0], C[1], C[2] ...<br>
&gt;<br>
&gt; I wonder if the negative dihedral force constants problem could be solved<br>
&gt; by changing &#39;kPhi &gt; 0&#39; to &#39;kPhi != 0&#39; for acpype?<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Yun<br>
&gt;<br>
&gt; --<br>
&gt; gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org" target="_blank">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" target="_blank">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>
Alan Wilter SOUSA da SILVA, DSc<br>
Bioinformatician, UniProt - PANDA, EMBL-EBI<br>
CB10 1SD, Hinxton, Cambridge, UK<br>
<a href="tel:%2B44%201223%2049%204588" value="+441223494588" target="_blank">+44 1223 49 4588</a><br></div></div><div class="im">
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br></div>
URL: <a href="http://lists.gromacs.org/pipermail/gmx-users/attachments/20110913/f9bc31d1/attachment-0001.html" target="_blank">http://lists.gromacs.org/pipermail/gmx-users/attachments/20110913/f9bc31d1/attachment-0001.html</a><br>




<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Tue, 13 Sep 2011 16:46:44 +0530<br>
From: om prakash &lt;<a href="mailto:ombioinfo@gmail.com" target="_blank">ombioinfo@gmail.com</a>&gt;<br>
Subject: [gmx-users] Unsubscribe me Please<div class="im"><br>
To: <a href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a><br></div>
Message-ID:<br>
        &lt;CAM5rxXNDPYi_aEEd+7efAmZoPex8B4Um5FwgJKg6hfm=<a href="mailto:t9YUOg@mail.gmail.com" target="_blank">t9YUOg@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Unsubscribe me Please<br>
--<br>
Om Prakash Sharma<br>
Ph.D Scholar &amp; DIT JRF<br>
Centre for Bioinformatics<br>
Pondicherry University<br>
Pondicherry-605014<br>
-------------- next part --------------</blockquote>
<br>--<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></blockquote></div><br><br clear="all"><div><br></div>-- <br>Alan Wilter SOUSA da SILVA, DSc<div>

Bioinformatician, UniProt - PANDA, EMBL-EBI<br>CB10 1SD, Hinxton, Cambridge, UK</div><div>+44 1223 49 4588</div><br>
</div>