Hi Nat, Interesting question. PyMOL's wildcards can help here:
select allButInsertionsA, not (i. *A) This will look for all residue NUMBERS that end in "A" and select everything but that. Cheers, -- Jason On Tue, Feb 15, 2011 at 4:10 PM, Nat Echols <nathaniel.ech...@gmail.com> wrote: > Is there a way to select specific insertion codes - or rather, their > absence? I'm automatically building up selections like "chain A and ((resi > 1:5) or (resi 10) or (resi 13))", and I want to ignore insertions, which > tend to duplicate residue numbers. "help selection" didn't turn up > anything, and all I could find on Google was that it's handled as part of > the residue ID, e.g. "resi 10A", but that won't do what I want. > Unrelated question: is there a Python method to determine the PyMOL version > number? > thanks, > Nat > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net > -- Jason Vertrees, PhD PyMOL Product Manager Schrodinger, LLC (e) jason.vertr...@schrodinger.com (o) +1 (603) 374-7120 ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net