Large scale ancestral allele inference and quantifying the strength of purifying selection