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