cmd.read_pdbstr("""\ """, "chainD") cmd.hide("all") cmd.color('grey70', "chainD") cmd.show('ribbon', "chainD") cmd.select("e8gxxD1", "c. D & i. 81-365") cmd.center("e8gxxD1", state=0, origin=1) cmd.zoom("e8gxxD1", animate=-1) cmd.show_as('cartoon', "e8gxxD1") cmd.spectrum('count', 'rainbow', "e8gxxD1") cmd.disable("e8gxxD1") cmd.show('spheres', 'c. B & i. 601') util.cbag('c. B & i. 601')