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