gmx angle computes the angle distribution for a number of angles or dihedrals.
With option -ov, you can plot the average angle of a group of angles as a function of time. With the -all option, the first graph is the average and the rest are the individual angles.
With the -of option, gmx angle also calculates the fraction of trans dihedrals (only for dihedrals) as function of time, but this is probably only fun for a select few.
With option -oc, a dihedral correlation function is calculated.
It should be noted that the index file must contain atom triplets for angles or atom quadruplets for dihedrals. If this is not the case, the program will crash.
With option -or, a trajectory file is dumped containing cos and sin of selected dihedral angles, which subsequently can be used as input for a principal components analysis using gmx covar.
Option -ot plots when transitions occur between dihedral rotamers of multiplicity 3 and -oh records a histogram of the times between such transitions, assuming the input trajectory frames are equally spaced in time.
Options to specify input and output files:
-f [<.xtc/.trr/...>] (traj.xtc) (Input)
Trajectory: xtc trr cpt trj gro g96 pdb tng
-n [<.ndx>] (angle.ndx) (Input)
-od [<.xvg>] (angdist.xvg) (Output)
-ov [<.xvg>] (angaver.xvg) (Output, Optional)
-of [<.xvg>] (dihfrac.xvg) (Output, Optional)
-ot [<.xvg>] (dihtrans.xvg) (Output, Optional)
-oh [<.xvg>] (trhisto.xvg) (Output, Optional)
-oc [<.xvg>] (dihcorr.xvg) (Output, Optional)
-or [<.trr>] (traj.trr) (Output, Optional)
Trajectory in portable xdr format
-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)
View output .xvg, .xpm, .eps and .pdb files
-xvg <enum> (xmgrace)
xvg plot formatting: xmgrace, xmgr, none
-type <enum> (angle)
Type of angle to analyse: angle, dihedral, improper, ryckaert-bellemans
Plot all angles separately in the averages file, in the order of appearance in the index file.
-binwidth <real> (1)
binwidth (degrees) for calculating the distribution
Print dihedral angles modulo 360 degrees
Use Chandler correlation function (N[trans] = 1, N[gauche] = 0) rather than cosine correlation function. Trans is defined as phi -60 or phi 60.
Average the correlation functions for the individual angles/dihedrals
-acflen <int> (-1)
Length of the ACF, default is half the number of frames
-P <enum> (0)
Order of Legendre polynomial for ACF (0 indicates none): 0, 1, 2, 3
-fitfn <enum> (none)
Fit function: none, exp, aexp, exp_exp, vac, exp5, exp7, exp9, erffit
-beginfit <real> (0)
Time where to begin the exponential fit of the correlation function
-endfit <real> (-1)
Time where to end the exponential fit of the correlation function, -1 is until the end