Averaging alleles