VMD-L Mailing List
From: Anthony Ivetac (aivetac_at_googlemail.com)
Date: Wed Jun 18 2008 - 17:52:09 CDT
- Next message: Axel Kohlmeyer: "Re: Labelling Coordinates (not Atoms)"
- Previous message: Vahdati N.: "IED"
- Next in thread: Axel Kohlmeyer: "Re: Labelling Coordinates (not Atoms)"
- Reply: Axel Kohlmeyer: "Re: Labelling Coordinates (not Atoms)"
- Reply: Anthony Ivetac: "Re: Labelling Coordinates (not Atoms)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
I would like to calculate the values of bonds/angles/dihedrals (from a MD
trajectory) using the "label" command. However, instead of calculating these
values for pairs/triplets/quads of atoms in the PDB file, I would like to
calculate them for centers-of-mass.
For example, I calculate the xyz coordinates for two centers-of-mass (com1
and com2) and then want to calculate the 'bond length' between these
coordinates with:
label add Bonds 0/${com1} 0/${com2}
But the label command is expecting com1 and com2 to be atoms, not a list of
xyz coordinates - is there a simple workaround for this, please? e.g. to
convert an xyz into a 'pseudo-atom'?
I would rather use the label command than the mathematical functions I've
seen others use to calculate bonds/angles/dihedrals.
Thanks!
- Next message: Axel Kohlmeyer: "Re: Labelling Coordinates (not Atoms)"
- Previous message: Vahdati N.: "IED"
- Next in thread: Axel Kohlmeyer: "Re: Labelling Coordinates (not Atoms)"
- Reply: Axel Kohlmeyer: "Re: Labelling Coordinates (not Atoms)"
- Reply: Anthony Ivetac: "Re: Labelling Coordinates (not Atoms)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]