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