A computer program product comprising a non-transitory machine readable medium storing program code that, when executed by one or more processors of a computer system, causes the computer system to implement a method of determining the genetic origin of fetal cellular DNA obtained from a pregnant female who is carrying a fetus in a current pregnancy, said program code comprising:
- (a) code for determining, for the fetal cellular DNA obtained from the pregnant female, one or more alleles at each informative genetic marker of a set of informative genetic markers,
- wherein
- each informative genetic marker represents a polymorphism at a unique genomic locus,
- each informative genetic marker is homozygous in the pregnant female and is heterozygous in the fetus in the current pregnancy, and
- the fetal cellular DNA originates from the fetus in the current pregnancy or a fetus in a historical pregnancy;
- and
- (b) code for providing as input to a probabilistic model the one or more alleles at each informative genetic marker of the fetal cellular DNA obtained from the pregnant female;
- (c) code for obtaining as output of the probabilistic model probabilities of three scenarios:
- the fetal cellular DNA obtained from the pregnant female originating from a fetus in (1) the current pregnancy, (2) the historical pregnancy and having a same father as the fetus in the current pregnancy, and (3) the historical pregnancy and having a different father from the fetus in the current pregnancy;
- and
- (d) code for determining, from the output of the probabilistic model, whether the fetal cellular DNA originates from the fetus in (1) the current pregnancy.