VMD-L Mailing List
From: Ajasja Ljubetič (ajasja.ljubetic_at_gmail.com)
Date: Thu Mar 27 2014 - 18:20:55 CDT
- Next message: Tristan Croll: "TCL scripting question: how to make a list of atomselections persistent?"
- Previous message: Axel Kohlmeyer: "Re: selecting every nth residue in a protein"
- In reply to: Axel Kohlmeyer: "Re: selecting every nth residue in a protein"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi J!
(as a side note, anonymous mailing list participants are generally
frowned-upon here; any reason not to introduce your self?)
Anyway, the method has recently been discussed (it's always a good idea to
search the mailing list archives first)
http://www.ks.uiuc.edu/Research/vmd/mailing_list/vmd-l/23235.html
The simple solution is
residue % 2 == 0; # select every second residue
regards,
Ajasja
On 27 March 2014 23:34, Axel Kohlmeyer <akohlmey_at_gmail.com> wrote:
>
> On Mar 27, 2014 9:58 PM, "Research Jubilant" <research.jubilant_at_gmail.com>
> wrote:
> >
> >
> > Hi VMD users,
> >
> > I wonder if it is possible to select to only every nth residue of a
> protein segment, for instance selecting every 2nd or 3rd residues.
> >
> > Please let me if that is possible.
>
> Yes, it is.
>
> >
> > J
>
- Next message: Tristan Croll: "TCL scripting question: how to make a list of atomselections persistent?"
- Previous message: Axel Kohlmeyer: "Re: selecting every nth residue in a protein"
- In reply to: Axel Kohlmeyer: "Re: selecting every nth residue in a protein"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]