Improvements to the g_lie help description.
authorJustin Lemkul <jalemkul@vt.edu>
Tue, 8 Oct 2013 11:38:04 +0000 (07:38 -0400)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Tue, 20 May 2014 12:40:49 +0000 (14:40 +0200)
Information was sparse, likely to avoid restating published
protocols, but some expansion was definitely warranted,
given the amount of questions that have recently been
posted to the mailing list and Redmine.

Refs #1353

Change-Id: Ib4057ae671ccac70061498b1d40ebcba84c497ee

src/tools/gmx_lie.c

index 3b5fd3bb952a2be0797939a15351bd4750218819..98a902a901ffc3e9aff2a45979a4ce99ce7f12d3 100644 (file)
@@ -145,8 +145,13 @@ int gmx_lie(int argc, char *argv[])
 {
     const char        *desc[] = {
         "[TT]g_lie[tt] computes a free energy estimate based on an energy analysis",
-        "from. One needs an energy file with the following components:",
-        "Coul (A-B) LJ-SR (A-B) etc."
+        "from nonbonded energies. One needs an energy file with the following components:",
+        "Coul-(A-B) LJ-SR (A-B) etc.[PAR]",
+        "To utilize [TT]g_lie[tt] correctly, two simulations are required: one with the",
+        "molecule of interest bound to its receptor and one with the molecule in water.",
+        "Both need to utilize [TT]energygrps[tt] such that Coul-SR(A-B), LJ-SR(A-B), etc. terms",
+        "are written to the [TT].edr[tt] file. Values from the molecule-in-water simulation",
+        "are necessary for supplying suitable values for -Elj and -Eqq."
     };
     static real        lie_lj = 0, lie_qq = 0, fac_lj = 0.181, fac_qq = 0.5;
     static const char *ligand = "none";
@@ -190,6 +195,7 @@ int gmx_lie(int argc, char *argv[])
 
     ld = analyze_names(nre, enm, ligand);
     snew(fr, 1);
+
     out = xvgropen(ftp2fn(efXVG, NFILE, fnm), "LIE free energy estimate",
                    "Time (ps)", "DGbind (kJ/mol)", oenv);
     while (do_enx(fp, fr))