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