Merge branch 'master' of git://git.gromacs.org/gromacs
[gromacs/adressmacs.git] / share / html / online / g_chi.html
blob6e72155b3a9caeb54ece0d11a1cac9e79f860114
1 <HTML>
2 <HEAD>
3 <TITLE>g_chi</TITLE>
4 <LINK rel=stylesheet href="style.css" type="text/css">
5 <BODY text="#000000" bgcolor="#FFFFFF" link="#0000FF" vlink="#990000" alink="#FF0000">
6 <TABLE WIDTH="98%" NOBORDER >
7 <TR><TD WIDTH=400>
8 <TABLE WIDTH=400 NOBORDER>
9 <TD WIDTH=116>
10 <a href="http://www.gromacs.org/"><img SRC="../images/gmxlogo_small.png"BORDER=0 </a></td>
11 <td ALIGN=LEFT VALIGN=TOP WIDTH=280><br><h2>g_chi</h2><font size=-1><A HREF="../online.html">Main Table of Contents</A></font><br><br></td>
12 </TABLE></TD><TD WIDTH="*" ALIGN=RIGHT VALIGN=BOTTOM><p><B>VERSION 4.5<br>
13 Thu 26 Aug 2010</B></td></tr></TABLE>
14 <HR>
15 <H3>Description</H3>
16 <p>
17 g_chi computes phi, psi, omega and chi dihedrals for all your
18 amino acid backbone and sidechains.
19 It can compute dihedral angle as a function of time, and as
20 histogram distributions.
21 The distributions (histo-(dihedral)(RESIDUE).<a href="xvg.html">xvg</a>) are cumulative over all residues of each type.<p>
22 If option <tt>-corr</tt> is given, the program will
23 calculate dihedral autocorrelation functions. The function used
24 is C(t) = &lt; cos(chi(tau)) cos(chi(tau+t)) &gt;. The use of cosines
25 rather than angles themselves, resolves the problem of periodicity.
26 (Van der Spoel & Berendsen (1997), <b>Biophys. J. 72</b>, 2032-2041).
27 Separate files for each dihedral of each residue
28 (corr(dihedral)(RESIDUE)(nresnr).<a href="xvg.html">xvg</a>) are output, as well as a
29 file containing the information for all residues (argument of <tt>-corr</tt>).<p>
30 With option <tt>-all</tt>, the angles themselves as a function of time for
31 each residue are printed to separate files (dihedral)(RESIDUE)(nresnr).<a href="xvg.html">xvg</a>.
32 These can be in radians or degrees.<p>
33 A <a href="log.html">log</a> file (argument <tt>-g</tt>) is also written. This contains <br>
34 (a) information about the number of residues of each type.<br>
35 (b) The NMR 3J coupling constants from the Karplus equation.<br>
36 (c) a table for each residue of the number of transitions between
37 rotamers per nanosecond, and the order parameter S2 of each dihedral.<br>
38 (d) a table for each residue of the rotamer occupancy.<br>
39 All rotamers are taken as 3-fold, except for omegas and chi-dihedrals
40 to planar groups (i.e. chi2 of aromatics asp and asn, chi3 of glu
41 and gln, and chi4 of arg), which are 2-fold. "rotamer 0" means
42 that the dihedral was not in the core region of each rotamer.
43 The width of the core region can be set with <tt>-core_rotamer</tt><p>
44 The S2 order parameters are also output to an <a href="xvg.html">xvg</a> file
45 (argument <tt>-o</tt> ) and optionally as a <a href="pdb.html">pdb</a> file with
46 the S2 values as B-factor (argument <tt>-p</tt>).
47 The total number of rotamer transitions per timestep
48 (argument <tt>-ot</tt>), the number of transitions per rotamer
49 (argument <tt>-rt</tt>), and the 3J couplings (argument <tt>-jc</tt>),
50 can also be written to .<a href="xvg.html">xvg</a> files.<p>
51 If <tt>-chi_prod</tt> is set (and maxchi &gt; 0), cumulative rotamers, e.g.
52 1+9(chi1-1)+3(chi2-1)+(chi3-1) (if the residue has three 3-fold
53 dihedrals and maxchi &gt;= 3)
54 are calculated. As before, if any dihedral is not in the core region,
55 the rotamer is taken to be 0. The occupancies of these cumulative
56 rotamers (starting with rotamer 0) are written to the file
57 that is the argument of <tt>-cp</tt>, and if the <tt>-all</tt> flag
58 is given, the rotamers as functions of time
59 are written to chiproduct(RESIDUE)(nresnr).<a href="xvg.html">xvg</a>
60 and their occupancies to histo-chiproduct(RESIDUE)(nresnr).<a href="xvg.html">xvg</a>.<p>
61 The option <tt>-r</tt> generates a contour plot of the average omega angle
62 as a function of the phi and psi angles, that is, in a Ramachandran plot
63 the average omega angle is plotted using color coding.
64 <P>
65 <H3>Files</H3>
66 <TABLE BORDER=1 CELLSPACING=0 CELLPADDING=2>
67 <TR><TH>option</TH><TH>filename</TH><TH>type</TH><TH>description</TH></TR>
68 <TR><TD ALIGN=RIGHT> <b><tt>-s</tt></b> </TD><TD ALIGN=RIGHT> <tt><a href="files.html"> conf.gro</a></tt> </TD><TD> Input </TD><TD> Structure file: <a href="gro.html">gro</a> <a href="g96.html">g96</a> <a href="pdb.html">pdb</a> <a href="tpr.html">tpr</a> etc. </TD></TR>
69 <TR><TD ALIGN=RIGHT> <b><tt>-f</tt></b> </TD><TD ALIGN=RIGHT> <tt><a href="files.html"> traj.xtc</a></tt> </TD><TD> Input </TD><TD> Trajectory: <a href="xtc.html">xtc</a> <a href="trr.html">trr</a> <a href="trj.html">trj</a> <a href="gro.html">gro</a> <a href="g96.html">g96</a> <a href="pdb.html">pdb</a> cpt </TD></TR>
70 <TR><TD ALIGN=RIGHT> <b><tt>-o</tt></b> </TD><TD ALIGN=RIGHT> <tt><a href="xvg.html"> order.xvg</a></tt> </TD><TD> Output </TD><TD> xvgr/xmgr file </TD></TR>
71 <TR><TD ALIGN=RIGHT> <b><tt>-p</tt></b> </TD><TD ALIGN=RIGHT> <tt><a href="pdb.html"> order.pdb</a></tt> </TD><TD> Output, Opt. </TD><TD> Protein data bank file </TD></TR>
72 <TR><TD ALIGN=RIGHT> <b><tt>-ss</tt></b> </TD><TD ALIGN=RIGHT> <tt><a href="dat.html"> ssdump.dat</a></tt> </TD><TD> Input, Opt. </TD><TD> Generic data file </TD></TR>
73 <TR><TD ALIGN=RIGHT> <b><tt>-jc</tt></b> </TD><TD ALIGN=RIGHT> <tt><a href="xvg.html">Jcoupling.xvg</a></tt> </TD><TD> Output </TD><TD> xvgr/xmgr file </TD></TR>
74 <TR><TD ALIGN=RIGHT> <b><tt>-corr</tt></b> </TD><TD ALIGN=RIGHT> <tt><a href="xvg.html"> dihcorr.xvg</a></tt> </TD><TD> Output, Opt. </TD><TD> xvgr/xmgr file </TD></TR>
75 <TR><TD ALIGN=RIGHT> <b><tt>-g</tt></b> </TD><TD ALIGN=RIGHT> <tt><a href="log.html"> chi.log</a></tt> </TD><TD> Output </TD><TD> Log file </TD></TR>
76 <TR><TD ALIGN=RIGHT> <b><tt>-ot</tt></b> </TD><TD ALIGN=RIGHT> <tt><a href="xvg.html">dihtrans.xvg</a></tt> </TD><TD> Output, Opt. </TD><TD> xvgr/xmgr file </TD></TR>
77 <TR><TD ALIGN=RIGHT> <b><tt>-oh</tt></b> </TD><TD ALIGN=RIGHT> <tt><a href="xvg.html"> trhisto.xvg</a></tt> </TD><TD> Output, Opt. </TD><TD> xvgr/xmgr file </TD></TR>
78 <TR><TD ALIGN=RIGHT> <b><tt>-rt</tt></b> </TD><TD ALIGN=RIGHT> <tt><a href="xvg.html">restrans.xvg</a></tt> </TD><TD> Output, Opt. </TD><TD> xvgr/xmgr file </TD></TR>
79 <TR><TD ALIGN=RIGHT> <b><tt>-cp</tt></b> </TD><TD ALIGN=RIGHT> <tt><a href="xvg.html">chiprodhisto.xvg</a></tt> </TD><TD> Output, Opt. </TD><TD> xvgr/xmgr file </TD></TR>
80 </TABLE>
81 <P>
82 <H3>Other options</H3>
83 <TABLE BORDER=1 CELLSPACING=0 CELLPADDING=2>
84 <TR><TH>option</TH><TH>type</TH><TH>default</TH><TH>description</TH></TR>
85 <TR><TD ALIGN=RIGHT> <b><tt>-[no]h</tt></b> </TD><TD ALIGN=RIGHT> gmx_bool </TD><TD ALIGN=RIGHT> <tt>no </tt> </TD><TD> Print help info and quit </TD></TD>
86 <TR><TD ALIGN=RIGHT> <b><tt>-[no]version</tt></b> </TD><TD ALIGN=RIGHT> gmx_bool </TD><TD ALIGN=RIGHT> <tt>no </tt> </TD><TD> Print version info and quit </TD></TD>
87 <TR><TD ALIGN=RIGHT> <b><tt>-nice</tt></b> </TD><TD ALIGN=RIGHT> int </TD><TD ALIGN=RIGHT> <tt>19</tt> </TD><TD> Set the nicelevel </TD></TD>
88 <TR><TD ALIGN=RIGHT> <b><tt>-b</tt></b> </TD><TD ALIGN=RIGHT> time </TD><TD ALIGN=RIGHT> <tt>0 </tt> </TD><TD> First frame (ps) to read from trajectory </TD></TD>
89 <TR><TD ALIGN=RIGHT> <b><tt>-e</tt></b> </TD><TD ALIGN=RIGHT> time </TD><TD ALIGN=RIGHT> <tt>0 </tt> </TD><TD> Last frame (ps) to read from trajectory </TD></TD>
90 <TR><TD ALIGN=RIGHT> <b><tt>-dt</tt></b> </TD><TD ALIGN=RIGHT> time </TD><TD ALIGN=RIGHT> <tt>0 </tt> </TD><TD> Only use frame when t MOD dt = first time (ps) </TD></TD>
91 <TR><TD ALIGN=RIGHT> <b><tt>-[no]w</tt></b> </TD><TD ALIGN=RIGHT> gmx_bool </TD><TD ALIGN=RIGHT> <tt>no </tt> </TD><TD> View output <a href="xvg.html">xvg</a>, <a href="xpm.html">xpm</a>, <a href="eps.html">eps</a> and <a href="pdb.html">pdb</a> files </TD></TD>
92 <TR><TD ALIGN=RIGHT> <b><tt>-xvg</tt></b> </TD><TD ALIGN=RIGHT> enum </TD><TD ALIGN=RIGHT> <tt>xmgrace</tt> </TD><TD> <a href="xvg.html">xvg</a> plot formatting: <tt>xmgrace</tt>, <tt>xmgr</tt> or <tt>none</tt> </TD></TD>
93 <TR><TD ALIGN=RIGHT> <b><tt>-r0</tt></b> </TD><TD ALIGN=RIGHT> int </TD><TD ALIGN=RIGHT> <tt>1</tt> </TD><TD> starting residue </TD></TD>
94 <TR><TD ALIGN=RIGHT> <b><tt>-[no]phi</tt></b> </TD><TD ALIGN=RIGHT> gmx_bool </TD><TD ALIGN=RIGHT> <tt>no </tt> </TD><TD> Output for Phi dihedral angles </TD></TD>
95 <TR><TD ALIGN=RIGHT> <b><tt>-[no]psi</tt></b> </TD><TD ALIGN=RIGHT> gmx_bool </TD><TD ALIGN=RIGHT> <tt>no </tt> </TD><TD> Output for Psi dihedral angles </TD></TD>
96 <TR><TD ALIGN=RIGHT> <b><tt>-[no]omega</tt></b> </TD><TD ALIGN=RIGHT> gmx_bool </TD><TD ALIGN=RIGHT> <tt>no </tt> </TD><TD> Output for Omega dihedrals (peptide bonds) </TD></TD>
97 <TR><TD ALIGN=RIGHT> <b><tt>-[no]rama</tt></b> </TD><TD ALIGN=RIGHT> gmx_bool </TD><TD ALIGN=RIGHT> <tt>no </tt> </TD><TD> Generate Phi/Psi and Chi1/Chi2 ramachandran plots </TD></TD>
98 <TR><TD ALIGN=RIGHT> <b><tt>-[no]viol</tt></b> </TD><TD ALIGN=RIGHT> gmx_bool </TD><TD ALIGN=RIGHT> <tt>no </tt> </TD><TD> Write a file that gives 0 or 1 for violated Ramachandran angles </TD></TD>
99 <TR><TD ALIGN=RIGHT> <b><tt>-[no]periodic</tt></b> </TD><TD ALIGN=RIGHT> gmx_bool </TD><TD ALIGN=RIGHT> <tt>yes </tt> </TD><TD> Print dihedral angles modulo 360 degrees </TD></TD>
100 <TR><TD ALIGN=RIGHT> <b><tt>-[no]all</tt></b> </TD><TD ALIGN=RIGHT> gmx_bool </TD><TD ALIGN=RIGHT> <tt>no </tt> </TD><TD> Output separate files for every dihedral. </TD></TD>
101 <TR><TD ALIGN=RIGHT> <b><tt>-[no]rad</tt></b> </TD><TD ALIGN=RIGHT> gmx_bool </TD><TD ALIGN=RIGHT> <tt>no </tt> </TD><TD> in angle vs time files, use radians rather than degrees. </TD></TD>
102 <TR><TD ALIGN=RIGHT> <b><tt>-[no]shift</tt></b> </TD><TD ALIGN=RIGHT> gmx_bool </TD><TD ALIGN=RIGHT> <tt>no </tt> </TD><TD> Compute chemical shifts from Phi/Psi angles </TD></TD>
103 <TR><TD ALIGN=RIGHT> <b><tt>-binwidth</tt></b> </TD><TD ALIGN=RIGHT> int </TD><TD ALIGN=RIGHT> <tt>1</tt> </TD><TD> bin width for histograms (degrees) </TD></TD>
104 <TR><TD ALIGN=RIGHT> <b><tt>-core_rotamer</tt></b> </TD><TD ALIGN=RIGHT> real </TD><TD ALIGN=RIGHT> <tt>0.5 </tt> </TD><TD> only the central -core_rotamer*(360/multiplicity) belongs to each rotamer (the rest is assigned to rotamer 0) </TD></TD>
105 <TR><TD ALIGN=RIGHT> <b><tt>-maxchi</tt></b> </TD><TD ALIGN=RIGHT> enum </TD><TD ALIGN=RIGHT> <tt>0</tt> </TD><TD> calculate first ndih Chi dihedrals: <tt>0</tt>, <tt>1</tt>, <tt>2</tt>, <tt>3</tt>, <tt>4</tt>, <tt>5</tt> or <tt>6</tt> </TD></TD>
106 <TR><TD ALIGN=RIGHT> <b><tt>-[no]normhisto</tt></b> </TD><TD ALIGN=RIGHT> gmx_bool </TD><TD ALIGN=RIGHT> <tt>yes </tt> </TD><TD> Normalize histograms </TD></TD>
107 <TR><TD ALIGN=RIGHT> <b><tt>-[no]ramomega</tt></b> </TD><TD ALIGN=RIGHT> gmx_bool </TD><TD ALIGN=RIGHT> <tt>no </tt> </TD><TD> compute average omega as a function of phi/psi and plot it in an <a href="xpm.html">xpm</a> plot </TD></TD>
108 <TR><TD ALIGN=RIGHT> <b><tt>-bfact</tt></b> </TD><TD ALIGN=RIGHT> real </TD><TD ALIGN=RIGHT> <tt>-1 </tt> </TD><TD> B-factor value for <a href="pdb.html">pdb</a> file for atoms with no calculated dihedral order parameter </TD></TD>
109 <TR><TD ALIGN=RIGHT> <b><tt>-[no]chi_prod</tt></b> </TD><TD ALIGN=RIGHT> gmx_bool </TD><TD ALIGN=RIGHT> <tt>no </tt> </TD><TD> compute a single cumulative rotamer for each residue </TD></TD>
110 <TR><TD ALIGN=RIGHT> <b><tt>-[no]HChi</tt></b> </TD><TD ALIGN=RIGHT> gmx_bool </TD><TD ALIGN=RIGHT> <tt>no </tt> </TD><TD> Include dihedrals to sidechain hydrogens </TD></TD>
111 <TR><TD ALIGN=RIGHT> <b><tt>-bmax</tt></b> </TD><TD ALIGN=RIGHT> real </TD><TD ALIGN=RIGHT> <tt>0 </tt> </TD><TD> Maximum B-factor on any of the atoms that make up a dihedral, for the dihedral angle to be considere in the statistics. Applies to database work where a number of X-Ray structures is analyzed. -bmax &lt;= 0 means no limit. </TD></TD>
112 <TR><TD ALIGN=RIGHT> <b><tt>-acflen</tt></b> </TD><TD ALIGN=RIGHT> int </TD><TD ALIGN=RIGHT> <tt>-1</tt> </TD><TD> Length of the ACF, default is half the number of frames </TD></TD>
113 <TR><TD ALIGN=RIGHT> <b><tt>-[no]normalize</tt></b> </TD><TD ALIGN=RIGHT> gmx_bool </TD><TD ALIGN=RIGHT> <tt>yes </tt> </TD><TD> Normalize ACF </TD></TD>
114 <TR><TD ALIGN=RIGHT> <b><tt>-P</tt></b> </TD><TD ALIGN=RIGHT> enum </TD><TD ALIGN=RIGHT> <tt>0</tt> </TD><TD> Order of Legendre polynomial for ACF (0 indicates none): <tt>0</tt>, <tt>1</tt>, <tt>2</tt> or <tt>3</tt> </TD></TD>
115 <TR><TD ALIGN=RIGHT> <b><tt>-fitfn</tt></b> </TD><TD ALIGN=RIGHT> enum </TD><TD ALIGN=RIGHT> <tt>none</tt> </TD><TD> Fit function: <tt>none</tt>, <tt>exp</tt>, <tt>aexp</tt>, <tt>exp_exp</tt>, <tt>vac</tt>, <tt>exp5</tt>, <tt>exp7</tt> or <tt>exp9</tt> </TD></TD>
116 <TR><TD ALIGN=RIGHT> <b><tt>-ncskip</tt></b> </TD><TD ALIGN=RIGHT> int </TD><TD ALIGN=RIGHT> <tt>0</tt> </TD><TD> Skip N points in the output file of correlation functions </TD></TD>
117 <TR><TD ALIGN=RIGHT> <b><tt>-beginfit</tt></b> </TD><TD ALIGN=RIGHT> real </TD><TD ALIGN=RIGHT> <tt>0 </tt> </TD><TD> Time where to begin the exponential fit of the correlation function </TD></TD>
118 <TR><TD ALIGN=RIGHT> <b><tt>-endfit</tt></b> </TD><TD ALIGN=RIGHT> real </TD><TD ALIGN=RIGHT> <tt>-1 </tt> </TD><TD> Time where to end the exponential fit of the correlation function, -1 is until the end </TD></TD>
119 </TABLE>
121 <H3>Known problems</H3>
122 <UL>
123 <LI>Produces MANY output files (up to about 4 times the number of residues in the protein, twice that if autocorrelation functions are calculated). Typically several hundred files are output.
124 <LI>Phi and psi dihedrals are calculated in a non-standard way, using H-N-CA-C for phi instead of C(-)-N-CA-C, and N-CA-C-O for psi instead of N-CA-C-N(+). This causes (usually small) discrepancies with the output of other tools like <a href="g_rama.html">g_rama</a>.
125 <LI>-r0 option does not work properly
126 <LI>Rotamers with multiplicity 2 are printed in chi.<a href="log.html">log</a> as if they had multiplicity 3, with the 3rd (g(+)) always having probability 0
127 </UL>
129 <hr>
130 <div ALIGN=RIGHT>
131 <font size="-1"><a href="http://www.gromacs.org">http://www.gromacs.org</a></font><br>
132 <font size="-1"><a href="mailto:gromacs@gromacs.org">gromacs@gromacs.org</a></font><br>
133 </div>
134 </BODY>