The function you want is delete_residue_sidechain(....)
http://www2.mrc-lmb.cam.ac.uk/personal/pemsley/coot/web/docs/coot.html#delete_002dresidue_002dsidechain For keybindings, pythonics (old version), please see ("Kill Sidechain"): http://strucbio.biologie.uni-konstanz.de/ccp4wiki/index.php/Bernhards_key_bindings_for_coot.py HTH B > Hello Cootaholics > > I'd like to add a custom button (or key binding, or both) that will > do a simple mutate, keep the residue type the same, and trim it back > to the beta carbon. This would be the same as the "stub" function in > the Simple Mutate dialogue box. I am finding that I repeat this > action often and would like to make it quicker and easier. Can > someone help me out with the proper python command? > > Thanks, Scott > > -- *************************************************** Dr. Bernhard Lohkamp Assistant Professor Div. Molecular Structural Biology Dept. of Medical Biochemistry and Biophysics (MBB) Karolinska Institutet S-17177 Stockholm Sweden phone: (+46) 08-52487651 fax: (+46) 08-327626 email: bernhard.lohk...@ki.se