From: maria goranovic (
Date: Mon Jun 15 2009 - 10:31:26 CDT

I am writing a tcl script to delete some lipid molecules In the script, I
end up with a TCL list containing residue numbers of undesirable lipid
molecules. I want to write a pdb file WITHOUT these lipids. How can I use
this residue list in the atomselect command to remove these ? I tried this,

set all [atomselect 0 "not resid $delete_list"]

set all [atomselect 0 "not resid [$delete_list text]"]

Thank you all in advance for the support


Maria G.
Technical University of Denmark