cmd.read_pdbstr("""\ """, "chainXXX") cmd.hide("all") cmd.color('grey70', "chainXXX") cmd.show('ribbon', "chainXXX") cmd.select("e6y67XXX1", "c. X & i. 24-291") cmd.center("e6y67XXX1", state=0, origin=1) cmd.zoom("e6y67XXX1", animate=-1) cmd.show_as('cartoon', "e6y67XXX1") cmd.spectrum('count', 'rainbow', "e6y67XXX1") cmd.disable("e6y67XXX1") cmd.show('spheres', 'c. X & i. 302 | c. X & i. 303') util.cbag('c. X & i. 302 | c. X & i. 303')