From: Jacob Durrant (jacobdurrant_at_gmail.com)
Date: Sat Feb 15 2014 - 02:19:12 CST

Thanks, guys! This is exactly what I was trying to remember. ~Jacob

On Wed, Feb 12, 2014 at 4:16 PM, Josh Vermaas <vermaas2_at_illinois.edu> wrote:

> Hi Jacob,
>
> Any of the fields that VMD stores as an integer are good candidates for
> using the modulo operation on when constructing an atom selection.
>
> residue % 3 == 0 would give you every third residue
> index % 2 == 0 would give you every other atom (by index).
>
> You might be interested in more atomselection math functions to limit the
> amount of volume that is shown at once.
> See http://www.ks.uiuc.edu/Research/vmd/vmd-1.9.1/ug/node19.html for a
> simple example.
>
> -Josh Vermaas
>
>
> On 02/12/2014 02:37 PM, Jacob Durrant wrote:
>
> A few months ago I was visiting Klaus Schulten's group, and one of the VMD
> developers there showed me a very convenient atom selection for selecting
> every other atom, or every third atom, etc. It made viewing large
> structures much faster and easier. I've searched the internet and can't
> find that command anywhere. Can anyone here point me in the right
> direction?
>
> Thanks,
>
> Jacob
>
>
>

-- 
==============================
Jacob D. Durrant <https://amarolab.ucsd.edu/~jdurrant/>, PhD
Rommie E. Amaro Research Group <https://amarolab.ucsd.edu/>
University of California, San Diego
Connect with me on LinkedIn<http://www.linkedin.com/profile/view?id=94290749>
jacobdurrant_at_gmail.com
jdurrant_at_ucsd.edu