cmd.read_pdbstr("""\ """, "chainf") cmd.hide("all") cmd.color('grey70', "chainf") cmd.show('ribbon', "chainf") cmd.select("e5mdyf1", "c. f & i. 1-38") cmd.center("e5mdyf1", state=0, origin=1) cmd.zoom("e5mdyf1", animate=-1) cmd.show_as('cartoon', "e5mdyf1") cmd.spectrum('count', 'rainbow', "e5mdyf1") cmd.disable("e5mdyf1") cmd.show('spheres', 'c. f & i. 101 | c. f & i. 102') util.cbag('c. f & i. 101 | c. f & i. 102')