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