From: Tristan Croll (tristan.croll_at_qut.edu.au)
Date: Fri Oct 17 2014 - 00:57:34 CDT

set sel [atomselect top “same residue as (name ETA and z > 0)”]
$sel writepdb name.pdb
$sel delete

From: owner-vmd-l_at_ks.uiuc.edu [mailto:owner-vmd-l_at_ks.uiuc.edu] On Behalf Of Meander Myself
Sent: Friday, 17 October 2014 12:02 PM
To: vmd-l_at_ks.uiuc.edu
Subject: vmd-l: Selecting one half of a residue based CG lipid bilayer

I have a residue-based CG scheme incorporating a POPE lipid bilayer. The bilayer normal is in the z-axis direction as usual
What i want to do is select one half of the lipid bilayer (eg cytoplasmic side). To do this i need to select all lipid molecules with the condition that one of the headgroup atoms (say the ETA CG bead) is greater than a certain value (for sake of argument, say >0. )
I then want to save this new selection as another PDB file. How would I do these 2 steps?