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