Hi Ibrahim - In Mac/Linux, this is done with the function fit_to_map_by_random_jiggle. I presume the same function is available in WinCoot as well.
https://www2.mrc-lmb.cam.ac.uk/Personal/pemsley/coot/web/docs/coot.html#Jiggle-Fit <https://www2.mrc-lmb.cam.ac.uk/Personal/pemsley/coot/web/docs/coot.html#Jiggle-Fit> I have it bound to a keyboard shortcut (I believe originally from https://strucbio.biologie.uni-konstanz.de/ccp4wiki/index.php/Bernhards_key_bindings_for_coot.py <https://strucbio.biologie.uni-konstanz.de/ccp4wiki/index.php/Bernhards_key_bindings_for_coot.py>) in my .coot.py file: def key_binding_func_7(): using_active_atom([[fit_to_map_by_random_jiggle, ["aa_imol", "aa_chain_id", "aa_res_no", "aa_ins_code"], [100, 1.0]]]) add_key_binding("Jiggle Fit", "J", lambda: key_binding_func_7()) So to jiggle fit the current residue I simply press Shift-J. Oli Clarke also has a great set of Scheme key bindings that also includes the same "J" key binding for Jiggle Fit: https://github.com/olibclarke/coot-trimmings , so you may wish to look into that as well. Hope that helps, Cheers, Jared > On Aug 23, 2017, at 5:50 AM, ibrahim khater <[email protected]> > wrote: > > How can i make jiggle fit in wincoot.
