Hostname: page-component-76d6cb85b7-rxvq6 Total loading time: 0 Render date: 2026-07-10T10:13:57.376Z Has data issue: false hasContentIssue false

Host–pathogen interactions and genetic selection for resilience to post-weaning diarrhea in piglets

Published online by Cambridge University Press:  09 February 2026

Yige Li
Affiliation:
Zhejiang Key Laboratory of Nutrition and Breeding for High-quality Animal Products, College of Animal Sciences, Zhejiang University, Hangzhou, PR China Key Laboratory of Animal Nutrition and Feed Science in Eastern China, Ministry of Agriculture, College of Animal Sciences, Zhejiang University, Hangzhou, PR China Key Laboratory of Molecular Animal Nutrition, Ministry of Education, College of Animal Sciences, Zhejiang University, Hangzhou, PR China
Luoyi Zhu
Affiliation:
Department of Ecology and Biological Resources, College of Agriculture and Biotechnology, Lishui University, Lishui, PR China
Shuqi Liu
Affiliation:
Zhejiang Key Laboratory of Nutrition and Breeding for High-quality Animal Products, College of Animal Sciences, Zhejiang University, Hangzhou, PR China Key Laboratory of Animal Nutrition and Feed Science in Eastern China, Ministry of Agriculture, College of Animal Sciences, Zhejiang University, Hangzhou, PR China Key Laboratory of Molecular Animal Nutrition, Ministry of Education, College of Animal Sciences, Zhejiang University, Hangzhou, PR China
Liang Huang
Affiliation:
Zhejiang Key Laboratory of Nutrition and Breeding for High-quality Animal Products, College of Animal Sciences, Zhejiang University, Hangzhou, PR China Key Laboratory of Animal Nutrition and Feed Science in Eastern China, Ministry of Agriculture, College of Animal Sciences, Zhejiang University, Hangzhou, PR China Key Laboratory of Molecular Animal Nutrition, Ministry of Education, College of Animal Sciences, Zhejiang University, Hangzhou, PR China
Sai Xiao
Affiliation:
Zhejiang Key Laboratory of Nutrition and Breeding for High-quality Animal Products, College of Animal Sciences, Zhejiang University, Hangzhou, PR China Key Laboratory of Animal Nutrition and Feed Science in Eastern China, Ministry of Agriculture, College of Animal Sciences, Zhejiang University, Hangzhou, PR China Key Laboratory of Molecular Animal Nutrition, Ministry of Education, College of Animal Sciences, Zhejiang University, Hangzhou, PR China
Erjia Hou
Affiliation:
Zhejiang Key Laboratory of Nutrition and Breeding for High-quality Animal Products, College of Animal Sciences, Zhejiang University, Hangzhou, PR China Key Laboratory of Animal Nutrition and Feed Science in Eastern China, Ministry of Agriculture, College of Animal Sciences, Zhejiang University, Hangzhou, PR China Key Laboratory of Molecular Animal Nutrition, Ministry of Education, College of Animal Sciences, Zhejiang University, Hangzhou, PR China
Yan Xuan
Affiliation:
Zhejiang Key Laboratory of Nutrition and Breeding for High-quality Animal Products, College of Animal Sciences, Zhejiang University, Hangzhou, PR China
Xin Zong*
Affiliation:
Zhejiang Key Laboratory of Nutrition and Breeding for High-quality Animal Products, College of Animal Sciences, Zhejiang University, Hangzhou, PR China Key Laboratory of Animal Nutrition and Feed Science in Eastern China, Ministry of Agriculture, College of Animal Sciences, Zhejiang University, Hangzhou, PR China Key Laboratory of Molecular Animal Nutrition, Ministry of Education, College of Animal Sciences, Zhejiang University, Hangzhou, PR China
*
Corresponding author: Xin Zong; Email: zongxin@zju.edu.cn
Rights & Permissions [Opens in a new window]

Abstract

