Calculating the fetal fraction for noninvasive prenatal testing based on genome-wide nucleosome profiles