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