Introduction

Central nervous system infections (CNSIs) are usually classified as meningitis, encephalitis (or meningoencephalitis), or myelitis (or encephalomyelitis) based on the predominant anatomic site of infection. Infections of the CNS—associated with bacteria, viruses, fungi, and mycobacteria—compose a considerable portion of human morbidity and mortality1. Timely identification of the pathogen is essential for the process of antimicrobial therapy and its impact on clinical outcomes2. However, it is often difficult to determine the etiology of CNSIs. More than 100 pathogens have been reported as causative agents of CNSIs, most studies only identified the etiology in about 5.4–32.3% of cases3,4,5. The traditional detection methods for CNSIs include pathogen culture, serological detection, and molecular biology detection, among others. Culture is still the gold standard for the diagnosis of CNSIs, but the diagnosis and treatment of CNSIs will be delayed due to lack of sensitivity and long culture time. Besides, serological detection techniques such as immunofluorescence and complement binding assay have drawbacks such as long detection cycles, insufficient specificity or sensitivity6. Of course, the etiology in any individual case may be influenced by many factors including test availability, geographic region, host, and many others–the main point is that the exact etiology is not always uncovered7. With the development of detection technology, while ensuring specificity and sensitivity, researchers have further increased their requirements for detection speed. Molecular biology detection technology stands out because it is more suitable for laboratory testing and epidemiological investigations.

Recently, metagenomic next-generation sequencing (mNGS) has emerged as a novel and promising method for the detection of infectious agents. Based on non-preference and high sensitivity, mNGS provides more sensitive pathogen detection results than conventional culture8. To date, several studies have addressed value of mNGS in finding out pathogens and minimizing time of empirical treatment without pathogenic evidence9,10,11. In 2020, mNGS was recommended in ‘Clinical practice expert consensus for the application of metagenomic next generation sequencing’ as Level A evidence to assist clinical decision in CNS infections12. However, most previous studies have only focused on clinical cases caused by novel or rare pathogens. Thus, the performance of mNGS in diagnosis of CNSIs should be studied using a larger sample size. Therefore, we conducted a retrospective study involving hospitalized patients with suspected CNSIs. We describe the sensitivity and specificity of CSF mNGS assays to detect pathogens in patients with CNSIs. The aim of our study was to determine pathogens and the incremental yield of mNGS that could not be detected by conventional methods. Furthermore, we also explored potential factors that affect the mNGS outcomes of patients.

Materials and methods

Study design

This study was a retrospective analysis of mNGS in CSF samples obtained from patients with suspected CNSIs. We retrospectively reviewed 131 patients with suspected CNSIs at the First Affiliated Hospital of Nanchang University from 15 February 2018 to 5 February 2023. A total of 111 samples were included in the current study, according to our inclusion/exclusion criteria (Fig. 1). The inclusion criteria of patients were as follows: (a) patients over 18 years of age; (b) high-level clinical suspicion of CNS infectious diseases; (c) CSF sample undergone mNGS. Patients were excluded from the study based on the following criteria: (a) patients with an uncertain final diagnosis; (b) patients with incomplete data. CSF samples were sent for: routine (quantity and classification of CSF cell) and biochemical tests (protein, glucose, chloride, and adenosine deaminase content of CSF); culturing of bacteria, fungi and tuberculosis; specific antibody tests; serologic tests and CSF smear. Cell biopsy and nucleic acid amplification testing (traditional PCR, Xpert MTB (Mycobacterium tuberculosis)) were conducted according to clinically assessed necessity. All conventional tests were done and collective conclusion made which is blinded to those doing and analysis and mNGS data. The final clinical diagnosis of the patient was independently determined by 3 physicians with expertise in CNSIs. Criteria for CNSIs refers to Chinese Expert Consensus on the Diagnosis and Treatment of Central Nervous System Infection in Neurosurgery (2021) (Supplementary Table S1)13. Then, based on final clinical diagnosis, all samples were categorized into 2 groups defined as CNS infection and non-CNS infection.

Figure 1
figure 1

Flowchart of study participants.

Metagenomic next-generation sequencing and analysis

Sample collection and nucleic acid extraction

CSF samples were collected according to the standard procedures and stored at − 20 °C. 1ml cerebrospinal fluids (CSF) were used for mNGS testing. Nucleic acid from all samples including the negative controls (NCs) was obtained using the TIANamp Micro DNA Kit (TIANGEN Biotech, Beijing, China) according to the manufacturer’s manual. Using Qubit dsDNA HS Assay Kit (ThermoFisher Scientific) for nucleic acid concentration determination following the manufacturer’s manual. Negative control (non-template control, NTC (sterile deionized water)) were also set for each batch of experiments using the same wet lab procedures from DNA extraction to end of sequencing and bioinformatics analysis.

