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