Background

Human infection with Mycobacterium tuberculosis (MTB) and the resultant tuberculosis (TB) is a major global public health issue, especially in developing countries [1]. In 2022, about 10.6 million people worldwide were diagnosed with TB and about 1.3 million people died from TB. China is the third highest TB burden country, with about 748,000 new cases of TB and 30,000 deaths due to TB in 2022 [1]. TB may be broadly classified as pulmonary TB (PTB) or extrapulmonary TB (EPTB) [1]. EPTB accounts for approximately 20% of cases and infection can occur at numerous sites, with the most common forms being lymph node TB, bone and joint TB, TB pleurisy, and TB meningitis [2, 3]. The increased prevalence of immunodeficiency diseases has led to a corresponding increase in the incidence of EPTB [4]. The clinical presentation of EPTB is atypical and it is easily confused with other diseases such as common infections, making prompt diagnosis a great challenge [5]. Meanwhile, the acquisition of EPTB specimens usually requires invasive procedures that may involve some risks, which increases the difficulty of EPTB diagnosis [6].

Classical acid-fast bacilli (AFB) smear and AFB culture are the most common methods of EPTB diagnosis [7]. However, the majority of EPTB specimens are paucibacillary, making the positivity rate of AFB smear and AFB culture relatively low, with poor sensitivity to EPTB [8]. Furthermore, it takes time to obtain the results of AFB culture, preventing early diagnosis of EPTB [3]. Hence, research into more effective diagnostic methods is ongoing.

Molecular detection techniques allow rapid detection of pathogens and are an important advance in TB diagnosis, including EPTB [9, 10]. Nanopore sequencing is a new method of single-molecule, real-time sequencing, which detects the current changes of single-molecule DNA (RNA) through biological nanopores to infer the base composition, with long read length, fast speed, real-time monitoring, and portable features [11, 12]. It has demonstrated excellent diagnostic accuracy in the early diagnosis of PTB, significantly better than the current gold standard (AFB culture) [13]. However, its accuracy in the diagnosis of EPTB remains unevaluated.

Nanopore sequencing can be performed without amplification of target pathogens, which may affect its diagnostic accuracy when the level of target pathogens is extremely low, in order to solve this challenge, targeted nanopore sequencing (TNS) came into being. TNS uses polymerase chain reaction (PCR) to amplify the target pathogens DNA or RNA prior to nanopore testing, which increases the level of the target pathogens, which in turn improves the sensitivity of nanopore sequencing [14]. This is of particular value with diseases in which specimens are prone to low pathogen content, such as EPTB. This study aimed to evaluate the accuracy of TNS in the diagnosis of EPTB and to identify any variations in its diagnostic accuracy between different types of extrapulmonary specimens.

Methods

Study design

This retrospective study was conducted at a provincial regional TB diagnosis and treatment center. We reviewed the clinical data of patients tested with TNS for suspected EPTB at our center between September 2021 to October 2022. The data were obtained from our electronic medical records. EPTB is suspected in patients with TB-related symptoms such as low-grade fever, night sweats, abnormal signs at the site of onset (e.g., enlarged lymph nodes), pleural and abdominal fluid, positive TB immunoassays (purified protein derivative [PPD] test and/or gamma interferon release assay), imaging test results from ultrasound, computed tomography, or magnetic resonance imaging suggestive of possible TB (e.g., ring enhancement of lymph nodes or bone destruction), biochemical effusion test results suggestive of possible TB (e.g., elevation of adenosine deaminase [ADA] levels), granulomatous inflammation with necrosis found in pathology tests, and/or symptom reduction resulting from anti-TB therapy.

Patients with suspected EPTB whose extrapulmonary specimens were tested using both TNS and AFB culture and were followed up for at least 9 months were included in the study. Patients for whom extrapulmonary specimens were not used for relevant testing, who were not tested using both TNS and AFB culture, and who were lost to follow-up were excluded. The types of extrapulmonary specimens are varied and commonly include tissue, pus, fluids, and urine. Any of these types of specimens obtained from any extrapulmonary organ can be included. Some extrapulmonary specimens were obtained using invasive procedures (such as thoracentesis, lumbar puncture, lymph node puncture). Written informed consent was obtained from the patient or his/her guardian for these invasive procedures. The study protocol was approved by the Ethics Committee of Hangzhou Red Cross Hospital (2023-YS-133). The requirement for informed consent to study inclusion and the need for consent to participate were waived by the Ethics Committee of Hangzhou Red Cross Hospital because of the lack of study intervention in patient diagnosis and treatment and the retrospective nature of the study. This study is in accordance with the Declaration of Helsinki.

