VMD-L Mailing List
From: Monika Madhavi (monikamadhavi_at_gmail.com)
Date: Thu Mar 29 2018 - 02:23:53 CDT
- Next message: Jeffrey A Tibbitt: "Is there a way to create atom selection for a list of atom indices?"
- Previous message: Dallas Warren: "Fwd: Protein backbone representation for non standard residues / molecules"
- In reply to: Jeffrey A Tibbitt: "Is there a way to create atom selection for a list of atom indices?"
- Next in thread: Jeffrey A Tibbitt: "Re: Is there a way to create atom selection for a list of atom indices?"
- Reply: Jeffrey A Tibbitt: "Re: Is there a way to create atom selection for a list of atom indices?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi Jeffrey,
You can do what you want to do the exact way you have shown here.
Best,
Monika
On Thu, Mar 29, 2018 at 12:13 PM, Jeffrey A Tibbitt <jtibbitt_at_hawaii.edu>
wrote:
> Hi, is there a way to create an atom selection for a list of atom indices?
>
> I'm trying to do something like the following:
> set atomlist {1 3 7 11} ;# Atoms 1, 3,
> 7 and 11
> set sel [atomselect top "index $atomlist"] ;# Create selection
> containing those atoms
>
> --
> *Jeffrey A Tibbitt*
> Lecturer of Chemistry
> University of Hawai'i - Maui College
>
-- W.A.Monika Madhavi Lecturer (Probation), Department of Physics, University of Colombo.
- Next message: Jeffrey A Tibbitt: "Is there a way to create atom selection for a list of atom indices?"
- Previous message: Dallas Warren: "Fwd: Protein backbone representation for non standard residues / molecules"
- In reply to: Jeffrey A Tibbitt: "Is there a way to create atom selection for a list of atom indices?"
- Next in thread: Jeffrey A Tibbitt: "Re: Is there a way to create atom selection for a list of atom indices?"
- Reply: Jeffrey A Tibbitt: "Re: Is there a way to create atom selection for a list of atom indices?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]