These values are first permuted to generate all their possible combinations then any combination that produces invalid p, i.e., is excluded. Under each setting, we produce 1,000 trios based on equation (15) for SNPs in the affected offsprings. Parental SNPs are inferred by MERLIN and dTDT is used to process the inferred dosage probabilities.