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