cmd.read_pdbstr("""\ """, "chainS") cmd.hide("all") cmd.color('grey70', "chainS") cmd.show('ribbon', "chainS") cmd.select("e7dgrS1", "c. S & i. 24-342") cmd.center("e7dgrS1", state=0, origin=1) cmd.zoom("e7dgrS1", animate=-1) cmd.show_as('cartoon', "e7dgrS1") cmd.spectrum('count', 'rainbow', "e7dgrS1") cmd.disable("e7dgrS1") cmd.show('spheres', 'c. S & i. 401') util.cbag('c. S & i. 401')