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