By using data mining techniques specifically focused on the process of phase identification, trace and minor phases can be identified and then quantitatively analyzed. The data mining attempts to intelligently mimic the thought process of experts in materials and analytical methods to combine several “data clues” for a successful identification process. The clues can come from the diffraction experiment, but also physical properties, chemical composition, other analytical data, visual observations, or the users knowledge of the specimen and specimen preparation methods used. The method described is generic and is particularly useful in identification and quantitation of trace and minor phases where the diffraction data by itself may not be statistically sufficient but combined with other observations can be definitive.