cmd.read_pdbstr("""\ """, "chainD") cmd.hide("all") cmd.color('grey70', "chainD") cmd.show('ribbon', "chainD") cmd.select("e6rzzD2", "c. D & i. 270-362") cmd.center("e6rzzD2", state=0, origin=1) cmd.zoom("e6rzzD2", animate=-1) cmd.show_as('cartoon', "e6rzzD2") cmd.spectrum('count', 'rainbow', "e6rzzD2") cmd.disable("e6rzzD2")