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