Diagnostic Tools for Pulmonary Tuberculosis

No comments

Pulmonary tuberculosis is a global disease that tends to burden underdeveloped countries disproportionally as well people living with HIV. It is a difficult disease to diagnose in the microbiology lab, and as such, there have been various methods deployed in an attempt to diagnose it. While culture is the gold standard, it can take anywhere from 4-8 weeks for cultures to finalize, meaning that in contrast to other infectious diseases, relying on culture for initial diagnosis is not best practice. As such, a rapid smear and molecular assays have been implemented in order to rapidly diagnose tuberculosis.

The quoted number of acid fast bacilli needed to have a positive smear is roughly 5000-10,000 AFB per mL of sputum. In comparison, culture requires around 100 organisms per mL, which allows it to be a more sensitive modality for diagnosis. Given the lack of high sensitivity for sputum AFB smears, especially in the HIV population, molecular assays have been implemented in the diagnosis of pulmonary tuberculosis. One of these is the GeneXpert MTB/RIF automated PCR, which detects both MTB complex (so yeah, TB is not just one bacteria but a bunch of them. I will not discuss this here, but it includes M. bovis and M. africanum.) One advantage here is that it very hands off; you mix either raw sputum or sputum pellets after decontaminating and concentrating the sample. The lower limit of detection for GeneXpert is 5 genome copies of purified DNA, or simpler terms, 131 CFUs/mL. Further, this assay picks up both alive and dead bacteria. The other advantage of this assay is that it picks up the presence or absence of the wild-type rpoB gene aka tells you if there is rifampicin resistance as well. All within 2 hours. Pretty neat. An upgraded version of this was developed, called Xpert MTB/RIF Ultra, which incorporates 2 different multi-copy amplification targets which allows a lower limit of detection of 15.6 CFU/mL. In other words, it is ridiculously sensitive.

AFB Sputum

The overall sensitivity of direct microscopy (without centrifugation or chemical processing) ranges from 39% to up to 80%, increasing to a range of 44% to 98% with further processing (1).

Specificity ranges from 95% to 100%.

In a retrospective study of 203 culture positive specimens, sensitivity of sputum AFB smear was 67.5% (95% CI 60.6-73.9), with a specificity of 97.5% (2). They further evaluated the NPV of AFB smear according to the day of collection. Of 488 patients who submitted 3 samples, 8 of 27 patients were AFB smear negative but culture positive. They found that of the remaining 19 smear positive, 17 of them (89.5%) of patients were smear positive in their first sample:

Of interest, those who were smear negative and had pulmonary tuberculosis were more likely to have an elevated RR, matted lymph nodes, and a pulmonary cavity on imaging (3). Nothing terribly impactful, but if you get someone who is smear negative and has these features, I would think twice about taking that negative smear at face value:

The overall sensitivity of sputum smears goes down with HIV positivity. This could be due to lower sputum concentration of MTB in HIV patients or inability to produce good quality sputum. In a review (4), HIV positive patients had a sensitivity of 53.5% for smears in the first slide with an increase to 64.9% in the second slide. A retrospective cohort study from the same paper in a population from Indonesia found the sensitivity of inpatients with both TB/HIV was 66.7% compared to 11.1% in outpatients. Specificity was 100% in both groups. In a substudy (5) of a TB vaccine program, patients with HIV were screened with CXR, symptoms, and sputum smears. Smear was able to detect only 38% of HIV positive patients with TB, using an algorithm as a standard (vs the usual culture, which may underestimate the true positivity of TB in this population). In another sample, the sensitivity of ZN stain in HIV positive patients in South Africa was found to be 34.9% with specificity of 99.8% (6).

The take home here is the sensitivity of smear depends on processing and methods (which are out of your control unless you know the ins and outs of the micro lab), but is roughly 50-60%, which goes down with HIV infection. Specificity is near 100%, however.

Xpert MTB/Rif

Given the overall low sensitivity of sputum smear, molecular diagnostic methods have been implemented for the diagnosis of pulmonary tuberculosis. The most well known in the Xpert MTB/Rif assay, which has several advantages. First, it’s the fact this is an automated PCR which allows you to decrease the limit of detection, increasing the sensitivity. As mentioned before, it requires 131 CFUs/mL. Second, it is hands off:

