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