cmd.read_pdbstr("""\ """, "chainP2") cmd.hide("all") cmd.color('grey70', "chainP2") cmd.show('ribbon', "chainP2") cmd.select("e7npsP21", "c. 2 & i. 40-154 | c. 2 & i. 266-524") cmd.center("e7npsP21", state=0, origin=1) cmd.zoom("e7npsP21", animate=-1) cmd.show_as('cartoon', "e7npsP21") cmd.spectrum('count', 'rainbow', "e7npsP21") cmd.disable("e7npsP21")