Not a lot of work required. It also picks up the presence or absence of the wild-type rpoB gene, telling you if you have rifampin resistance or not. And it does all this within 2 hours, so it is a quick screening tool. In the first large multicenter, prospective trial of GeneXpert (7), the sensitivity and specificity was evaluated across 5 sites using culture as its gold standard. 1462 patients were evaluated, with a total of 4386 samples sent to reference laboratories. Overall sensitivity in this cohort was 97.6%, with a sensitivity of 99.8% for smear positive and culture positive specimens and 90.2% for smear negative and culture negative specimens:

Further, the sensitivity of detecting rifampin resistance was also high:

Notably, the rate of indeterminate testing was 3.7%, which dropped to 1.2% after an additional test is run. Among those with HIV and pulmonary tuberculosis, the quoted sensitivity was 93.8% compared to the sensitivity of 98.4% in HIV negative patients. One of the things that is notable here is the high sensitivity in those patients who were smear negative. This is a finding that has not panned out in the literature (see later).  

In a follow up multicenter implementation study (8), MTB-Rif testing was put into place in resource poor countries and compared to AFB sputum smears. Both HIV positive and negative patients were enrolled. 6096 patients were analyzed, and across all sites, sensitivity was above 96% if sputum was smear positive, but smear negative sputum sensitivity ranged from 57.7% to 88.1%.

Notably, smear microscopy was less sensitive in the HIV positive population when compared to those were HIV negative. However MTB/Rif testing had similar sensitivity regardless of HIV status:

Sensitivity for rifampin sensitive cases was high across the sites, however the sensitivity when it comes to rifampin resistance dropped in 2 sites:

This held true even when evaluating the test in a remote facility. In this cross-sectional study of 227 patients with TB symptoms (9), AFB smear was compared to GeneXpert MTB/Rif assay using solid or MGIT liquid culture as its gold standard. The sensitivity for GeneXpert was higher than for smear. Notably, this was a high incidence population (Ethiopia):

The overall sensitivity of Xpert MTB/Rif is also high in intermediate and low prevalence settings. In a prospective study (10) From South Korea, 3359 sputum samples were collected. Overall sensitivity was better for Xpert MTB/RIF when compared to that of smear microscopy, though both had comparable specificities:

Notably, the sensitivity of the GeneXpert was better for smear positive specimens, which isn’t terribly surprising given this study also evaluated the relationship between mycobacterial burden and smear grade. In other words, the higher the burden, the lower the cycle threshold (i.e. how many cycles the PCR has to go through to flag the specimen as positive. More bacteria = less amplification needed = lower cycle threshold):

Looking at the PLR and NLR of both, a negative smear is not terribly helpful when compared to a negative likelihood ratio for Xpert. In other words, if the pre-test probability of TB is high and the smear is negative, the post-test probability is not that different. This study also evaluated the performance of both assays in different scenarios, including early morning sputum, spot sputum, single vs twice sample, etc:

This pattern holds true even using USA data, which is a lower prevalence area. In a longitudinal multicenter study (11) comparing US vs Brazil and South Africa the overall sensitivity was 98.5% if smear and culture positive, specificity was 98.7%. This was similar to those who were HIV infected, though in both cases smear negativity dropped the sensitivity to near the mid 50s. Surprisingly, the Xpert performed similarly in high vs low incidence regions:

Not surprisingly, having additional Xpert increased the sensitivity:

One of the patterns that should be brought up is that the sensitivity of the Xpert assay is dependent on the smear results. For instance, in a high incidence population (9), the Xpert assay had a sensitivity of 48.6% in those who were smear negative, compared to 95.2% in those who were smear positive. Similarly, in an intermediate prevalent population, the sensitivity of Xpert in smear negative hoovers around 60% (10). In general, the sensitivity tends to be anywhere from 50-60%, though some studies can have a higher sensitivity. In one cross-sectional study, the Xpert/Rif assay was found to have a sensitivity of 84.4%, specificity of 100%, PPV 100% and NPV 65.38% in smear negative individuals (12).

HIV status does not seem to affect the performance of Xpert MTB/Rif assay as much as it affects smear positivity. In a prospective study from South Africa (13), MTB/Rif Xpert was compared to sputum culture as well other NAAT tests (MTBDRplus assay and the LCTB assay). Sputum microscopy had the lowest sensitivity when compared to the rest of the NAAT. This trend held true for the HIV-positive population, as well as those who were clinically deemed to have tuberculosis (i.e. neg sputum culture or gram stain):

