cmd.read_pdbstr("""\ """, "chainD") cmd.hide("all") cmd.color('grey70', "chainD") cmd.show('ribbon', "chainD") cmd.select("e8ccsD1", "c. D & i. 57-177") cmd.center("e8ccsD1", state=0, origin=1) cmd.zoom("e8ccsD1", animate=-1) cmd.show_as('cartoon', "e8ccsD1") cmd.spectrum('count', 'rainbow', "e8ccsD1") cmd.disable("e8ccsD1") cmd.show('spheres', 'c. A & i. 3413') util.cbag('c. A & i. 3413')