Re: [PyMOL] Show hydrogen bonds in current object only

2009-11-29 Thread Jason Vertrees
Robert, Great point! My original script had selections from protein A to a ligand in any other protein B. I just left it in there. I agree that creating a named selection for each object is unnecessary. If he really wanted a clean namespace, he could dump all of those into a group(s) or a mult

Re: [PyMOL] Show hydrogen bonds in current object only

2009-11-29 Thread Robert Campbell
Hi Jason, On Sun, 29 Nov 2009 12:29:08 -0500, Jason Vertrees wrote: > You can automate the task. Load your 100 proteins. Use a wildcard > from the command line or a script like loadDir > (http://pymolwiki.org/index.php/LoadDir). Align them. Then, run: > > python > for n in cmd.get_names("ob

Re: [PyMOL] Show hydrogen bonds in current object only

2009-11-29 Thread Jason Vertrees
Chimed, You can automate the task. Load your 100 proteins. Use a wildcard from the command line or a script like loadDir (http://pymolwiki.org/index.php/LoadDir). Align them. Then, run: python for n in cmd.get_names("objects"): selName = "s" + n cmd.select(selName, n) cmd.distance("dist