cmd.read_pdbstr("""\ """, "chainDN") cmd.hide("all") cmd.color('grey70', "chainDN") cmd.show('ribbon', "chainDN") cmd.select("e4w2iDN1", "c. N & i. 1-140") cmd.center("e4w2iDN1", state=0, origin=1) cmd.zoom("e4w2iDN1", animate=-1) cmd.show_as('cartoon', "e4w2iDN1") cmd.spectrum('count', 'rainbow', "e4w2iDN1") cmd.disable("e4w2iDN1") cmd.show('spheres', 'c. A & i. 3372 | c. N & i. 5001') util.cbag('c. A & i. 3372 | c. N & i. 5001')