|
From: Markus H. <mh...@cd...> - 2018-07-23 19:31:44
|
Of course! Works like a charm. Thanks Jarrett! From: Jarrett Johnson <jar...@sc...> Sent: Monday, July 23, 2018 11:43 AM To: Markus Heller <mh...@cd...> Cc: Pymol User list <pym...@li...> Subject: Re: [PyMOL] Add to existing selection Hello Markus, Selection algebra (https://pymolwiki.org/index.php/Selection_Algebra) may be able to help you here. Try doing: "select site, site or res 666" Jarrett J. On Mon, Jul 23, 2018 at 2:02 PM, Markus Heller <mh...@cd...<mailto:mh...@cd...>> wrote: Hi, How can I add a residue to an existing selection? Example: I'm comparing the binding sites of two superposed protein structures, and show the side chains with a certain distance to the ligand. Sometimes the side chain of one protein falls just outside that distance, and thus isn't shown, which looks odd. In essence what I'd like to be able to do is this: select site, (byres all within 6 of ligand) and polymer add_to_sel site, resi=666 Is this possible somehow? Thanks Markus ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ PyMOL-users mailing list (PyM...@li...<mailto:PyM...@li...>) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pym...@li... -- Jarrett Johnson, Schrödinger |