Calculate multiple dihedral angles of specified/given types.

multidihedral [<name>] <dihedral types> [resrange <range>] [out <filename>] [range360] [dihtype <name>:<a0>:<a1>:<a2>:<a3>[:<offset>] ...]
Offset -2=<at0><at1> in previous res, -1=<at0> in previous res, 0=All <atX> in single res, 1=<at3> in next res, 2=<at2><at3> in next res.
<dihedral types> = phi psi chip omega alpha beta gamma delta epsilon zeta nu1 nu2 chin

[<name>] Output data set name.
<dihedral types> Dihedral types to look for. Note that chip is ’protein chi’, chin is ’nucleic chi’.
[resrange <range>] Residue range to look for dihedrals in.
[out <filename>] Output file name.
[range360] Wrap torsion values from 0.0 to 360.0 (default is -180.0 to 180.0).
[dihtype <name>:<a0>:<a1>:<a2>:<a3>[:<offset>] Search for a custom dihedral type called <name> using atom names <a0>, <a1>, <a2>, and <a3>.
Offset: -2=<a0><a1> in previous res, -1=<a0> in previous res, 0=All <aX> in single res, 1=<a3> in next res, 2=<a2><a3> in next res.

DataSet Aspects:
[<dihedral type>] Aspect corresponds to the dihedral type name (e.g. [phi], [psi], etc).

Note data sets are not generated until run is called.
Calculate specified dihedral angle types for residues in given range. By default, dihedral angles are identified based on standard Amber atom names. The resulting data sets will have aspect equal to [<dihedral type>] and index equal to residue #. To differentiate the chi angle, chip is used for proteins and chin for nucleic acids. For example, to calculate all phi/psi dihedrals for residues 6 to 9:

multidihedral phi psi resrange 6-9 out PhiPsi_6-9.dat

Dihedrals other than those defined in <dihedral types> can be searched for using dihtype. For example to create a custom dihedral type called chi1 using atoms N, CA, CB, and CG (all in the same residue), then search for and calculate the dihedral in all residues:

multidihedral dihtype chi1:N:CA:CB:CG out custom.dat