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