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