cmd.read_pdbstr("""\ """, "chain2q") cmd.hide("all") cmd.color('grey70', "chain2q") cmd.show('ribbon', "chain2q") cmd.select("e6cfl2q1", "c. q & i. 2-100") cmd.center("e6cfl2q1", state=0, origin=1) cmd.zoom("e6cfl2q1", animate=-1) cmd.show_as('cartoon', "e6cfl2q1") cmd.spectrum('count', 'rainbow', "e6cfl2q1") cmd.disable("e6cfl2q1") cmd.show('spheres', 'c. a & i. 1656 | c. a & i. 1659 | c. a & i. 1782') util.cbag('c. a & i. 1656 | c. a & i. 1659 | c. a & i. 1782')