Cell-free DNA molecules in a mixture of a biological sample can be analyzed to detect viral DNA. Methylation of viral DNA molecules at one or more sites in the viral genome can be determined. Mixture methylation level(s) can be measured based on one or more amounts of the plurality of cell-free DNA molecules methylated at a set of site(s) of the particular viral genome. The mixture methylation level(s) can be determined in various ways, e.g., as a density of cell-free DNA molecules that are methylated at a site or across multiple sites or regions. The mixture methylation level(s) can be compared to reference methylation level(s), e.g., determined from at least two cohorts of other subjects. The cohorts can have different classifications (including the first condition) associated with the particular viral genome. A first classification of whether the subject has the first condition can be determined based on the comparing.
展开▼