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