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