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