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