Rapid etiological diagnosis of diarrheal disease is challenging in multi-pathogen settings. Host blood transcriptomes provide a pathogen-agnostic signal, but models must be accurate and interpretable. We analyzed peripheral blood transcriptomes from pigs experimentally challenged with Lawsonia intracellularis, enterotoxigenic Escherichia coli, transmissible gastroenteritis virus, porcine deltacoronavirus, and Clostridium perfringens type C, plus healthy controls. Six machine learning algorithms were compared. The best model, a deep neural network (DNN), underwent feature selection to build 50-, 20-, and 5-gene classifiers. Performance was evaluated by receiver operating characteristic analysis and standard metrics. Interpretability was achieved using SHapley Additive exPlanations (SHAP) and a 20-gene Kolmogorov–Arnold network (KAN) that provided explicit gene-to-node functions. The DNN outperformed other algorithms (AUC: 0.690, accuracy: 73.2%, recall: 91.3%, F1: 0.792). A 20-gene DNN preserved this performance (AUC: 0.690, 95% CI: 0.507–0.854) and was chosen as the optimal model, whereas a 5-gene model slightly increased AUC but reduced recall. Pathway enrichment of the 20 genes implicated immune and metabolic pathways, including PI3K–Akt, cytokine–cytokine receptor interaction, and AMPK signaling. SHAP consistently identified ACTG1, SLC5A1, and ATP1A1 as dominant contributors across pathogens. The 20-gene KAN achieved comparable performance (AUC: 0.71) and yielded simple linear mappings showing negative effects of ACTG1/SLC5A1 and positive effects of ATP1A1 on the internal risk signal. A compact, biologically coherent 20-gene host signature enables accurate and interpretable prediction of diverse diarrheal pathogens, with ACTG1, SLC5A1, and ATP1A1 emerging as core cross-pathogen markers and promising diagnostic candidates.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2026. Published by Cambridge University Press on behalf of Zhejiang University and Zhejiang University Press.
Figure 0

Figure 1. Workflow for pathogen-specific risk gene identification in porcine diarrhea using interpretable machine learning (ML). The pipeline begins with data integration from 7 Gene Expression Omnibus (GEO) transcriptomic datasets (∼135 samples) under 8 conditions (e.g., Normal, Salmonella, ETEC, PEDV). Feature selection was performed. Multiple ML models (DNN, RF, KNN, AdaBoost, etc.) were developed and evaluated using performance metrics (AUC, accuracy, recall, F1 score), with the 20 features deep neural network (DNN) selected as the best-performing classifier. Model interpretation was conducted using SHapley Additive exPlanations (SHAP) and Kolmogorov–Arnold network (KAN) to ensure biological interpretability. Biological insights were derived through stratified pathogen-specific analyses and pathway enrichment (e.g., TLR, NF-κB, cytokine signaling). Final outputs include risk gene identification, pathogen-specific gene signatures, and diagnostic insights relevant to pig breeding and disease resistance.

Figure 1

Table 1. Baseline information of datasets

Figure 2

Figure 2. Comparative performance of ML models and feature optimization in predicting pathogen-specific gene signatures. (A) Principal component analysis (PCA) of host transcriptomic profiles showing separation of healthy controls and different pathogen groups in the first two dimensions. (B) ROC curves of the DNN model built with 50-, 20-, and 5-feature sets. (C) Corresponding performance metrics of the DNN models with different feature numbers, showing that the 20-gene model achieves a favorable balance between discrimination and stability. (D) Receiver operating characteristic (ROC) curves of six ML models evaluated on the test set, including DNN, Adaptive Boosting (AdaBoost), Gradient Boosting Decision Tree (GBDT), Random Forest (RF), eXtreme Gradient Boosting (XGBoost), and K-Nearest Neighbors (KNN). (E) Summary table of model performance metrics (AUC, accuracy, precision, recall, and F1 score) for the six algorithms, highlighting the superior performance of the DNN classifier. (F) KEGG pathway enrichment analysis of the 20 selected genes, with dot size indicating gene count and color representing adjusted P value.

