if you list several atoms in the group it will calculate the center of mass
for the group.
for example, this cpptraj command calculates the distance between the
centers of mass of the aromatic rings in Phe residues 21 and 45
distance D1 :
21.CG,CD1,CD2,CE1,CE2,CZ :
45.CG,CD1,CD2,CE1,CE2,CZ out
distance.FF-COM.dat
On Sun, Dec 13, 2020 at 6:18 AM Athena N <athena.nas01.gmail.com> wrote:
> Hi,
>
> I would like to know how could we calculate the stacking distance of a
> ligand ring to the amino acid/ nucleic acid ring over the trajectory in
> cpptraj. The “distance” options gives the value between the atoms. But if
> we have to calculate it using a group, how to do that?
> Thanks in advance for your help.
>
>
> Regards,
> Athena
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Sun Dec 13 2020 - 04:00:02 PST