Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

g_sgangle(1) [debian man page]

g_sgangle(1)					 GROMACS suite, VERSION 4.5.4-dev-20110404-bc5695c				      g_sgangle(1)

NAME
g_sgangle - computes the angle and distance between two groups VERSION 4.5.4-dev-20110404-bc5695c SYNOPSIS
g_sgangle -f traj.xtc -n index.ndx -s topol.tpr -oa sg_angle.xvg -od sg_dist.xvg -od1 sg_dist1.xvg -od2 sg_dist2.xvg -[no]h -[no]version -nice int -b time -e time -dt time -[no]w -xvg enum -[no]one -[no]z DESCRIPTION
Compute the angle and distance between two groups. The groups are defined by a number of atoms given in an index file and may be two or three atoms in size. If -one is set, only one group should be specified in the index file and the angle between this group at time 0 and t will be computed. The angles calculated depend on the order in which the atoms are given. Giving, for instance, 5 6 will rotate the vec- tor 5-6 with 180 degrees compared to giving 6 5. If three atoms are given, the normal on the plane spanned by those three atoms will be calculated, using the formula P1P2 x P1P3. The cos of the angle is calculated, using the inproduct of the two normalized vectors. Here is what some of the file options do: -oa: Angle between the two groups specified in the index file. If a group contains three atoms the normal to the plane defined by those three atoms will be used. If a group contains two atoms, the vector defined by those two atoms will be used. -od: Distance between two groups. Distance is taken from the center of one group to the center of the other group. -od1: If one plane and one vector is given, the distances for each of the atoms from the center of the plane is given separately. -od2: For two planes this option has no meaning. FILES
-f traj.xtc Input Trajectory: xtc trr trj gro g96 pdb cpt -n index.ndx Input Index file -s topol.tpr Input Run input file: tpr tpb tpa -oa sg_angle.xvg Output xvgr/xmgr file -od sg_dist.xvg Output, Opt. xvgr/xmgr file -od1 sg_dist1.xvg Output, Opt. xvgr/xmgr file -od2 sg_dist2.xvg Output, Opt. xvgr/xmgr file OTHER OPTIONS
-[no]hno Print help info and quit -[no]versionno Print version info and quit -nice int 19 Set the nicelevel -b time 0 First frame (ps) to read from trajectory -e time 0 Last frame (ps) to read from trajectory -dt time 0 Only use frame when t MOD dt = first time (ps) -[no]wno View output .xvg, .xpm, .eps and .pdb files -xvg enum xmgrace xvg plot formatting: xmgrace, xmgr or none -[no]oneno Only one group compute angle between vector at time zero and time t -[no]zno Use the z-axis as reference SEE ALSO
gromacs(7) More information about GROMACS is available at <http://www.gromacs.org/>. Mon 4 Apr 2011 g_sgangle(1)

Check Out this Related Man Page

g_traj(1)					 GROMACS suite, VERSION 4.5.4-dev-20110404-bc5695c					 g_traj(1)

NAME
g_traj - plots x, v and f of selected atoms/groups (and more) from a trajectory VERSION 4.5.4-dev-20110404-bc5695c 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 -[no]version -nice int -b time -e time -dt time -tu enum -[no]w -xvg enum -[no]com -[no]pbc -[no]mol -[no]nojump -[no]x -[no]y -[no]z -ng int -[no]len -[no]fp -bin real -ctime real -scale real DESCRIPTION
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 con- strained 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 trajec- tory 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 or the coordinates at -ctime. 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 dis- tribution is given. FILES
-f traj.xtc Input Trajectory: xtc trr trj gro g96 pdb cpt -s topol.tpr Input Structure+mass(db): tpr tpb tpa gro g96 pdb -n index.ndx Input, Opt. Index file -ox coord.xvg Output, Opt. xvgr/xmgr file -oxt coord.xtc Output, Opt. Trajectory: xtc trr trj gro g96 pdb cpt -ov veloc.xvg Output, Opt. xvgr/xmgr file -of force.xvg Output, Opt. xvgr/xmgr file -ob box.xvg Output, Opt. xvgr/xmgr file -ot temp.xvg Output, Opt. xvgr/xmgr file -ekt ektrans.xvg Output, Opt. xvgr/xmgr file -ekr ekrot.xvg Output, Opt. xvgr/xmgr file -vd veldist.xvg Output, Opt. xvgr/xmgr file -cv veloc.pdb Output, Opt. Protein data bank file -cf force.pdb Output, Opt. Protein data bank file -av all_veloc.xvg Output, Opt. xvgr/xmgr file -af all_force.xvg Output, Opt. xvgr/xmgr file OTHER OPTIONS
-[no]hno Print help info and quit -[no]versionno Print version info and quit -nice int 19 Set the nicelevel -b time 0 First frame (ps) to read from trajectory -e time 0 Last frame (ps) to read from trajectory -dt time 0 Only use frame when t MOD dt = first time (ps) -tu enum ps Time unit: fs, ps, ns, us, ms or s -[no]wno View output .xvg, .xpm, .eps and .pdb files -xvg enum xmgrace xvg plot formatting: xmgrace, xmgr or none -[no]comno Plot data for the com of each group -[no]pbcyes Make molecules whole for COM -[no]molno Index contains molecule numbers iso atom numbers -[no]nojumpno Remove jumps of atoms across the box -[no]xyes Plot X-component -[no]yyes Plot Y-component -[no]zyes Plot Z-component -ng int 1 Number of groups to consider -[no]lenno Plot vector length -[no]fpno Full precision output -bin real 1 Binwidth for velocity histogram (nm/ps) -ctime real -1 Use frame at this time for x in -cv and -cf instead of the average x -scale real 0 Scale factor for .pdb output, 0 is autoscale SEE ALSO
gromacs(7) More information about GROMACS is available at <http://www.gromacs.org/>. Mon 4 Apr 2011 g_traj(1)
Man Page