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