cmd.read_pdbstr("""\ """, "chainAS") cmd.hide("all") cmd.color('grey70', "chainAS") cmd.show('ribbon', "chainAS") cmd.select("e4v9bAS1", "c. S & i. 1-84") cmd.center("e4v9bAS1", state=0, origin=1) cmd.zoom("e4v9bAS1", animate=-1) cmd.show_as('cartoon', "e4v9bAS1") cmd.spectrum('count', 'rainbow', "e4v9bAS1") cmd.disable("e4v9bAS1") cmd.show('spheres', 'c. A & i. 1765 | c. A & i. 1791 | c. A & i. 1823') util.cbag('c. A & i. 1765 | c. A & i. 1791 | c. A & i. 1823')