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