cmd.read_pdbstr("""\ """, "chainAAA") cmd.hide("all") cmd.color('grey70', "chainAAA") cmd.show('ribbon', "chainAAA") cmd.select("e7nmcAAA1", "c. A & i. 0-99") cmd.center("e7nmcAAA1", state=0, origin=1) cmd.zoom("e7nmcAAA1", animate=-1) cmd.show_as('cartoon', "e7nmcAAA1") cmd.spectrum('count', 'rainbow', "e7nmcAAA1") cmd.disable("e7nmcAAA1") cmd.show('spheres', 'c. A & i. 100 | c. A & i. 101 | c. A & i. 102') util.cbag('c. A & i. 100 | c. A & i. 101 | c. A & i. 102')