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