I would need to check the distance between the two centers of mass of a Protein and of an organic Ligand (the resname and the resnumber of the ligand are both known), inside a system containing the protein, the ligand and solvent, after a MD run. I know that gromacs has the gmx distance tool to get this information from the trajectory file (.trr .xtc) but I haven't been able to get which is the right selection syntax to use to get it, could you please write me down an example?

Thank you very much in advance!

gmx distance -s my_tpr.tpr -f my_xtc.xtc -select '???'

More Maurice Karrenbrock's questions See All
Similar questions and discussions