Sorry about my mistake. I wrote that email based on my analysis of ff.dat. <br><br>Below I show you two lines from my ff.dat<br><br><ol><li>ffG53a6    GROMOS96 53a6 force field (JCC 2004 vol 25 pag 1656) </li><li>ffoplsaa   OPLS-AA/L all-atom force field (2001 aminoacid dihedrals)</li>
</ol>I understood that your subdirectory names will be ffG53a6 and ffoplsaa. But I thought if OPLS has a newer version, I must work with them. So I&#39;ll need two subdirectory for OPLS force field.  <br><br>Thanks in advanced.<br>
<br>--<br>Rodrigo Antonio Faccioli<br>Ph.D Student in Electrical Engineering<br>University of Sao Paulo - USP<br>Engineering School of Sao Carlos - EESC<br>Department of Electrical Engineering - SEL<br>Intelligent System in Structure Bioinformatics<br>
<a href="http://laips.sel.eesc.usp.br">http://laips.sel.eesc.usp.br</a><br>Phone: 55 (16) 3373-9366 Ext 229<br>Curriculum Lattes - <a href="http://lattes.cnpq.br/1025157978990218">http://lattes.cnpq.br/1025157978990218</a><br>

<br><br><div class="gmail_quote">On Mon, Jan 25, 2010 at 2:47 PM, Berk Hess <span dir="ltr">&lt;<a href="mailto:hess@cbr.su.se">hess@cbr.su.se</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;">
I don&#39;t understand exactly what you are trying to say.<br>
<br>
Force fields are currently all stored in the same directory.<br>
All files in the same force field have the same name, but different<br>
extension ff&lt;name&gt;.???<br>
<br>
In the new setup all force fields are stored in separate directories<br>
called &lt;name&gt;.ff<br>
Inside this directory the base file names are completely free except for<br>
the files<br>
forcefield.itp and forcefield.doc (optional).<br>
<br>
Force file versioning doesn&#39;t really change, except that the naming<br>
moves from all forcefield file<br>
to the dir name only.<br>
<br>
Berk<br>
<div class="im"><br>
Rodrigo faccioli wrote:<br>
&gt; I think this is a good idea. But, I have a question. How do I work<br>
&gt; with  releases of force fields? Imagine, I work with release A and the<br>
&gt; force field is updated. However, I need to make tests before I update<br>
&gt; my simulations with newer release.<br>
&gt;<br>
&gt; So, I have my subdirectory forcefield_Version. When I&#39;ll work with its<br>
&gt; newer release, Must I change the directory name only and put them the<br>
&gt; new files?<br>
&gt;<br>
&gt; So, if I understood correctly I suggest the subdirectory name to<br>
&gt; contain the version of force field. If you have already this idea,<br>
&gt; sorry about this email.<br>
&gt;<br>
&gt; Thanks in advanced.<br>
&gt;<br>
&gt; --<br>
&gt; Rodrigo Antonio Faccioli<br>
&gt; Ph.D Student in Electrical Engineering<br>
&gt; University of Sao Paulo - USP<br>
&gt; Engineering School of Sao Carlos - EESC<br>
&gt; Department of Electrical Engineering - SEL<br>
&gt; Intelligent System in Structure Bioinformatics<br>
&gt; <a href="http://laips.sel.eesc.usp.br" target="_blank">http://laips.sel.eesc.usp.br</a><br>
&gt; Phone: 55 (16) 3373-9366 Ext 229<br>
&gt; Curriculum Lattes - <a href="http://lattes.cnpq.br/1025157978990218" target="_blank">http://lattes.cnpq.br/1025157978990218</a><br>
&gt;<br>
&gt;<br>
&gt; On Mon, Jan 25, 2010 at 1:23 PM, Berk Hess &lt;<a href="mailto:hess@cbr.su.se">hess@cbr.su.se</a><br>
</div><div><div></div><div class="h5">&gt; &lt;mailto:<a href="mailto:hess@cbr.su.se">hess@cbr.su.se</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Exactly.<br>
&gt;     It should be easier now, since you no longer need an FF.dat file<br>
&gt;     and you can also have a forcefield as a subdirectory of your working<br>
&gt;     directory<br>
&gt;     without having to set env.vars.<br>
&gt;<br>
&gt;     Also water model management is simpler, since each force field<br>
&gt;     directory<br>
&gt;     will<br>
&gt;     have its own water model files.<br>
&gt;<br>
&gt;     Berk<br>
&gt;<br>
&gt;     Justin A. Lemkul wrote:<br>
&gt;     &gt;<br>
&gt;     &gt; I assume it will also still be relatively easy to implement new<br>
&gt;     force<br>
&gt;     &gt; fields? In the past, it was as easy as copying the necessary<br>
&gt;     files to<br>
&gt;     &gt; $GMXLIB and updating FF.dat.  Now I assume one can simply add a new<br>
&gt;     &gt; &lt;something&gt;.ff directory containing all the appropriate files and<br>
&gt;     &gt; pdb2gmx can process them?<br>
&gt;     &gt;<br>
&gt;     &gt; -Justin<br>
&gt;     &gt;<br>
&gt;     &gt; Berk Hess wrote:<br>
&gt;     &gt;&gt; Ah, good that you mention this.<br>
&gt;     &gt;&gt; I thought about this, but forgot about it.<br>
&gt;     &gt;&gt; I will add a check such that is always uses the first entry and<br>
&gt;     warns<br>
&gt;     &gt;&gt; you<br>
&gt;     &gt;&gt; when it ignores are second one.<br>
&gt;     &gt;&gt; Your working dir will always be read first.<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; Another feature is that you can now have different bonded settings<br>
&gt;     &gt;&gt; (bond, angle, dihedral types, nrexcl, etc.) for rtp entries in<br>
&gt;     different<br>
&gt;     &gt;&gt; files.<br>
&gt;     &gt;&gt; But within each moleculetype only one setting can be used, pdb2gmx<br>
&gt;     &gt;&gt; checks this.<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; Berk<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; Tsjerk Wassenaar wrote:<br>
&gt;     &gt;&gt;&gt; Hi Berk,<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt; Sounds like a good idea. So it would also be easy to add<br>
&gt;     ligands, as<br>
&gt;     &gt;&gt;&gt; it would only require to put a ligand.rtp to the directory,<br>
&gt;     without<br>
&gt;     &gt;&gt;&gt; editing the original files? But what will happen if a certain<br>
&gt;     residue<br>
&gt;     &gt;&gt;&gt; is defined in different files? Will it issue a warning, or an<br>
&gt;     error,<br>
&gt;     &gt;&gt;&gt; something else?<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt; Cheers,<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt; Tsjerk<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt; On Mon, Jan 25, 2010 at 3:34 PM, Berk Hess &lt;<a href="mailto:hess@cbr.su.se">hess@cbr.su.se</a><br>
</div></div><div><div></div><div class="h5">&gt;     &lt;mailto:<a href="mailto:hess@cbr.su.se">hess@cbr.su.se</a>&gt;&gt; wrote:<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt; Hi,<br>
&gt;     &gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt; I have made some changes in pdb2gmx to better organize all<br>
&gt;     the force<br>
&gt;     &gt;&gt;&gt;&gt; field files.<br>
&gt;     &gt;&gt;&gt;&gt; But before I commit, I would like to have some feedback from the<br>
&gt;     &gt;&gt;&gt;&gt; GROMACS<br>
&gt;     &gt;&gt;&gt;&gt; community.<br>
&gt;     &gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt; If have now made it such that force fields are all in separate<br>
&gt;     &gt;&gt;&gt;&gt; directories and there is<br>
&gt;     &gt;&gt;&gt;&gt; no longer an FF.dat file.<br>
&gt;     &gt;&gt;&gt;&gt; Force fields are now detected by pdb2gmx by a filename in a<br>
&gt;     &gt;&gt;&gt;&gt; subdirectory<br>
&gt;     &gt;&gt;&gt;&gt; as follows:<br>
&gt;     &gt;&gt;&gt;&gt; &lt;ffname&gt;.ff/forcefield.itp<br>
&gt;     &gt;&gt;&gt;&gt; For example for OPLS:<br>
&gt;     &gt;&gt;&gt;&gt; oplsaa.ff/forcefield.itp<br>
&gt;     &gt;&gt;&gt;&gt; If the directory also contains a file forcefield.doc, the first<br>
&gt;     &gt;&gt;&gt;&gt; line of<br>
&gt;     &gt;&gt;&gt;&gt; this file is assumed<br>
&gt;     &gt;&gt;&gt;&gt; to be a short description of the force field and this is printed<br>
&gt;     &gt;&gt;&gt;&gt; (previously this was in FF.dat).<br>
&gt;     &gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt; pdb2gmx then reads any files ending on .atp, .r2b, .rtp,<br>
&gt;     .tdb, .hdb,<br>
&gt;     &gt;&gt;&gt;&gt; both from the force field directory and the current working<br>
&gt;     directory.<br>
&gt;     &gt;&gt;&gt;&gt; The only mandatory files are one .atp file and one .rtp file.<br>
&gt;     &gt;&gt;&gt;&gt; Termini from .tdb files are only applied to rtp entries from .rtp<br>
&gt;     &gt;&gt;&gt;&gt; files<br>
&gt;     &gt;&gt;&gt;&gt; with the same base file name.<br>
&gt;     &gt;&gt;&gt;&gt; The general idea is to have, for instance:<br>
&gt;     &gt;&gt;&gt;&gt; atomtypes.atp<br>
&gt;     &gt;&gt;&gt;&gt; aminoacids.rtp<br>
&gt;     &gt;&gt;&gt;&gt; aminoacids.n.tdb<br>
&gt;     &gt;&gt;&gt;&gt; aminoacids.c.tdb<br>
&gt;     &gt;&gt;&gt;&gt; aminoacids.hdb<br>
&gt;     &gt;&gt;&gt;&gt; dna.rtp<br>
&gt;     &gt;&gt;&gt;&gt; dna.n.tdb<br>
&gt;     &gt;&gt;&gt;&gt; dna.c.tdb<br>
&gt;     &gt;&gt;&gt;&gt; dna.hdb<br>
&gt;     &gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt; Especially useful for AMBER, you can have .r2b files to map<br>
&gt;     residue<br>
&gt;     &gt;&gt;&gt;&gt; names to building block names,<br>
&gt;     &gt;&gt;&gt;&gt; depending on the protonation state and if in termini or not.<br>
&gt;     &gt;&gt;&gt;&gt; Also useful for AMBER, you would not longer be required to<br>
&gt;     make tdb<br>
&gt;     &gt;&gt;&gt;&gt; files.<br>
&gt;     &gt;&gt;&gt;&gt; pdb2gmx checks if there are no dangling bonds due to missing<br>
&gt;     termini.<br>
&gt;     &gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt; For backward compatibility of grompp there would still be a file<br>
&gt;     &gt;&gt;&gt;&gt; such as<br>
&gt;     &gt;&gt;&gt;&gt; ffoplsaa.itp<br>
&gt;     &gt;&gt;&gt;&gt; in the lib dir, which would simply #include<br>
&gt;     &gt;&gt;&gt;&gt; ffoplsaa.ff/forcefield.itp,<br>
&gt;     &gt;&gt;&gt;&gt; similarly there will<br>
&gt;     &gt;&gt;&gt;&gt; be spc.itp, tip3p.tip, ions.itp etc.<br>
&gt;     &gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt; Are there any objections or comments?<br>
&gt;     &gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt; Berk<br>
&gt;     &gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt; --<br>
&gt;     &gt;&gt;&gt;&gt; gmx-developers mailing list<br>
</div></div>&gt;     &gt;&gt;&gt;&gt; <a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a> &lt;mailto:<a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a>&gt;<br>
<div class="im">&gt;     &gt;&gt;&gt;&gt; <a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a><br>
&gt;     &gt;&gt;&gt;&gt; Please don&#39;t post (un)subscribe requests to the list. Use the<br>
&gt;     &gt;&gt;&gt;&gt; www interface or send it to<br>
&gt;     <a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a><br>
</div>&gt;     &lt;mailto:<a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>&gt;.<br>
&gt;     &gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;<br>
&gt;<br>
&gt;     --<br>
&gt;     gmx-developers mailing list<br>
&gt;     <a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a> &lt;mailto:<a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a>&gt;<br>
<div class="im">&gt;     <a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a><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-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a><br>
</div>&gt;     &lt;mailto:<a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>&gt;.<br>
<div><div></div><div class="h5">&gt;<br>
&gt;<br>
<br>
--<br>
gmx-developers mailing list<br>
<a href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-developers" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-developers</a><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-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>.<br>
</div></div></blockquote></div><br>