I have two groups defined in the index file. The group [ protein ] has all protein atoms and the group [ DNA_5 ] has all the atoms of residue id 5 of DNA. I want to calculate the distance between center of mass of [ DNA_5 ] and each residue of [ protein ]. These distance will be given w.r.t time, i.e., say there are 5 protein residues, I should get 5 distances (each residue-DNA_5 distance) for each snapshot.
Is it possible to do by gmx distance directly? If not please suggest me a possible script !!