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