The method analyzes the shallow WGS reads in windows while considering the cfDNA fragment length and coverage. The genome-wide pattern of cfDNA fragmentation features is then fed to a gradient tree-boosting machine learning model to predict their cancer situation.  They also used machine learning classifiers to predict the tissue of origin. Overall, the method can be used to identify if a patient has cancer. Even though the method does not specifically classify the cancer types during prediction, it is used for the detection of different cancers.