cmd.read_pdbstr("""\ """, "chainbX") cmd.hide("all") cmd.color('grey70', "chainbX") cmd.show('ribbon', "chainbX") cmd.select("e3j3qbX1", "c. X & i. 1-146") cmd.center("e3j3qbX1", state=0, origin=1) cmd.zoom("e3j3qbX1", animate=-1) cmd.show_as('cartoon', "e3j3qbX1") cmd.spectrum('count', 'rainbow', "e3j3qbX1") cmd.disable("e3j3qbX1")