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 <[email protected]> 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 ([email protected]) > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > Archives: http://www.mail-archive.com/[email protected] > -- Jason Vertrees, PhD PyMOL Product Manager Schrodinger, LLC (e) [email protected] (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 ([email protected]) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/[email protected]
