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