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