Re: [PyMOL] how to change atom name

2011-09-27 Thread Thomas Holder
Hi Lina, atom properties can be changed with the "alter" command. It takes a selection (the atoms that should be modified) and an assignment expression in python syntax. Example: alter name H01, name="H22" It's important to quote strings in the assignment expression! More details and examples

[PyMOL] how to change atom name

2011-09-27 Thread lina
Hi, how can I change the atom such as H01 to H22 in command Thanks ahead, -- Best Regards, lina -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application p

Re: [PyMOL] how to change atom name

2011-09-06 Thread lina
On Tue, Sep 6, 2011 at 11:39 PM, Marius Retegan wrote: > Google search lead me to this > http://www.pymolwiki.org/index.php/Atom_name_wildcard > > I think this should to the job in you case > > alter all, name=string.replace(name,"H0","H") Thanks, it works. before I googled, might used poor keyw

Re: [PyMOL] how to change atom name

2011-09-06 Thread Marius Retegan
Google search lead me to this http://www.pymolwiki.org/index.php/Atom_name_wildcard I think this should to the job in you case alter all, name=string.replace(name,"H0","H") Best regards, Marius -- Dr. Marius Retegan Postdoctoral Fellow Dé

[PyMOL] how to change atom name

2011-09-06 Thread lina
Hi, such as the atom name as H01, H03 How can I change it to H1, H3, Thanks for any suggestions (except modifying the .pdb file). -- Best Regards, lina -- Special Offer -- Download ArcSight Logger for FREE! Finally, a