cmd.read_pdbstr("""\ """, "chainDg") cmd.hide("all") cmd.color('grey70', "chainDg") cmd.show('ribbon', "chainDg") cmd.select("e4v7rDg1", "c. g & i. 10-92") cmd.center("e4v7rDg1", state=0, origin=1) cmd.zoom("e4v7rDg1", animate=-1) cmd.show_as('cartoon', "e4v7rDg1") cmd.spectrum('count', 'rainbow', "e4v7rDg1") cmd.disable("e4v7rDg1") cmd.show('spheres', 'c. g & i. 101') util.cbag('c. g & i. 101')