cmd.read_pdbstr("""\ """, "chainB") cmd.hide("all") cmd.color('grey70', "chainB") cmd.show('ribbon', "chainB") cmd.select("e7pwgB1", "c. B & i. 2-379") cmd.center("e7pwgB1", state=0, origin=1) cmd.zoom("e7pwgB1", animate=-1) cmd.show_as('cartoon', "e7pwgB1") cmd.spectrum('count', 'rainbow', "e7pwgB1") cmd.disable("e7pwgB1") cmd.show('spheres', 'c. B & i. 401 | c. B & i. 402 | c. B & i. 403') util.cbag('c. B & i. 401 | c. B & i. 402 | c. B & i. 403')