VMD-L Mailing List
From: Josh Vermaas (joshua.vermaas_at_gmail.com)
Date: Fri Jun 19 2020 - 08:55:59 CDT
- Next message: JC Gumbart: "Re: FFTK sulfur ChargeOpt"
- Previous message: Otakandza Glenn: "Atomic bond counting wuth VMD"
- In reply to: Otakandza Glenn: "Atomic bond counting wuth VMD"
- Next in thread: Josh Vermaas: "Re: Atomic bond counting wuth VMD"
- Maybe reply: Josh Vermaas: "Re: Atomic bond counting wuth VMD"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Any particular reason why this wouldn't work?
set sel [atomselect top "all"]
$sel get numbonds
That reports the number of bonds attached to each atom. Note however that
from xyz files, VMD guesses bond topologies from the first file loaded, and
never changes them, so if you are coming from a QM trajectory, this won't
do what you likely want to do. In what context do you want to count bonds?
-Josh
On Fri, Jun 19, 2020 at 4:37 AM Otakandza Glenn <glennovitzch_at_gmail.com>
wrote:
> Hi Dear developers,
>
> I would like to know how to count the number of atomics bonds when viewing
> with VMD for an xyz file.
>
>
>
- Next message: JC Gumbart: "Re: FFTK sulfur ChargeOpt"
- Previous message: Otakandza Glenn: "Atomic bond counting wuth VMD"
- In reply to: Otakandza Glenn: "Atomic bond counting wuth VMD"
- Next in thread: Josh Vermaas: "Re: Atomic bond counting wuth VMD"
- Maybe reply: Josh Vermaas: "Re: Atomic bond counting wuth VMD"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]