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