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