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