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