Location: Sustainable Perennial Crops Laboratory
Title: Machine-learning-based analysis of host-depleted k-mer profiles for early detection and abundance estimation of coffee pathogensAuthor
![]() |
LIM, SEUNGHYUN - Orise Fellow |
![]() |
Ahn, Ezekiel |
![]() |
Zhang, Dapeng |
![]() |
Meinhardt, Lyndel |
![]() |
Park, Sunchung |
|
Submitted to: Bioinformatics Advances
Publication Type: Peer Reviewed Journal Publication Acceptance Date: 8/1/2026 Publication Date: 8/6/2026 Citation: Lim, S., Ahn, E.J., Zhang, D., Meinhardt, L.W., Park, S. 2026. Machine-learning-based analysis of host-depleted k-mer profiles for early detection and abundance estimation of coffee pathogens. Bioinformatics Advances. 6. Article vbag224. https://doi.org/10.1093/bioadv/vbag224. DOI: https://doi.org/10.1093/bioadv/vbag224 Interpretive Summary: Coffee diseases such as leaf rust and wilt can spread silently long before symptoms appear. By damage is noticed in the field, the pathogen may already have spread to nearby plants. Current diagnostics work best when infection is well established—too late for early containment. We built a machine-learning system that detects pathogen DNA in coffee tissue samples by analyzing short sequence patterns, even when the pathogen makes up as little as 0.05% of total DNA. Computational removal of the plant's own DNA before analysis was critical—it enriched the pathogen signal enough to catch infections at roughly one fungal cell per 500 coffee cells. A two-stage model was then used to first determine whether pathogen was present and next to estimates infection level. Earlier detection means earlier intervention, including treatment of affected blocks before disease spreads farm-wide, screening of nursery material before distribution, and improved quarantine surveillance for infections that cannot be identified by visual inspection alone. Because the method works from raw DNA sequences rather than pathogen-specific test kits, it could be adapted to other crops as sequencing becomes more accessible and cost-effective. Technical Abstract: Early detection of plant pathogens is essential for timely disease management, but diagnosis at low infection levels remains difficult because pathogen-derived sequences are often masked by abundant host DNA. K-mer-based machine learning offers a potentially sensitive, reference-light approach for detecting infection and estimating pathogen abundance from sequencing data, but its performance across infection levels, biological backgrounds, and preprocessing strategies remains insufficiently characterized. We evaluated a k-mer-based machine-learning framework using simulated Illumina short-read data from two Coffea arabica cultivars (ET39 and Typica) infected with Hemileia vastatrix or Fusarium xylarioides across a broad range of infection rates. Among ten models tested on raw and host-depleted k-mer profiles, LR and LSVM were the most sensitive. Host depletion with KrakenUniq substantially improved low-rate detection, lowering the practical detection threshold to 0.05%. Models trained at lower infection rates generalized more broadly across the infection spectrum than those trained at higher rates, although performance declined below 0.05% because infected samples were increasingly misclassified as healthy. External validation showed limited biological transferability: low-rate performance depended strongly on host background, whereas high-rate performance depended more on pathogen identity. To improve weak-signal detection, we developed a two-stage framework combining elastic-net logistic regression for detection with ridge regression for rate prediction. This framework maintained near-perfect detection at 0.05% and above, improved detection at 0.01% under mixed-rate training, and showed strong agreement between true and predicted infection rates (Spearman’s ' = 0.95). Predictive k-mers were extensively shared between LR and LSVM and showed distinct compositional differences between healthy- and infected-associated features. |
