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