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