cmd.read_pdbstr("""\ """, "chainAP") cmd.hide("all") cmd.color('grey70', "chainAP") cmd.show('ribbon', "chainAP") cmd.select("e6ydpAP1", "c. P & i. 10-126") cmd.center("e6ydpAP1", state=0, origin=1) cmd.zoom("e6ydpAP1", animate=-1) cmd.show_as('cartoon', "e6ydpAP1") cmd.spectrum('count', 'rainbow', "e6ydpAP1") cmd.disable("e6ydpAP1") cmd.show('spheres', 'c. A & i. 16888 | c. c & i. 500') util.cbag('c. A & i. 16888 | c. c & i. 500')