g_traj_d (1) Linux Manual Page
g_traj – plots x, v and f of selected atoms/groups (and more) from a trajectory
VERSION 4.0.1
Synopsis
g_traj -f traj.xtc -s topol.tpr -n index.ndx -ox coord.xvg -oxt coord.xtc -ov veloc.xvg -of force.xvg -ob box.xvg -ot temp.xvg -ekt ektrans.xvg -ekr ekrot.xvg -vd veldist.xvg -cv veloc.pdb -cf force.pdb -av all_veloc.xvg -af all_force.xvg -[no]h -nice int -b time -e time -dt time -tu enum -[no]w -[no]xvgr -[no]com -[no]mol -[no]nojump -[no]x -[no]y -[no]z -ng int -[no]len -bin real -scale realDescription
g_traj plots coordinates, velocities, forces and/or the box. With -com the coordinates, velocities and forces are calculated for the center of mass of each group. When -mol is set, the numbers in the index file are interpreted as molecule numbers and the same procedure as with -com is used for each molecule.Option -ot plots the temperature of each group, provided velocities are present in the trajectory file. No corrections are made for constrained degrees of freedom! This implies -com.
Options -ekt and -ekr plot the translational and rotational kinetic energy of each group, provided velocities are present in the trajectory file. This implies -com.
Options -cv and -cf write the average velocities and average forces as temperature factors to a pdb file with the average coordinates. The temperature factors are scaled such that the maximum is 10. The scaling can be changed with the option -scale. To get the velocities or forces of one frame set both -b and -e to the time of desired frame. When averaging over frames you might need to use the -nojump option to obtain the correct average coordinates. If you select either of these option the average force and velocity for each atom are written to an xvg file as well (specified with -av or -af).
Option -vd computes a velocity distribution, i.e. the norm of the vector is plotted. In addition in the same graph the kinetic energy distribution is given.
Files
-f traj.xtc Input -s topol.tpr Input
-n index.ndx Input, Opt.
-ox coord.xvg Output, Opt.
-oxt coord.xtc Output, Opt.
-ov veloc.xvg Output, Opt.
-of force.xvg Output, Opt.
-ob box.xvg Output, Opt.
-ot temp.xvg Output, Opt.
-ekt ektrans.xvg Output, Opt.
-ekr ekrot.xvg Output, Opt.
-vd veldist.xvg Output, Opt.
-cv veloc.pdb Output, Opt.
-cf force.pdb Output, Opt.
-av all_veloc.xvg Output, Opt.
-af all_force.xvg Output, Opt.
Other Options
-[no]hno -nice int 19
-b time 0
-e time 0
-dt time 0
-tu enum ps
-[no]wno
-[no]xvgryes
-[no]comno
-[no]molno
-[no]nojumpno
-[no]xyes
-[no]yyes
-[no]zyes
-ng int 1
-[no]lenno
-bin real 1
-scale real 0
See Also
gromacs(7)More information about GROMACS is available at <http://www.gromacs.org/>.