Library construction and sequencing

Libraries were constructed by using the Nextera XT kit (Illumina) following the manufacturer manual. Illumina NextSeq-550Dx sequencer was employed for the sequencing reaction to gain the sample sequence information in the sample. The sequencing depth of each sample ≥ 20 million reads was sequenced using a 75-cycle single-end sequencing strategy. Raw sequencing data were filtered by the index reads removing any reads associated with indexes that had a quality score of less than Q30. This process was implemented to enhance the overall quality and reliability of the data.

Bioinformatics analysis

Bcl2fastq v2.20.0.422(Illumina, https://support.illumina.com/sequencing/sequencing_software/bcl2fastq-conversion-software.html) with default parameters was applied to demultiplex the primary sequencing output. For quality control adapter contamination and low-quality and low-complexity reads, raw reads and adapter removal were filtered by fastp (v0.19.5)14 and Komplexity v0.3.615. Samples with < 10 million reads after QC were excluded from this study, the QC information of samples is shown in online Supplementary Table S2. Reads that were mapped to the human reference assembly GRCh38 were removed with Bowtie2 v2.3.4.316. Then, reads were aligned to the microorganism database consisting of approximately 12,000 genomes with SNAP v1.0 beta.1817 as previously described18. The mapped reads were classified based on the NCBI RefSeq genome database, or the NCBI GenBank genome database (ftp://ftp.ncbi.nlm.nih.gov/genomes/)was selected for each species. After filtering low-complexity reads19, we counted the species or genus abundance with Perl scripts.The software, source code and proprietary binaries is available for download on GitHub (https://github.com/OpenGene/fastp).

Criteria for positive mNGS detection20,21

  1. (1)

    For the detected bacteria (Mycobacterium excluded), fungi (Cryptococcus excluded), and parasites, the positive criteria for the mNGS result were set as follows: (a) genome coverage of the unique reads mapped to this microorganism ranked top10 of the same kind of microbes and the microorganism was not detected in the NTC; or (b) RPMsample/RPMNTC was > 10 (RPMNTC ≠ 0, Reads per million:RPM).

  2. (2)

    For viruses, Mycobacterium tuberculosis, and Cryptococcus, a positive mNGS result was considered when it was not detected in NTC and at least 1 unique read was mapped to species or when RPMsample/RPMNTC was > 5 (RPMNTC ≠ 0).

Diagnostic assessment of mNGS

Each mNGS result was identified as a true positive (TP), false positive (FP), true negative (TN), or false negative (FN) result relative to the clinical diagnosis. If the pathogen was found to be consistent with the clinical diagnosis, it was considered as true positive. A false positive was defined as a case in which the detected pathogen was inconsistent with the clinical diagnosis. A true negative case was defined if no pathogen was detected by mNGS and a clinical diagnosis of non-CNSIs was ultimately determined. Those whose CSF was detected no pathogen by mNGS but were clinically diagnosed as CNSIs were all false-negative cases.

Statistical analysis

All statistical analyses were conducted using SPSS ver. 26.0 (SPSS, Chicago, IL, USA; https://www.ibm.com/products/spss-statistics), GraphPad Prism (ver. 9.0; GraphPad Software, San Diego, CA; www.graphpad.com), with counting data described in terms of frequency and component ratio. Continuous variables of normal distribution are expressed as means ± SD(standard), or as medians (25th, 75th percentiles) for non-normal distribution. Continuous variables were compared by Mann–Whitney U-test or t-test, and categorical variables were analyzed using the Fisher’s exact test. p < 0.05 was considered statistically significant for the difference.

Ethical approval and consent to participate

According to the review and comments made by the Ethics Committee of the First Affiliated Hospital of Nanchang University, our research is in line with the exemption type of informed consent and ethics approval that “Using identifiable human body materials or data for research, it is no longer possible to locate the subject, and the research project does not involve personal privacy disclosure or commercial interests”. As this is a retrospective Cohort study based on previous clinical diagnosis and treatment results, the Ethics Committee of the First Affiliated Hospital of Nanchang University granted the study exemption status (AF-SQ-10-2.1). In addition, we declare that this study is in line with the ethical guidelines of the Declaration of Helsinki, and the patient related data is strictly confidential. All methods were carried out in accordance with relevant guidelines and regulations in the manuscript.

Results

General characteristics of the enrolled cohort

As displayed in Fig. 1, a total of 131 patients were enrolled, 1 patient was lost to follow-up and 17 patients were not included due to unclear final diagnosis. Among 111 participants, 64 patients were diagnosed with CNS infections, including 23 cases (35.9%) of viral infection, 19 (29.7%) of bacterial infection, 10 (15.6%) of Mycobacterium tuberculosis, 7 (10.9%) of fungal infection, and 5 (7.8%) of mixed infection(3 of bacterial and viral coinfection, 2 of tuberculosis and fungal coinfection). 47 patients were finally diagnosed with non-CNS infections, including 10 cases (21.3%, 10/47) of meningeal carcinoma, 12 cases (25.5%,12/47) of encephalopathy associated with autoimmune disease, 4 cases (8.5%, 4/47) of metabolic encephalopathy and 21 cases (44.7%, 21/47) of other non-infectious diseases of CNS. The underlying medical comorbidities, clinical characteristics, and laboratory examination are reported in Table 1. The mean length of stay in the hospital for patients with CNS infections was longer than that of patients diagnosed with non-CNS infections (p = 0.0309). 68.5% (76/111) patients had a history of empirical treatment before CSF sampling. There was a difference in empirical treatment history between the two groups (p = 0.0397). Compared with patients diagnosed with non-CNS infections, those with CNS infections exhibited significantly lower chloridion in peripheral blood (p = 0.0108), CSF chloridion (p = 0.0211) and glucose ratio of CSF to serum (p = 0.0484). We did not find any other significant differences between the two groups in terms of clinical presentation or other laboratory parameters.

Table 1 Baselines characteristics of participants.

Performance of mNGS and conventional test to clinical diagnosis

Among 64 CNSIs patients, 44 were confirmed by mNGS and 17 were confirmed by conventional methods. Using clinical diagnosis as the gold standard, positive predictive value (PPV), negative predictive value (NPV), sensitivity, and specificity were calculated to evaluate the diagnostic value of mNGS and conventional test. The sensitivity and specificity of diagnosing CNSIs by mNGS were 68.7% (95% confidence interval (CI) 56.6–78.7%) and 82.9% (95% CI 56.6–78.7%) respectively, with NPV and PPV being 66.1% (95% CI 53.4–76.8%) and 84.6% (95% CI 72.5–92.0%) (Fig. 2a). The sensitivity and specificity of diagnosing CNSIs by conventional diagnostic testing were 26.5% (95% CI 17.3–38.4%) and 95.7% (95% CI 85.8–99.2%) respectively, with NPV and PPV being 48.9% (95% CI 38.9–58.9%) and 89.4% (95% CI 68.6–98.1%) (Fig. 2b). Furthermore, we compared the detected and clinically approved pathogens by mNGS and conventional test (Fig. 2c). The etiological diagnosis showed that mNGS reported 44 positive cases. mNGS detection revealed that bacteria (n = 17) was the most common identified potential pathogens. The top one causative pathogens identified were Klebsiella pneumoniae. The most detected fungal infection is Cryptococcal meningitis and Aspergillus meningitis. The most detected viral infection is Epstein-Barr virus. Overall, 10.9% (7/64) were diagnosed by both conventional testing and mNGS. mNGS detected an additional 27 types of bacteria and fungi in both culture negative patients and conventional methods-negative tests (excluding culture) (Table 2). Infections that were diagnosed solely by mNGS included Leptospira renal, Varicella-zoster virus, Mycobacterium frothy, Nocardia farcinica, Listeria monocytogenes, these pathogens had not been considered by the treating clinicians for the patients. mNGS also identified pathogens for which there was some degree of clinical suspicion, although conventional testing had returned negative(Acinetobacter baumannii, Klebsiella pneumoniae, Pseudomonas aeruginosa). More detailed information on results of mNGS and conventional methods was showed in Supplementary Table S3.

Figure 2
figure 2

(A,B) Comparison of the sensitivity, specificity, positive predict value, negative predict value, and accuracy between mNGS and Conventional testing in patients with CNSIs. (C) Distribution of pathogens identifed by mNGS and Conventional testing.

Table 2 Positive mNGS results of the four types of CNS infection (44/64).

Influence of antimicrobial treatment on diagnostic detection rate of mNGS

Among CNS infected patients who underwent or did not undergo empirical treatment before CSF sampling, the detection rates of mNGS for potential pathogens were 70.73% and 65.22%, respectively. The detection rate of mNGS was significantly higher than conventional methods, in regardless of whether it is in the experience treatment group or the non experience treatment group (70.73% vs. 36.59%, p = 0.0016; 65.22% vs. 8.70%, p = 0.000 respectively). In bacterial CNS infections, detection rate of mNGS was significantly higher than that of conventional methods, both empirically treated and non-empirically treated groups (76.92% vs. 23.08%, p = 0.0045; 77.78% vs. 11.11%, p = 0.0023, respectively). In fungal CNS infections, detection rate of mNGS was significantly higher than that of conventional methods in empirically treated groups (85.71% vs. 28.57%, p = 0.0306). In viral CNS infections, detection rate of mNGS was also significantly higher than that of conventional methods in empirically treated groups (60.0% vs. 13.3%, p = 0.0067). No other significant difference was observed in fungal and viral infections in non-empirically treated groups. The detection rate of mNGS compared to final diagnosis were not statistically different, between non-empirically treated groups and treated groups. In bacterial CNS infections, the detection rate of conventional methods compared to final diagnosis in empirically treated was significantly higher than non-empirically treated groups (36.59% vs. 8.70%, p = 0.0187) (Table 3).

Table 3 The potential pathogen detection rate of mNGS and conventional methods in CNS infections with or without empirically treated.

Use of mNGS to diagnose viral encephalitis and/or meningitis

mNGS detected an additional 8 cases of viruses in patients diagnosed with non-CNS infections. Therefore, we evaluated the ability of mNGS in identifying viruses. 26 patients with definite viral encephalitis and/or meningitis were enrolled. An mNGS result was considered positive if the CSF sample exhibited species-specific read number (SSRNs) ≥ 1, 2, 5, or 10; the diagnostic sensitivity for viral encephalitis and/or meningitis were 53.8%, 57.7%, 30.8% and 19.2%, respectively. The specificity were 91.7%, 88.2%, 92.9% and 94.1%, respectively. The area under curve (AUC) for the four positive mNGS criteria were 0.727, 0.758, 0.617 and 0.539, respectively. When an SSRN ≥ 2 was considered positive, the corresponding AUC (0.758) was relatively larger than when other SSRNs were considered positive (AUC 0.758, 95% CI 0.663–0.854) (Fig. 3).

Figure 3
figure 3

Receiver operating characteristic (ROC) curves for diagnosing viral CNS infection by mNGS.

Correlative analysis between mNGS and CSF laboratory

To provide additional insights for the clinical indication of CNSIs, we investigated the clinical features between the CNS infection groups and its subgroups. The CSF chloridion in the mNGS positive/case consistent group were significantly lower than those in the mNGS negative/case consistent group (Fig. 4a). We further evaluated the influence of CSF laboratory examinations on mNGS detection rate (Fig. 4b). The detection rate of mNGS in CNSIs patients is higher in patients with CSF WBC > 300*106/L, CSF protein > 500mg/L, glucose ratio > 5, or CSF chloridion ≤ 110 (mmol/L), but there was no statistically significant difference between the two groups. In bacterial subgroup, mNGS detection rate was signifcantly higher in patients with CSF WBC > 300*106/L (p = 0.0274).

Figure 4
figure 4

(A) The comparisons of CSF laboratory examinations across mNGS subgroups. (B) The influence of CSF protein, CSF chloridion, CSF glucose and CSF WBC on the detection rate of mNGS in CNS infections, bacterial and viral CNS infections defined by composite diagnostic criteria.

Discussion

In our study, we assessed diagnostic performance of mNGS and conventional methods compared with clinical final diagnosis. Overall, mNGS detected extra 27 bacteria and fungi in culture negative patients and conventional methods-negative tests excluding culture. mNGS detected a wide range of pathogens, including those causative agents commonly and infrequently reported in CNS infections. Compared to conventional methods, we further studied diagnostic performance of mNGS in each type of CNS infections. In bacterial, fungal and viral CNS infections, mNGS was superior to culture and conventional methods regardless of administration of empirical treatment. Wilson et al. also observed similar finding that mNGS detected significantly more pathogens than traditional methods in patients receiving empirical treatment with antibiotics22. Besides, our research also revealed that the detection rate of mNGS compared to final diagnosis were not statistically different between non-empirically treated groups and treated groups, which is contrary to other studies. Zhang et al.’s research supports the advantages of mNGS, especially in patients who have previously received antibiotic treatment23. Further analysis showed that if delayed-sampling after effective antimicrobial therapy is more than 4 days, it could decrease the mNGS detection rate significantly24. The reason behind this phenomenon may be due to different diagnostic mechanisms behind it. And the sensitivity of culture is limited by the use of antibiotics and antifungals25. Previous researches have shown that the detection rate of CSF culture in meningitis could be reduced to 9–11% after effective treatment26,27. Due to the fact that culture requires the existence of livable pathogens and therefore is easily influenced by the administration of antimicrobial treatment.

Pneumoniae and Neisseria meningitidis are the most common pathogens causing bacterial meningitis, However, in our study, K. pneumoniae and A. baumannii were the main pathogens. Listeria monocytogenes has become one of the common pathogens causing bacterial meningitis, this may be due to the differences in the types of pathogens in different areas, which is consistent with many cases reported in China28. Viruses are also a common cause of CNS infections, the most common viral infection are herpes simplex virus29. Among the 15 patients with viral infections, except for one case of dengue virus, all pathogens identified via mNGS were DNA viruses. RNA viruses, such as enteroviruses and Japanese encephalitis virus, are also common causes of CNSIs. Thus, DNA/RNA co-extraction methods must be improved and DNA and RNA sequenced simultaneously to improve virus detection rates30. In addition, identification of specific viral encephalitis/meningitis pathogens is difficult, some viruses are very common pathogen that may cause a false-positive result if present in CSF. In our research, when SSRNs ≥ 2 were considered positive, mNGS performance was optimal in terms of viral meningitis diagnosis (AUC = 0.758); mNGS may be very useful in this situation.

CSF chloridion showed significant differences between mNGS positive/Case consistent group and mNGS negative/Case consistent group, and this can be easily explained by that decreased CSF chloridion are associated with higher chance of CNS infections. Cut-off value analysis found that patients with CSF WBC > 300*106/L, CSF protein > 500 mg/L, glucose ratio > 4.5, or CSF chloridion ≤ 110(mmol/L) have a higher mNGS detection rates, but there was no statistically significant difference between two groups. Further research is needed to determine whether these indications hint that these patients may be more likely to benefit from mNGS. In bacterial subgroup, CSF WBC > 300*106/L with higher mNGS detection rate (p = 0.0274), implying that these patients with bacterial CNSIs may be more likely to benefit from mNGS. Another study found that CSF WBC > 300 * 106/L were related with higher mNGS detection rate, indicating that higher CSF WBC count might reflect a more active diseases status and higher pathogen loads, leading to higher detection rate23.

mNGS reported 8 failed false-positive cases. Non-pathogenic microbes’sequences detected in our study may come from three possible sources: environmental contamination; skin flora; reagent pollution; errors occurred in sequencing and mapping. We used negative controls in each sequencing to control contamination, and all samples in this study were processed in the same laboratory according to the same protocol. Incorporation of quality controls and positivity-thresholds chosen to avoid major errors is a crucial step in ensuring the results of mNGS30. How to determine the cutoff value of a positive result from mNGS test is always an issue for laboratories. So this metagenomic approach need to prompt reassessment of their significance when identified above reporting thresholds31. More studies should include comparisons with usual practice and application of mNGS to infectious and non-infectious patient, to better inform distinction between colonisation and infection and quantify clinical impacts32,33. mNGS also missed pathogen testing for 20 infected patients, which has many reasons behind it. For example, the abundance of pathogens in CSF is very low34; the fungal cell wall is thick and hard to break, and DNA fragments are difficult to obtain, which may affect the detection rate of fungi28. Qian et al.'s study pointed out that pre-use of antibiotics can also cause false negative mNGS test results35. It can be seen that multiple stages can affect the mNGS detection results. When CNS infections are more complex, we recommend a combination of mNGS and traditional testing methods.

Nevertheless, there were some deficiencies in our study. Firstly, the limited sample size may affect the accuracy of the study. Secondly, although each subject underwent CSF culture, the choice to use serological or molecular-based testing was entirely at the discretion of the clinical team. Therefore, most of the results of mNGS were not further verified by a standard reference, such as PCR and serologic confirmation. Thirdly, for practical applications of mNGS, the subjective judgment of clinicians is still needed, which is highly dependent on clinical experience. Although consensus was reached in this study by three experienced senior physicians and was based on the clinical manifestations of patients combined with other laboratory results, subjective bias is still possible.

Conclusion

Conventional microbiologic methods are often insufficient to detect all neuroinvasive pathogens. In this study, the detection rate of mNGS for potential pathogens is generally superior to traditional methods. Our findings also discovered that elevated CSF WBC and protein level or decreased glucose ratio is correlated with higher mNGS positivity in CNS infections, the analysis of clinical features associated with positive mNGS results further supports the clinical feasibility and utility of this technique. The combination of higher specificity from culture tests and higher sensitivity from mNGS may be more useful for physicians to determine the causative pathogen for a given case. We also suggest that the positive cut off should be more flexible for mNGS in the current stage of clinical applications.