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