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