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