This method tries to identify 4-bp long end motifs from each stands 5 end on bisulfite sequencing reads of plasma cfDNAs. Hierarchical clustering of the motifs is done to detect any under/overrepresentation of these motifs due to cancer existence. The method incorporates Support Vector Machines and Logistic Regression to predict cancer patients from healthy ones. The method is also applied to transplant patients with clustering and multidimensional scaling (MDS) analysis and shows applicability. The same analysis types also proved that this method applies to prenetal testing. This method is also informative for cell type origins.