cmd.read_pdbstr("""\ """, "chainAB") cmd.hide("all") cmd.color('grey70', "chainAB") cmd.show('ribbon', "chainAB") cmd.select("e4ybbAB1", "c. B & i. 4-119 | c. B & i. 144-227") cmd.center("e4ybbAB1", state=0, origin=1) cmd.zoom("e4ybbAB1", animate=-1) cmd.show_as('cartoon', "e4ybbAB1") cmd.spectrum('count', 'rainbow', "e4ybbAB1") cmd.disable("e4ybbAB1") cmd.show('spheres', 'c. B & i. 301') util.cbag('c. B & i. 301')