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