Based on their eventual clinical diagnosis, we divided the patients in our sample into three groups for statistical analysis.

Group A (confirmed EPTB) comprised those in whom EPTB was confirmed with positive AFB culture from extrapulmonary specimens. Group B (probable EPTB) comprised those diagnosed with probable EPTB in whom clinical manifestations were observed, with positive results on a PPD and/or gamma interferon release assay, imaging results suggestive of TB, and/or elevated ADA levels and lymphocytic predominance in serous effusions, who showed a positive response to anti-TB treatment. Group C (non-EPTB) comprised those without EPTB whose AFB culture were negative for MTB, another diagnosis was established, or who improved without anti-TB treatment. All patients in groups A and B were clinically diagnosed with EPTB.

Diagnostic specimen collection and handling

Two senior supervising physician performed invasive procedures (such as thoracentesis, abdominal puncture, lumbar puncture, lymph node puncture, and surgery) to collect relevant specimens. The fresh specimens were stored in a 4 °C refrigerator and tested within 2 h. Tissue specimens were pretreated by grinding, fluids specimens were pretreated by centrifugation, and pus specimens could be used directly; pretreated specimens were divided equally for culture (including AFB, bacteria, and fungi) and for use in the TNS. Puncture and tissue samples were also used for histopathological examination. Meanwhile, we collected basic information such as patient’s name, gender, height, weight, medication history, and other relevant details corresponding to the specimen.

AFB culture technique

For AFB culture technique, a freshly collected sample was utilized. Effusion specimens can be used directly, while tissue or puncture specimens require grinding before use. Digestion and decontamination of clinical specimens using 4% N-acetyl-l-cysteine–NaOH to remove possible contaminants. Added 1–2 times the volume of N-acetyl-l-cysteine–NaOH to the specimen and shake using a vortex shaker to homogenize the specimen. 0.1 ml of the treated specimen was taken and aseptically inoculated on the medium. Two different growth media: Lowenstein–Jensen solid medium and BACTEC MGIT 960 liquid medium (BD Diagnostic Systems in Sparks, MD) were used for AFB culture. The inoculated media were placed in a 37 °C thermostat for incubation and observed weekly for colony growth [15]. If no colony growth was observed for 6 weeks, the culture was reported as negative for AFB.

Nanopore sequencing

The procedure for the pretreatment of TNS specimens is the same as that for AFB culture specimens. The main TNS procedure consists of the following steps. NaOH solution-treated specimens are centrifuged to remove the supernatant and obtain the precipitate. The precipitate is washed and resuspended in phosphate-buffered saline. The solution obtained is then ground with grinding beads and further lysed through the addition of lysozyme solution. A QIAamp DNA microbiome kit (Cat. No. 51,707, Qiagen, Hilden, Germany) is then used to extract DNA from the lysis product.

The extracted DNA is amplified via polymerase chain reaction (PCR) with specific targeting of the ropB gene primers (Rpo5′ [5′-TCAAGGAGAAGCGCTACGA-3′] and Rpo3′ [5′-GGATGTTGATCAGGGTCTGC-3′]) for Mycobacterium spp. The touchdown method is used for the PCR. First, denaturation is performed at 98 °C for 3 min. Next, six cycles of amplification are implemented. Each cycle consists of denaturation at 95 °C for 15 s. This is followed by annealing at 66 °C for 60 s and elongation at 72 °C for 30 s. During elongation, the temperature is gradually decreased by 1 °C per cycle. After the initial six cycles, the annealing temperature is further lowered to 61 °C for 29 cycles. A final extension step is performed at 72 °C for 5 min to complete the PCR process.

The PCR amplification products are purified and labeled using the barcode method. The labeled products are subjected to nanopore sequencing using the GridION platform. After obtaining the sequences, a series of quality checks are performed to ensure the accuracy and reliability of the data. The sequences are filtered to eliminate any disreputable or irrelevant fragments. Then, using MiniMap 2 software, the filtered sequences are aligned with the reference sequences for MTB and Mycobacterium to identify and classify the microbial species present in the sample. To eliminate any possibility of contamination by the host, the DNA reads originating from the host (in this case, human) are specifically targeted and removed. This is achieved by aligning the sequences with the human reference genome (GRCh38) which serves as a benchmark for identifying host DNA [13]. Following this comprehensive process allows conclusive results to be obtained within just 48 h.

