cmd.read_pdbstr("""\ """, "chainY") cmd.hide("all") cmd.color('grey70', "chainY") cmd.show('ribbon', "chainY") cmd.select("e7st3Y2", "c. Y & i. 1-5 | c. Y & i. 25-122") cmd.center("e7st3Y2", state=0, origin=1) cmd.zoom("e7st3Y2", animate=-1) cmd.show_as('cartoon', "e7st3Y2") cmd.spectrum('count', 'rainbow', "e7st3Y2") cmd.disable("e7st3Y2")