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