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