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