g_energy_d (1) Linux Manual Page
g_energy – writes energies to xvg files and displays averages
VERSION 4.0.1
Synopsis
g_energy -f ener.edr -f2 ener.edr -s topol.tpr -o energy.xvg -viol violaver.xvg -pairs pairs.xvg -ora orienta.xvg -ort orientt.xvg -oda orideva.xvg -odr oridevr.xvg -odt oridevt.xvg -oten oriten.xvg -corr enecorr.xvg -vis visco.xvg -ravg runavgdf.xvg -[no]h -nice int -b time -e time -[no]w -[no]xvgr -[no]fee -fetemp real -zero real -[no]sum -[no]dp -[no]mutot -[no]uni -skip int -[no]aver -nmol int -ndf int -[no]fluc -[no]orinst -[no]ovec -acflen int -[no]normalize -P enum -fitfn enum -ncskip int -beginfit real -endfit realDescription
g_energy extracts energy components or distance restraint data from an energy file. The user is prompted to interactively select the energy terms she wants.Average and RMSD are calculated with full precision from the simulation (see printed manual). Drift is calculated by performing a LSQ fit of the data to a straight line. Total drift is drift multiplied by total time. The term fluctuation gives the RMSD around the LSQ fit.
When the -viol option is set, the time averaged violations are plotted and the running time-averaged and instantaneous sum of violations are recalculated. Additionally running time-averaged and instantaneous distances between selected pairs can be plotted with the -pairs option.
Options -ora, -ort, -oda, -odr and -odt are used for analyzing orientation restraint data. The first two options plot the orientation, the last three the deviations of the orientations from the experimental values. The options that end on an ‘a’ plot the average over time as a function of restraint. The options that end on a ‘t’ prompt the user for restraint label numbers and plot the data as a function of time. Option -odr plots the RMS deviation as a function of restraint. When the run used time or ensemble averaged orientation restraints, option -orinst can be used to analyse the instantaneous, not ensemble-averaged orientations and deviations instead of the time and ensemble averages.
Option -oten plots the eigenvalues of the molecular order tensor for each orientation restraint experiment. With option -ovec also the eigenvectors are plotted.
With -fee an estimate is calculated for the free-energy difference with an ideal gas state:
Delta A = A(N,V,T) – A_idgas(N,V,T) = kT ln e(Upot/kT)
Delta G = G(N,p,T) – G_idgas(N,p,T) = kT ln e(Upot/kT)
where k is Boltzmann’s constant, T is set by -fetemp andthe average is over the ensemble (or time in a trajectory). Note that this is in principle only correct when averaging over the whole (Boltzmann) ensemble and using the potential energy. This also allows for an entropy estimate using:
Delta S(N,V,T) = S(N,V,T) – S_idgas(N,V,T) = (Upot – Delta A)/T
Delta S(N,p,T) = S(N,p,T) – S_idgas(N,p,T) = (Upot + pV – Delta G)/T
When a second energy file is specified ( -f2), a free energy difference is calculated dF = -kT ln e -(EB-EA)/kT A , where EA and EB are the energies from the first and second energy files, and the average is over the ensemble A. NOTE that the energies must both be calculated from the same trajectory.
Files
-f ener.edr Input -f2 ener.edr Input, Opt.
-s topol.tpr Input, Opt.
-o energy.xvg Output
-viol violaver.xvg Output, Opt.
-pairs pairs.xvg Output, Opt.
-ora orienta.xvg Output, Opt.
-ort orientt.xvg Output, Opt.
-oda orideva.xvg Output, Opt.
-odr oridevr.xvg Output, Opt.
-odt oridevt.xvg Output, Opt.
-oten oriten.xvg Output, Opt.
-corr enecorr.xvg Output, Opt.
-vis visco.xvg Output, Opt.
-ravg runavgdf.xvg Output, Opt.
Other Options
-[no]hno -nice int 19
-b time 0
-e time 0
-[no]wno
-[no]xvgryes
-[no]feeno
-fetemp real 300
-zero real 0
-[no]sumno
-[no]dpno
-[no]mutotno
-[no]uniyes
-skip int 0
-[no]averno
-nmol int 1
-ndf int 3
-[no]flucno
-[no]orinstno
-[no]ovecno
-acflen int -1
-[no]normalizeyes
-P enum 0
-fitfn enum none
-ncskip int 0
-beginfit real 0
-endfit real -1
See Also
gromacs(7)More information about GROMACS is available at <http://www.gromacs.org/>.