Figure 3

Figure 3. SHAP-based interpretation of gene contributions in the 20-feature DNN model. (A) Global SHAP heatmap showing sample-wise contributions of the top 9 genes and the summed contribution of the remaining 11 features to the model output; red indicates positive and blue negative impact on the prediction, with the black bars on the right denoting mean absolute SHAP value for each feature. The line on top represents the corresponding model output f(x) for each instance. (B) SHAP summary “beeswarm” plot ranking features by mean absolute SHAP value and displaying their distribution across all samples; each dot represents one sample, and color encodes the normalized gene-expression level (red, high; blue, low). (C–E) SHAP dependence plots for ACTG1, SLC5A1, and ATP1A1, respectively, showing the relationship between feature value (x-axis) and SHAP value (y-axis), which reflects the marginal effect of each gene on the predicted probability of infection in the DNN model.

Figure 4

Figure 4. Case-level SHAP explanations of the 20-gene DNN classifier. (A) SHAP force plot for a representative sample with a predicted probability of infection f(x) = 0.723 compared with the model base value E[f(x)] = 0.573. Red bars indicate genes whose expression pushes the prediction toward higher risk (e.g., ACTG1 and SLC5A1), whereas blue bars indicate genes that decrease the prediction (e.g., RPS18, RPL11, COL3A1, ATP1A1, and other features). (B) Corresponding SHAP waterfall plots for two representative cases, showing the stepwise additive contribution of individual genes to the final prediction. The x-axis represents the cumulative model output starting from the base value, with each bar denoting the signed SHAP value of a single gene. These plots illustrate how different combinations of high-impact genes (such as ACTG1, SLC5A1, ATP1A1, FTL, and RPS12) shape patient-specific risk estimates.

Figure 5

Figure 5. KAN modelling and explicit gene-to-node functions. (A) ROC curve of the 20-gene KAN classifier on the test set. (B) Visualization of the KAN architecture, in which all 20 gene inputs are connected to a single hidden node (node 1,0) that feeds the output. (C–E) Learned functional mappings between standardized expression of ACTG1 (C), SLC5A1 (D), or ATP1A1 (E) and the activation of node (1,0); gray dots represent all samples, colored symbols highlight four representative samples, and the orange line shows the fitted function (R2 = 1.00), indicating approximately linear negative effects for ACTG1 and SLC5A1 and a linear positive effect for ATP1A1. (F–I) Gene-level contributions to node (1,0) for four representative samples (Samples 1–4), with horizontal bars indicating the signed effect of each gene on node output (rightward, positive; leftward, negative), illustrating distinct additive patterns of ATP1A1, ACTG1, SLC5A1, and other genes across individuals.

Figure 6

Figure 6. Pathogen-stratified SHAP interpretation of the 20-gene DNN classifier. (A–E) SHAP decompositions for Lawsonia intracellularis (LI) (A), enterotoxigenic Escherichia coli (ETEC) (B), transmissible gastroenteritis virus (TGEV) (C), porcine deltacoronavirus (PDCoV) (D), and Clostridium perfringens type C (C. perfringens) (E). For each pathogen, panel (i) shows the mean absolute SHAP value of each gene across all samples in that group, ordered by importance (bars labelled “Other features” represent the summed contribution of the remaining genes). Panel (ii) displays SHAP summary (beeswarm) plots, where each point corresponds to one sample, the x-axis indicates SHAP value (impact on model output), and point color encodes normalized gene-expression level (red, high; blue, low). Panel (iii) presents representative force/waterfall plots for a single sample from each pathogen group, illustrating how high-impact genes (e.g., ACTG1, SLC5A1, ATP1A1, FTL, and selected ribosomal or stress-response genes) additively push the prediction away from (blue) or toward (red) the pathogen-specific output relative to the expected model value E[f(x)].