cmd.read_pdbstr("""\ """, "chainYR") cmd.hide("all") cmd.color('grey70', "chainYR") cmd.show('ribbon', "chainYR") cmd.select("e6ndkYR1", "c. R & i. 1-118") cmd.center("e6ndkYR1", state=0, origin=1) cmd.zoom("e6ndkYR1", animate=-1) cmd.show_as('cartoon', "e6ndkYR1") cmd.spectrum('count', 'rainbow', "e6ndkYR1") cmd.disable("e6ndkYR1") cmd.show('spheres', 'c. A & i. 3151 | c. A & i. 3460 | c. R & i. 201') util.cbag('c. A & i. 3151 | c. A & i. 3460 | c. R & i. 201')