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