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