I want to calculate angle between C=O of a protein residue and Cl atom of my ligand. I tried to make index file by mentioning following groups:
ri 4 & a C O | ri 130 & a F1
but the output is only 1 atom. How can i select 3 atoms simultaneously becuase gmx angle requires a triplet for angle calculation.