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