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