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