Data processing and statistical analysis

Data were described as means, quartiles, and standard deviations and analyzed using SPSS v. 24.0 (IBM Corp., Armonk, NY, USA) software. The true positive, false positive, false negative, and true negative values were also determined using SPSS. To evaluate the diagnostic performance of the compared methods, several indices of diagnostic accuracy were computed; these were sensitivity, specificity, positive predictive value (PPV), negative predictive value (NPV), and area under the curve (AUC). These calculations were performed using MedCalc v.15.2.2 statistical software. For each of these accuracy indices, the 95% confidence intervals were determined.

To ensure the validity of the data, Levene’s test was used to assess the equality of variances between groups, and the Shapiro–Wilk test was used to examine the normality of the data distribution. Between-group differences of normally distributed data with equal variances were analyzed using t-tests. For non-normally distributed data, we used the Wilcoxon rank sum tests. Paired data were analyzed using McNemar’s test. Ratios between two groups were compared using either chi-square test or Fisher’s exact test. Differences between two AUC values were compared using z-tests. These analyses were conducted using SPSS. For all tests, a p-value of < 0.05 was considered statistically significant.

Results

During the study period, 175 patients underwent TNS testing. Among these, the results of the AFB culture of 26 patients were not available. After the exclusion of these data, 149 patients remained and were included in our analysis. The patient screening process is displayed in Fig. 1. None of the patients in our sample were infected with HIV. Of the 149 patients, 83 (55.7%) were male, and the age range was 2–87 years, with an average age of 42.4 years. One extrapulmonary specimen was obtained from each patient. All patients were not on anti-tuberculosis treatment before the relevant tests were performed. In the non-EPTB group, we observed 1 case of cryptococcus, 1 case of escherichia coli, 2 cases of aspergillus, and 3 cases of non-tuberculous mycobacterial infections. Baseline characteristics of patients is presented in Table 1. The distribution of specimen types is shown in Table 2. The most common samples were lymph node tissue, cerebrospinal fluid, pleural effusion, and pleural tissue.

Fig. 1
figure 1

Screening process and diagnostic classifications for inclusion of patients

Table 1 Baseline characteristics of patients
Table 2 The distribution of extrapulmonary specimen types

Based on the diagnostic classification, 32 cases of confirmed EPTB, 93 cases of probable EPTB, and 24 cases of non-EPTB were identified (Fig. 1). The number of positive results obtained using TNS in these three groups was 30, 78, and 3, respectively; the numbers obtained using AFB culture were 32, 0, 0, respectively (Fig. 1). The distribution and crossover of positive TNS and AFB culture with different diagnostic classifications are shown in Fig. 2. Among the whole sample, 111 were positive for EPTB using TNS and the distribution of TNS reads ranged from 1 to 43,360, with an average of 2851.0. The distribution of positive TNS reads in confirmed EPTB ranged from 2 to 43,360, with an average of 3830.0. The distribution of TNS positive reads in probable EPTB ranged from 1 to 24,572, with an average of 2583.9. The positive TNS reads in non-EPTB ranged from 2 to 4, with an average read of 3.0. A comparison of the positive TNS reads in confirmed EPTB with those in probable EPTB was not statistically significant (P > 0.05), whereas the positive reads in confirmed EPTB and probable EPTB were significantly higher than those in non-EPTB, and the difference was statistically significant (P < 0.001). The distribution and comparison of positive TNS reads for different diagnostic classifications are shown in Fig. 3. AFB smear was performed in only 82 of the patients in our sample and only two of these were positive.

Fig. 2
figure 2

The distribution and overlap of positive results for the two tests in different diagnostic classifications. (A) all extrapulmonary tuberculosis, (B) confirmed extrapulmonary tuberculosis, (C) probable extrapulmonary tuberculosis, (D) non extrapulmonary tuberculosis

Fig. 3
figure 3

The distribution of reads for different classifications of positive nanopore sequencing patients

Diagnostic accuracy of TNS and AFB culture for EPTB

Using clinical diagnosis as the reference standard, the overall sensitivity, specificity, PPV, NPV, and AUC of TNS diagnosis of EPTB are displayed in Table 3. The receiver operating characteristic curves of TNS and AFB culture diagnoses of EPTB are shown in Fig. 4.

