VMD-L Mailing List
From: Ajasja Ljubetič (ajasja.ljubetic_at_gmail.com)
Date: Thu Mar 27 2014 - 18:20:55 CDT
(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)
The simple solution is
residue % 2 == 0; # select every second residue
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>
> > 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