Which will output the dihedral parameters (at least those used by the
optimizer) at the beginning and at the end of the optimization.
You can redirect this to another grep filter to find the torsional angle
you're looking for :
grep "! D" file.log | awk‘{print $3, " ",
$4}' | grep "1,2,4,5"
Which outputs the dihedral value between atoms 1, 2, 4 & 5 at the
beginning and at the end of the calculation.
I'm pretty certain that more "elegant" ways to do it exist
but this has worked on my output files.
Anyway, nothing guarantees that the specific torsion angle you're
looking for is actually being used by the optimizer and then listed.
I hope this will help you.
YM
--
Yohann Moreau
Maître de Conférence, Université Joseph Fourier
iRTSV/CBM/MCT, CEA Grenoble
17 avenue des Martyrs
38 054 Grenoble Cedex 09
Tel. : (33) 4 38 78 29 62
Fax : (33) 4 38 78 54 87