From: John Stone (
Date: Thu Dec 31 2020 - 10:49:49 CST

That's what I'd do...
You can just make a selection that includes everything except what you
want, and then save out the modified structure to file(s).

  John Stone

On Thu, Dec 31, 2020 at 02:20:08PM +1300, Daniel Fellner wrote:
> I don't know of any specific commands that can do this but you could
> generate a random list of 20 numbers within the residue ID range to pipe
> into atomselect, and delete those.
> On Thu, 31 Dec 2020, 11:23 am Tiglath Moradkhan,
> <[1]> wrote:
> Dear VMD community
> I've generated a disc containing 252 lipid molecules (POPC) and I would
> like to randomly delete 20 POPC molecules before using MD to build a
> lipoprotein particle. Does the atomselect command work here? I've taken
> a look at how this command works but the examples that I've seen show
> how to select specific amino acid residues. Is there another command
> that could be used for random deletions?
> Thanks
> Tiglath
> References
> Visible links
> 1.

NIH Center for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801           Phone: 217-244-3349