g_covar (1) - Linux Manuals
g_covar: calculates and diagonalizes the covariance matrix
NAME
g_covar - calculates and diagonalizes the covariance matrixSYNOPSIS
g_covar -f traj.xtc -s topol.tpr -n index.ndx -o eigenval.xvg -v eigenvec.trr -av average.pdb -l covar.log -ascii covar.dat -xpm covar.xpm -xpma covara.xpm -[no]h -nice int -b time -e time -dt time -tu enum -[no]xvgr -[no]fit -[no]ref -[no]mwa -last int -[no]pbcDESCRIPTION
g_covar calculates and diagonalizes the (mass-weighted) covariance matrix. All structures are fitted to the structure in the structure file. When this is not a run input file periodicity will not be taken into account. When the fit and analysis groups are identical and the analysis is non mass-weighted, the fit will also be non mass-weighted.
The eigenvectors are written to a trajectory file ( -v). When the same atoms are used for the fit and the covariance analysis, the reference structure for the fit is written first with t=-1. The average (or reference when -ref is used) structure is written with t=0, the eigenvectors are written as frames with the eigenvector number as timestamp.
The eigenvectors can be analyzed with g_anaeig.
Option -ascii writes the whole covariance matrix to an ASCII file. The order of the elements is: x1x1, x1y1, x1z1, x1x2, ...
Option -xpm writes the whole covariance matrix to an xpm file.
Option -xpma writes the atomic covariance matrix to an xpm file, i.e. for each atom pair the sum of the xx, yy and zz covariances is written.
FILES
-f traj.xtc Input
-s topol.tpr
Input
-n index.ndx
Input, Opt.
-o eigenval.xvg
Output
-v eigenvec.trr
Output
-av average.pdb
Output
-l covar.log
Output
-ascii covar.dat
Output, Opt.
-xpm covar.xpm
Output, Opt.
-xpma covara.xpm
Output, Opt.
-nice int 19
-b time 0
-e time 0
-dt time 0
-tu enum ps
-[no]xvgryes
-[no]fityes
-[no]refno
-[no]mwano
-last int -1
-[no]pbcyes
OTHER OPTIONS
-[no]hno