[Chimera-users] adding hydrogens

Eric Pettersen pett at cgl.ucsf.edu
Wed Jan 6 17:34:56 PST 2010

On Jan 6, 2010, at 5:26 PM, Eric Pettersen wrote:

> setattr r type HID :HIS at hd1,dd1,td1 #handle deuterium/tritium as well
> setattr r type HIP :HID at he2,de2,te2
> setattr r type HIE :HIS
> addh useHisName true [+ any other args you want]
> setattr r type HIS :HIE:HIP:HID # set residue name back to HIS
> write [your args]

I guess I need to mention that Chimera actually doesn't allow inline  
comments like I put in the above; the comments have to be on a  
separate line.


More information about the Chimera-users mailing list