cmd.read_pdbstr("""\ """, "chainD") cmd.hide("all") cmd.color('grey70', "chainD") cmd.show('ribbon', "chainD") cmd.select("e6nc3D1", "c. D & i. 120-135 | c. D & i. 152-202") cmd.center("e6nc3D1", state=0, origin=1) cmd.zoom("e6nc3D1", animate=-1) cmd.show_as('cartoon', "e6nc3D1") cmd.spectrum('count', 'rainbow', "e6nc3D1") cmd.disable("e6nc3D1") cmd.show('spheres', 'c. D & i. 606 | c. D & i. 627') util.cbag('c. D & i. 606 | c. D & i. 627')