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