In another prospective study of patients with advanced HIV (14) the overall sensitivity was lower for smear microscopy than for Gene Xpert. As before, smear positive cases had a higher sensitivity with the GeneXpert when compared to smear negative cases (100% vs 63%, respectively). Further, those who were smear positive had a fairly high sensitivity with Xpert assay, anywhere from 84-100%. Using 2 samples to run GeneXpert increased the overall sensitivity from 58.3 to 72.2%:

  Factors associated with the sensitivity of the Xpert MTB/Rif assay for smear negative disease included a cough duration >2 weeks (sensitivity 100% vs 56.5%, p-value 0.018), CD4 <100 (sensitivity 78.9%, 95% CI 58.8-99.1, p-value 0.075). Lastly, in a Cochrane review (16), HIV-negative patients had a pooled sensitivity of 88% (95% CI 83-92%) in comparison to that of HIV-positive patients of 81% (95% CI 75% to 86%). Both have a specificity of 98%:

Pooled sensitivity to detect rifampin resistance was lower in areas of high MDR-TB burden (95%, 95% CI 93-97%) when compared to areas of low MDR-TB burden (97%), Specificity was high for both (98% and 99% respectively).

Overall, Gene Xpert is the most sensitive assay that we have for the initial diagnosis of pulmonary tuberculosis, with sensitivity reaching the mid to high 90s, and very high specificity to boot. The sensitivity decreases a bit with HIV positive patients (suspect this may be the same in the SOT population as well as the hematology population) and is nearly cut in half if smear negative.

Xpert MTB/Rif Ultra

This is a different assay that uses 2 different multicopy amplification targets (IS6110 and IS1081), which results in a lower limit of detection when compared to the original GeneXpert. Unfortunately, this is not readily available in the US (to my knowledge) given the overall low prevalence of TB here.  The largest study was a multicenter, prospective study that evaluated both the Xpert and Xpert Ultra assay (15) for those with presumed pulmonary tuberculosis. A non-inferiority endpoint was chosen, and 1753 patients were included in the final analysis. Overall, Xpert Ultra had a higher sensitivity over Xpert assay, including in the HIV positive population:

The sensitivity was also calculated by using a trace positive Xpert Ultra result and classifying it as a negative result. This increased the specificity but dropped the sensitivity. Further, a conditional-trace approach (i.e if you had TB before and you had a trace result on Xpert Ultra, you were deemed as negative) and a trace-repeat (first Xpert ultra result was followed by another Xpert), had comparable sensitivity and specificity to an overall approach:

In a Cochrane analysis (16), Xpert pooled sensitivity and specificity were 85% (95% CI 82 to 87%) and 98% (95% CI 97% to 98%). Sensitivity for smear-negative specimens was 67% (95% CI 63-72%) and specificity of 98% (95% CI 97-99%), while sensitivity for smear positive specimens were 98% (95% CI 97-98%). In a WHO study (17), Ultra was found to have a sensitivity of 5% higher than Xpert MTB/Rif (95% CI +2.7, 7.8) but a 3.2% lower specificity (95% CI -2.1, -4.7). Sensitivity increases were highest among smear negative patients (+17%, 95% CI +10, +25) and those with HIV (+12%, 95% CI +4.9, +21). Specificity decreased for those who had a history of TB (-5.4%, 95% CI -9.1, -3.1).

