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