Table 3 Diagnostic accuracy of targeted nanopore sequencing and culture for extrapulmonary tuberculosis using clinical specimens
Fig. 4
figure 4

The receiver operating characteristic curves for the diagnosis of culture and nanopore sequencing for extrapulmonary tuberculosis in different diagnostic classifications. (A) all extrapulmonary tuberculosis, (B) confirmed extrapulmonary tuberculosis, (C) probable extrapulmonary tuberculosis

The sensitivity, specificity, PPV, NPV, and AUC of TNS and AFB culture for confirmed EPTB and probable EPTB are also displayed in Table 3. The receiver operating characteristic curves of these two tests for confirmed EPTB and probable EPTB are shown in Fig. 4.

The diagnostic accuracy of TNS and AFB culture with different types of extrapulmonary specimens is shown in Table 4. Although some additional types of extrapulmonary specimens were used, the number of each of these was too small to be included in the analysis.

Table 4 Diagnostic accuracy of targeted nanopore sequencing and culture for different types of extrapulmonary tuberculosis using clinical specimens

Comparison of the diagnostic accuracy of TNS and AFB culture

Overall, the diagnostic accuracy of TNS was significantly better than that of AFB culture (P < 0.001) (Table 3). This was also true for probable EPTB alone. However, when cases of confirmed EPTB were analyzed separately, the accuracy of TNS was slightly lower than that of AFB culture, but the difference between the two was not statistically significant (P > 0.05) (Table 3). The diagnostic accuracy of TNS was superior to that of AFB culture for all of the extrapulmonary specimen types. The difference between the two methods was significant in lymph node tissue and pleural effusion (P < 0.001) (Table 4) but not in cerebrospinal fluid (P > 0.05) (Table 4). The diagnostic accuracy of TNS was similar for lymph node tissue and pleural effusion specimens (P > 0.05); while the diagnostic accuracy using cerebrospinal fluid specimens was moderate and significantly lower than for lymph node tissue and pleural effusion (P < 0.001) (Table 4). The accuracy of AFB culture using lymph node tissue, cerebrospinal fluid, and pleural effusion was similar, with no significant difference (P > 0.05) (Table 4).

Discussion

Establishing a diagnosis of EPTB can be challenging [16]. One challenge is the difficulty in obtaining specimens for noninvasive testing [17]. Unlike PTB, which can be diagnosed using sputum samples, diagnosing EPTB requires specimens from affected areas of the body, such as the lymph nodes, bones, or central nervous system [18, 19]. These invasive procedures may be complex, require specialized equipment, and be uncomfortable for the patient. Another obstacle to EPTB diagnosis is the paucibacillary nature of the specimens obtained [20]. The number of TB bacteria present in these specimens is usually very low, requiring more sensitive diagnostic methods [20]. The development of more sensitive diagnostic methods would also reduce the number of invasive procedures and improve patient satisfaction. The low bacterial load in specimens reduced the accuracy of conventional diagnostic methods, leading to potential misdiagnosis or delayed diagnosis [21]. In the present study, AFB smear of only 2.4% (2/82) of the specimens produced positive results. The low sensitivity of AFB smear means that they are rarely done as a preferred test when the specimen volume is limited. It was for this reason that AFB smear was not performed on all specimens in this study and why the other tests were not compared with AFB smear. AFB culture, on the other hand, is a crucial test in the diagnosis of TB. The AFB culture from 21.5% (32/149) of the specimens in this study were positive, supporting the characterization of extrapulmonary specimens as less bacterial. AFB culture is the gold standard for the diagnosis of TB, but the paucibacillary nature of EPTB makes AFB culture defective in the diagnosis of EPTB, and may miss part of the diagnosis of EPTB, in other words, a negative AFB culture does not completely exclude the diagnosis of EPTB [22]. Clinical diagnosis requires consideration of multiple factors to ensure all true positive cases are identified and to maximize specificity. However, clinical diagnosis itself also has the potential to reduce specificity and increase false-negative results. The positivity rate of the AFB culture in this study was low and could not effectively differentiate between EPTB [22]. Therefore, we chose clinical diagnosis as our diagnostic benchmark. Improvements in diagnostic technologies and techniques continue to be developed to address these challenges and provide more accurate and rapid diagnoses of EPTB, allowing for the timely initiation of appropriate treatment and improved patient outcomes.

