BackgroundRespiratory syncytial virus (RSV) is a prominent etiological agent of lower respiratory tract infections in children, responsible for approximately 80% of cases of pediatric bronchiolitis and 50% of cases of infant pneumonia. Despite notable progress in the diagnosis and management of pediatric RSV infection, the current biomarkers for early-stage detection remain insufficient to meet clinical needs. Therefore, the development of more effective biomarkers for early-stage pediatric respiratory syncytial virus infection (EPR) is imperative.MethodsThe datasets used in this study were derived from the Gene Expression Omnibus (GEO) database. We used GSE188427 dataset as the training set to screen for biomarkers. Biomarkers of EPR were screened by Weighted Gene Co-expression Network Analysis (WGCNA), three machine-learning algorithms (LASSO regression, Random Forest, XGBoost), and other comprehensive bioinformatics analysis techniques. To evaluate the diagnostic value of these biomarkers, multiple external and internal datasets were employed as validation sets. Next, an examination was performed to investigate the relationship between the screened biomarkers and the infiltration of immune cells. Furthermore, an investigation was carried out to identify potential small molecule compounds that interact with selected diagnostic markers. Finally, we confirmed that the expression levels of the selected biomarkers exhibited a significant increase following RSV infection, and they were further identified as having antiviral properties.ResultsThe study found that lymphocyte antigen 6E (LY6E) and Transcobalamin-2 (TCN2) are two biomarkers with diagnostic significance in EPR. Analysis of immune cell infiltration showed that they were associated with activation of multiple immune cells. Furthermore, our analysis demonstrated that small molecules, 3ʹ-azido-3ʹ-deoxythymine, methotrexate, and theophylline, have the potential to bind to TCN2 and exhibit antiviral properties. These compounds may serve as promising therapeutic agents for the management of pediatric RSV infections. Additionally, our data revealed an upregulation of LY6E and TCN2 expression in PBMCs from patients with RSV infection. ROC analysis indicated that LY6E and TCN2 possessed diagnostic value for RSV infection. Finally, we confirmed that LY6E and TCN2 expression increased after RSV infection and further inhibited RSV infection in A549 and BEAS-2B cell lines. Importantly, based on TCN2, our findings revealed the antiviral properties of a potentially efficacious compound, vitamin B12.ConclusionLY6E and TCN2 are potential peripheral blood diagnostic biomarkers for pediatric RSV infection. LY6E and TCN2 inhibit RSV infection, indicating that LY6E and TCN2 are potential therapeutic target for RSV infection.