cmd.read_pdbstr("""\ """, "chainD") cmd.hide("all") cmd.color('grey70', "chainD") cmd.show('ribbon', "chainD") cmd.select("e7pd3D1", "c. D & i. 175-277") cmd.center("e7pd3D1", state=0, origin=1) cmd.zoom("e7pd3D1", animate=-1) cmd.show_as('cartoon', "e7pd3D1") cmd.spectrum('count', 'rainbow', "e7pd3D1") cmd.disable("e7pd3D1") cmd.show('spheres', 'c. A & i. 3336 | c. A & i. 3337 | c. A & i. 3472') util.cbag('c. A & i. 3336 | c. A & i. 3337 | c. A & i. 3472')