Nanopore sequencing is a new generation of sequencing technology that has shown advantages in the diagnosis of various types of tumors and infectious diseases [23, 24]. It has also shown satisfactory results in the rapid diagnosis of TB [13]. Nanopore sequencing showed a significant improvement in accuracy in the diagnosis of TB compared to conventional AFB culture (AUC: 0.79 vs. 0.96; P < 0.05) [13]. TNS was developed to improve diagnostic detection in diseases with low bacterial content through the targeting of pathogens via PCR amplification [25]. TNS performed PCR amplification of the target pathogens prior to nanopore sequencing, which increased the DNA or RNA content of the target pathogens and thus may further improve the sensitivity of nanopore sequencing. RpoB is a conserved sequence in Mycobacterium spp. and can be efficiently used to amplify Mycobacterium spp (including TB and non-tuberculosis mycobacteria) and for strain identification [26]. Our results show that, overall, the accuracy of TNS for diagnosing EPTB is good and significantly higher than that of AFB culture. We found 17 false negative specimens (2 cases in the confirmed EPTB group and 15 cases in the probable EPTB group), and the specimen types were mainly cerebrospinal fluid and plasma membrane cavity fluid. As the levels of TB bacteria in these specimens were lower than those found in tissue and pus specimens, TNS still failed to detect TB. Three false positive specimens (all in non-EPTB group) were found, which may have been due to abnormalities in the PCR process, leading to contamination of the samples. When interpreting a TNS report, it is important to focus not only on the positive-negative results, but also on the sequence reads that correspond to the positive results. Our findings suggested that the reads in the confirmed and probable EPTB groups were significantly higher than those in the non-EPTB group, and the higher the reads the higher the likelihood of true positive. The TNS reads of these three false positive cases were very low, significantly lower than the reads of true positive specimens, suggesting a need to combine other factors to evaluate TNS results with low reads.

For the confirmed EPTB group, AFB culture was the reference standard. In this group, the diagnostic accuracy of TNS was excellent. In the probable EPTB group, AFB culture was ineffective for the diagnosis of EPTB, but TNS still demonstrated very good diagnostic accuracy with this group of patients. The value of TNS for use with this latter type of patient is much greater.

EPTB can infect any organ outside the lungs, and the symptoms that characterize infections at different sites can vary, as can the specimens required from them [27]. For example, the primary specimen for tuberculous meningitis is cerebrospinal fluid; for lymph node TB, the specimen may be pus or tissue; and for tuberculous pleurisy, the specimen may be pleural fluid or pleural tissue. The most common EPTBs include tuberculous pleurisy, lymph node TB, tuberculous meningitis, and bone and joint TB. Eighteen types of extrapulmonary specimens were included in this study, the most common being lymph node tissue, cerebrospinal fluid, pleural effusion, and pleural tissue. A subgroup analysis found the diagnostic accuracy of TNS using lymph node tissue and pleural effusion specimens to be excellent. Our results were superior to those obtained using other molecular diagnostic tests, especially with pleural effusion specimens. Pleural effusions are considered to be extremely low in TB bacteria, and other molecular tests such as Xpert MTB/RIF are poor detectors when using pleural effusions [28]. It is hoped that our results will provide an efficient and accurate option for the diagnosis of TB pleurisy. We found the detection ability of TNS using cerebrospinal fluid to be moderate. However, its ability to detect TB bacteria in cerebrospinal fluid was still superior to that of Xpert MTB/RIF. TNS may be a potentially efficient detection tool for TB meningitis. However, the sample sizes of the various subgroups of the current study were limited; therefore, these results should be treated with caution. Further studies with larger sample sizes are needed to verify the diagnostic accuracy of TNS in different types of extrapulmonary specimens.

Our research had several limitations. First, this was a single-center retrospective study; therefore, the patient selection process may have introduced bias. Consequently, the results may not fully represent the actual population affected by the disease. Second, the study was conducted in an area with a high burden of TB. This may have affected the generalizability of the findings. Third, we focused solely on assessing the accuracy of TNS diagnosis of EPTB. The presence of drug resistance was not investigated. Lastly, our sample size was limited, and this, in turn, limited the number of different types of extrapulmonary specimens analyzed. In view of the limited sample size, confirmation of our results by larger studies with more diverse EPTB patient populations is warranted.

Conclusions

TNS demonstrates good diagnostic accuracy for EPTB and rapid results. It also showed very good diagnostic accuracy across different types of extrapulmonary specimens. TNS may become a new option for the efficient diagnosis of EPTB.