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