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