|
From: Thomas H. <tho...@sc...> - 2014-05-05 20:26:37
|
Hi I-Ji, the "sele" name is hard coded and cannot be changed. But you could write a wizard which automatically renames the selection immediately. Writing wizards is not trivial and require python scripting skills (but this would be a very simple wizard). Cheers, Thomas On 04 May 2014, at 17:22, I-Ji Jung <u52...@an...> wrote: > Hi pymol gurus out there, > > I'm trying to write a python script for a project and I need to know how to auto-name a selection. Is there a way in which I can make the default 'sele' selection name become protein name-chain-residue name-residue number when I click on a residue? You know when you label a residue, it labels it to a format of resn-resi (e.g. TYR-37..). I want it to be in like that sort of format. > > Of course I want to know how to do this for more than one residue. Also I want to know how to turn this auto-naming on and off too. > > Any advice will be greatly appreciated!! > > Thanks > > I-Ji -- Thomas Holder PyMOL Developer Schrödinger, Inc. |