Gmx_mindist number of contacts to output by residue number

GROMACS version: 2019
GROMACS modification: No
Here post your question

Hi there,

I used gmx_mindist to output min-dist and number of contacts. I wanted to get the ouput.xvg for all residues of the group of interest. I used > -or option. However apparently it only output resnumbers for mindist and not for contacts.

Does this mean we have to repeat mindist function for each residue or atom to get number of contacts with a specific another group?

Or is there a way to output one file for number of contacts for all residues of interest using an option here?