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