VMD-L Mailing List
From: Leonardo Trabuco (ltrabuco_at_ks.uiuc.edu)
Date: Sun Feb 11 2007 - 11:59:23 CST
- Next message: Peter Freddolino: "Re: atomselection: number of residues"
- Previous message: Pietro Amodeo: "Re: VMD-1.8.5: GLSL & NVidia troubles + fixed previous Spaceball problem"
- In reply to: namd vmd: "atomselection: number of residues"
- Next in thread: Peter Freddolino: "Re: atomselection: number of residues"
- Reply: Peter Freddolino: "Re: atomselection: number of residues"
- Reply: JC Gumbart: "RE: atomselection: number of residues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Sun, Feb 11, 2007 at 01:35:17PM +0100, namd vmd wrote:
> How to get the number of residues selected from a atomselect command
> in vmd ?
You can do something like: llength [$sel get residue]
Best,
Leo
-- Leonardo Trabuco, Ph.D. student Theoretical and Computational Biophysics Group University of Illinois at Urbana-Champaign
- Next message: Peter Freddolino: "Re: atomselection: number of residues"
- Previous message: Pietro Amodeo: "Re: VMD-1.8.5: GLSL & NVidia troubles + fixed previous Spaceball problem"
- In reply to: namd vmd: "atomselection: number of residues"
- Next in thread: Peter Freddolino: "Re: atomselection: number of residues"
- Reply: Peter Freddolino: "Re: atomselection: number of residues"
- Reply: JC Gumbart: "RE: atomselection: number of residues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]