cmd.read_pdbstr("""\ """, "chainXN") cmd.hide("all") cmd.color('grey70', "chainXN") cmd.show('ribbon', "chainXN") cmd.select("e6oxiXN1", "c. N & i. 2-61") cmd.center("e6oxiXN1", state=0, origin=1) cmd.zoom("e6oxiXN1", animate=-1) cmd.show_as('cartoon', "e6oxiXN1") cmd.spectrum('count', 'rainbow', "e6oxiXN1") cmd.disable("e6oxiXN1") cmd.show('spheres', 'c. A & i. 1697 | c. N & i. 101') util.cbag('c. A & i. 1697 | c. N & i. 101')