A computer program called ARPGE written in Python uses the theoretical results generated by the computer program GenOVa to automatically reconstruct the parent grains from electron backscatter diffraction data obtained on phase transition materials with or without residual parent phase. The misorientations between daughter grains are identified with operators, the daughter grains are identified with indexed variants, the orientations of the parent grains are determined, and some statistics on the variants and operators are established. Some examples with martensitic transformations in iron and titanium alloys were treated. Variant selection phenomena were revealed. © International Union of Crystallography 2007.