The utility of Ultra is likely going to be in those who are smear negative with initial negative Xpert or the HIV population. As it stands, we do not have this assay available in the US.


  • Smear is cheap, but sensitivity is not great. It ranges from 40% up to 80% depending on the method. HIV patients have a lower sensitivity with this modality
  • Gene Xpert is PCR that is easy to perform and has a high sensitivity
    • Though the sensitivity varies with positivity of smear. IF the smear is positive, the sensitivity can be in the 90s.
    • If smear negative, sensitivity drops to anywhere from 60-80%.
  • HIV positivity does not affect the overall sensitivity
  • Gene Xpert Ultra is a more sensitive and performs better than Xpert in HIV patients as well as smear negative patients


  1. Steingart KR, Ng V, Henry M, et al. Sputum processing methods to improve the sensitivity of smear microscopy for tuberculosis: a systematic review. Lancet Infect Dis. 2006;6(10):664-674. doi:10.1016/S1473-3099(06)70602-8
  2. Mathew P, Kuo YH, Vazirani B, Eng RH, Weinstein MP. Are three sputum acid-fast bacillus smears necessary for discontinuing tuberculosis isolation?. J Clin Microbiol. 2002;40(9):3482-3484. doi:10.1128/jcm.40.9.3482-3484.2002
  3. Swai HF, Mugusi FM, Mbwambo JK. Sputum smear negative pulmonary tuberculosis: sensitivity and specificity of diagnostic algorithm. BMC Res Notes. 2011;4:475. Published 2011 Nov 1. doi:10.1186/1756-0500-4-475
  4. Rewata L, Rutherford M, Apriani L, et al. Improving diagnosis of pulmonary tuberculosis among HIV/AIDS patients: literature review and experience in a teaching hospital in Indonesia. Acta Med Indones. 2009;41 Suppl 1:57-64.
  5. Bakari M, Arbeit RD, Mtei L, et al. Basis for treatment of tuberculosis among HIV-infected patients in Tanzania: the role of chest x-ray and sputum culture. BMC Infect Dis. 2008;8:32. Published 2008 Mar 6. doi:10.1186/1471-2334-8-32
  6. Hassim S, Shaw PA, Sangweni P, et al. Detection of a substantial rate of multidrug-resistant tuberculosis in an HIV-infected population in South Africa by active monitoring of sputum samples. Clin Infect Dis. 2010;50(7):1053-1059. doi:10.1086/651119
  7. Boehme CC, Nabeta P, Hillemann D, et al. Rapid molecular detection of tuberculosis and rifampin resistance. N Engl J Med. 2010;363(11):1005-1015. doi:10.1056/NEJMoa0907847
  8. Boehme CC, Nicol MP, Nabeta P, et al. Feasibility, diagnostic accuracy, and effectiveness of decentralised use of the Xpert MTB/RIF test for diagnosis of tuberculosis and multidrug resistance: a multicentre implementation study. Lancet. 2011;377(9776):1495-1505. doi:10.1016/S0140-6736(11)60438-8
  9. Geleta DA, Megerssa YC, Gudeta AN, Akalu GT, Debele MT, Tulu KD. Xpert MTB/RIF assay for diagnosis of pulmonary tuberculosis in sputum specimens in remote health care facility. BMC Microbiol. 2015;15:220. Published 2015 Oct 19. doi:10.1186/s12866-015-0566-6
  10. Lee HS, Kee SJ, Shin JH, et al. Xpert MTB/RIF Assay as a Substitute for Smear Microscopy in an Intermediate-Burden Setting. Am J Respir Crit Care Med. 2019;199(6):784-794. doi:10.1164/rccm.201804-0654OC
  11. Luetkemeyer AF, Firnhaber C, Kendall MA, et al. Evaluation of Xpert MTB/RIF Versus AFB Smear and Culture to Identify Pulmonary Tuberculosis in Patients With Suspected Tuberculosis From Low and Higher Prevalence Settings. Clin Infect Dis. 2016;62(9):1081-1088. doi:10.1093/cid/ciw035
  12. Rasheed W, Rao NA, Adel H, Baig MS, Adil SO. Diagnostic Accuracy of Xpert MTB/RIF in Sputum Smear-Negative Pulmonary Tuberculosis. Cureus. 2019;11(8):e5391. Published 2019 Aug 15. doi:10.7759/cureus.5391
  13. Scott LE, McCarthy K, Gous N, et al. Comparison of Xpert MTB/RIF with other nucleic acid technologies for diagnosing pulmonary tuberculosis in a high HIV prevalence setting: a prospective study. PLoS Med. 2011;8(7):e1001061. doi:10.1371/journal.pmed.1001061
  14. Lawn SD, Brooks SV, Kranzer K, et al. Screening for HIV-associated tuberculosis and rifampicin resistance before antiretroviral therapy using the Xpert MTB/RIF assay: a prospective study. PLoS Med. 2011;8(7):e1001067. doi:10.1371/journal.pmed.1001067
  15. Dorman SE, Schumacher SG, Alland D, et al. Xpert MTB/RIF Ultra for detection of Mycobacterium tuberculosis and rifampicin resistance: a prospective multicentre diagnostic accuracy study [published correction appears in Lancet Infect Dis. 2018 Feb 21;:]. Lancet Infect Dis. 2018;18(1):76-84. doi:10.1016/S1473-3099(17)30691-6
  16. Horne DJ, Kohli M, Zifodya JS, et al. Xpert MTB/RIF and Xpert MTB/RIF Ultra for pulmonary tuberculosis and rifampicin resistance in adults. Cochrane Database Syst Rev. 2019;6(6):CD009593. Published 2019 Jun 7. doi:10.1002/14651858.CD009593.pub4
  17. WHO meeting report of a technical expert consultation: non-inferiority analysis of Xpert MTF/RIF Ultra compared to Xpert MTB/RIF. Geneva: World Health Organization; 2017 (WHO/HTM/TB/2017.04). Licence: CC BY-NCSA 3.0 IGO

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s