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