cmd.read_pdbstr("""\ """, "chainAG") cmd.hide("all") cmd.color('grey70', "chainAG") cmd.show('ribbon', "chainAG") cmd.select("e8p2kAG1", "c. G & i. 2-56") cmd.center("e8p2kAG1", state=0, origin=1) cmd.zoom("e8p2kAG1", animate=-1) cmd.show_as('cartoon', "e8p2kAG1") cmd.spectrum('count', 'rainbow', "e8p2kAG1") cmd.disable("e8p2kAG1") cmd.show('spheres', 'c. G & i. 100') util.cbag('c. G & i. 100')