Abstract
The increasing threat of antimicrobial resistance necessitates accurate and rapid diagnostics.
Whole genome sequencing (WGS) has become a key tool for diagnosing Mycobacterium tubercu-
losis infections, but discrepancies between genotypic and phenotypic drug susceptibility testing can
hinder effective treatment and surveillance. This study investigates the impact of including resistant
subpopulations and compensatory mutations in WGS-based rifampicin resistance prediction, based
on a dataset of 35,538 M. tuberculosis samples. The sensitivity and specificity of resistance classi-
fication were evaluated with and without considering subpopulations and compensatory mutations.
By lowering the fraction of reads required to identify a resistance-associated variant in a sample from
0.90 to 0.05, the sensitivity significantly increased from 94.3% to 96.4% with no significant impact on
specificity. This indicates that a substantial fraction of false negative calls in WGS-based rifampicin
resistance prediction can be explained by masked resistant subpopulations. Allowing compensatory
mutations to predict resistance further lowered the false negative rate. Finally, we found that samples
with resistant subpopulations were less likely to be compensated than homogeneous resistant sam-
ples, consistent with the recent evolution of resistance in the samples with subpopulations. Further
analysis of these samples revealed distinct clusters with differing amounts of within-sample diversity,
pointing towards different mechanisms of resistance acquisition, such as within-host evolution and
secondary infections.
Running title: Subpopulations give rise to rifampicin resistance in M. tuberculosis.
*To whom correspondence should be addressed:
[email protected], @philipwfowler
1
.CC-BY 4.0 International licensemade available under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is
The copyright holder for this preprintthis version posted April 9, 2025. ; https://doi.org/10.1101/2025.04.09.647945doi: bioRxiv preprint
Introduction
M. tuberculosis infections are still responsible for about 1.25 million deaths per year 1 and resistance
to first-line antibiotics continues to spread. 2 The first step towards successfully treating M. tuberculosis
infections is fast and reliable diagnostics, including drug susceptibility testing (DST). Phenotypic DST
involves culturing the bacteria in the presence of different antibiotics 3 and is reliable for most drugs.
However, since M. tuberculosis grows slowly, it is time-consuming despite efforts to reduce culture
time. 4 Genotypic DST instead infers from the genetic variants whether a sample is resistant and can be
faster than phenotypic DST.5 For this to work, the underlying mechanism must be genetic and the exact
genetic variants conferring resistance must also be known. If true, one can then look for the presence
of specific genetic variation using rapid molecular tests such as Gene Xpert MTB/RIF 6, or use whole
genome sequencing (WGS) to scan the entire bacterial genome for resistance-associated variants (RA Vs)
for different antibiotics.7 The latter involves WGS of the patient-derived sample, followed by application
of a high-confidence catalogue of RA Vs, enabling the sample to be classified as susceptible or resistant
to a panel of antibiotics.8
The second edition of the WHO catalogue of mutations contains the most comprehensive list of RA Vs
to date for predicting rifampicin resistance in M. tuberculosis and achieves 93.3% sensitivity and 96.9%
specificity on its training dataset compared to standard phenotypic DST results. Despite being one of
the best-performing drugs, the sensitivity for rifampicin remains below the 95% threshold proposed for
antimicrobial susceptibility test devices by ISO.9 It is, of course, unrealistic to expect perfect agreement
between the results of phenotypic and genotypic DST but any discrepancy creates problems not only for
scientific efforts investigating disease transmission networks of M. tuberculosis,10 but also for diagnos-
tics.11 If WGS-based DST is to complement or even replace phenotypic DST in some settings, it needs
to achieve comparable performance. Hence there is a strong need to close the gap between phenotypic
and genotypic DST results.
Here, we show the performance of WGS-based DST for rifampicin can be trivially improved by per-
mitting resistant subpopulations to contribute to the final classification. This was already shown to sig-
nificantly improve the sensitivity of resistance prediction for fluoroquinolones inM. tuberculosis.12 The
hypothesis is that resistant subpopulations are usually not called by bioinformatics pipelines. Hence
the genotypic approach does not lead to a prediction of resistance, yet the samples are phenotypically
resistant. For many pathogens, resistant subpopulations are not expected since the standard laboratory
process is to pick single colonies. Yet this is not true for M. tuberculosis where e.g. an aliquot taken for
DNA extraction from a MGIT tube usually contains multiple ‘crumbs’ 13 and so could readily harbour
resistant subpopulations, reflecting more accurately the patient’s infection.
We define the fraction of read support (FRS) as the proportion of reads at a genetic locus that supports a
2
.CC-BY 4.0 International licensemade available under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is
The copyright holder for this preprintthis version posted April 9, 2025. ; https://doi.org/10.1101/2025.04.09.647945doi: bioRxiv preprint
specific genetic variant. Bioinformatics pipelines conventionally specify a minimum FRS for a genetic
variant to be called. The first edition of the WHOM. tuberculosismutation catalogue14 and the CRyPTIC
consortium 15 both used a conservative FRS threshold of 0.90 when calling genetic variants. This high
threshold prevents sequencing errors leading to spurious variant calls, but as sequencing technologies
have improved and error rates decreased, this now seems unduly conservative and ensures genetic sub-
populations are not detected. Such subpopulations are expected if an infection has only recently evolved
resistance, perhaps in response to treatment, or if there has been a secondary resistant infection.
A second way to improve the performance of catalogue-based predictions is to include more resistance-
associated variants. For now, catalogues only contain alleles that (are assumed to) directly cause resis-
tance. We show that including genetic variants indirectly linked to resistance, such as compensatory
mutations (CMs), can improve sensitivity without lowering specificity. CMs arise in response to a re-
duction in fitness caused by rifampicin resistance mutations and hence whilst not causal are only found
in rifampicin-resistant samples. 16–18 We have previously identified a list of high-confidence CMs using
their strong association with the presence of resistance mutations. 19 We aim to test if including this list
in the official WHO resistance catalogue20 improves the performance metrics of resistance prediction.
In addition to their potential to evade detection, samples with resistant subpopulations are an interesting
transition state in M. tuberculosis infections, which may arise through multiple different scenarios (Fig.
1). The first possibility is within-host evolution of resistance, where the resistant subpopulation gradually
takes over a susceptible population during drug treatment (Fig. 1A). Secondly, the evolved drug-resistant
subpopulation may revert to a susceptible phenotype or gets out-competed after drug treatment is stopped
(Fig. 1B); or thirdly the resistant subpopulation is acquired through a secondary infection (Fig. 1C). Dis-
tinguishing these possibilities requires that we know whether the sample was taken before, during or
after drug treatment. Unfortunately, precise data on this is scarce and hence we can seldom distinguish
between scenarios 1 and 2 (Fig. 1A, B). The second unknown variable is the source of resistance: within-
host evolution or a secondary infection. We aim to discern the source of resistance by quantifying the
amount of genetic diversity in the samples with resistant subpopulations in our dataset.
3
.CC-BY 4.0 International licensemade available under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is
The copyright holder for this preprintthis version posted April 9, 2025. ; https://doi.org/10.1101/2025.04.09.647945doi: bioRxiv preprint
A within-host evolution of
resistance during treatment
B reversion of resistance following cessation of treatment
C secondary infection with a resistant strain
resistant to antibiotic
susceptible
to antibiotic
patient with resistant
subpopulation
sample taken
Figure 1: Three ways a patient can acquire an infection with a resistant subpopulation. The sus-
ceptible subpopulation is shown in purple, the resistant subpopulation in red. Samples with resistant
subpopulations can originate from multiple different scenarios, among them (A) within-host-evolution,
(B) reversion to susceptible phenotype following cessation of treatment, and (C) secondary infection.
4
.CC-BY 4.0 International licensemade available under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is
The copyright holder for this preprintthis version posted April 9, 2025. ; https://doi.org/10.1101/2025.04.09.647945doi: bioRxiv preprint
Materials and methods
Dataset sources
In addition to collecting >20,000 M. tuberculosis samples, each of which underwent whole genome
sequencing (WGS) and drug susceptibility testing (DST) using one of two bespoke 96-well broth mi-
crodilution plates,15;21 the Comprehensive Resistance Prediction for Tuberculosis: an International Con-
sortium (CRyPTIC) project also aggregated M. tuberculosis samples with WGS and/or DST data that
had been previously published. An early version of this dataset with heterogeneous DST methods was
used to build the first edition of the WHO catalogue of tuberculosis resistance-associated variants.22
WGS data processing
A subset of 41,575 publicly available samples from the European Nucleotide Archive with short-read
paired-end FASTQ files were uploaded to EIT Pathogena (https://www.eit-pathogena.com) and pro-
cessed using version d5f9cd0 of the Mycobacterial pipeline. 23 The variant caller, Clockwork, calculates
the ‘fraction of read support’ (FRS) and, by default, only calls genetic variants where FRS≥ 0.90 with a
filter applied to the remainder.24 Here, we instructed the downstream tool, gnomonicus, to ignore these
filters and record all potential genetic variants so that we could detect subpopulations of bacteria due to
mixed infections. 25 Most samples (37,594) had one or more of 101,020 mutations detected in the RNA
polymerase (genes rpoA, rpoB, rpoC, rpoZ and sigA). This includes 3,260 so-called null mutations where
there are insufficient (< 3) reads to call a variant. To protect against spurious calls due to sequencing
errors, variants needed to be supported by at least three reads.
Examining rpoB in more detail we find 31,347 samples containing 58,789 mutations with a FRS ≥ 0.90
and 1,372 samples containing 1,940 mutations supported by an FRS< 0.90. A small number of the latter
samples have very large numbers of putative mutations, indicative of contamination or poor sequencing
quality. In both cases the most common rpoB mutations were A1075A and S450L, as expected. Mu-
tations were flagged as being associated with resistance to rifampicin according to the second edition
of the WHO catalogue of mutations in M. tuberculosis. 20 We used a published list of high-confidence
compensatory mutations 19 to annotate which mutations are compensatory.
Phenotypic DST data processing
A total of 52,148 samples had one or more binary rifampicin drug susceptibility test results using a
range of methods; the most common were broth microdilution plate (24,172 samples) and mycobacterial
growth indicator tube (23,682). If a sample had been tested using more than one method and all meth-
ods produced the same S/R result then, if present, the CRyPTIC result was retained since it has richer
data and has undergone additional quality control. If the methods disagreed on the outcome then the
5
.CC-BY 4.0 International licensemade available under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is
The copyright holder for this preprintthis version posted April 9, 2025. ; https://doi.org/10.1101/2025.04.09.647945doi: bioRxiv preprint
first resistant result was retained. This resulted in 48,031 samples with a single rifampicin DST result.
Merging with the genetic data identified 35,538 samples which have both whole genome sequencing data
and a single rifampicin DST binary result: this dataset forms the basis of our subsequent analysis. The
sensitivity and specificity of the genotypic resistance call were calculated with respect to the phenotypic
drug susceptibility result. Significance was tested using a proportions z-test.
Reproducibility statement
All analysis, figures and tables in this paper can be reproduced using a GitHub repository which contains
all data tables and code.26
6
.CC-BY 4.0 International licensemade available under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is
The copyright holder for this preprintthis version posted April 9, 2025. ; https://doi.org/10.1101/2025.04.09.647945doi: bioRxiv preprint
Results
Classifying subpopulations that contain rifampicin RA Vs as resistant improves sensitivity
In our dataset of 35,538 samples, we will describe samples with a rifampicin resistance-associated variant
(RA V) with a fraction of read support (FRS) ≥ 0.90 as homogeneous, and samples containing RA Vs at
an FRS < 0.90 as heterogeneous. Mutations with an FRS < 0.90 read support will be described as
minor. Out of the 10,568 samples containing a rifampicin RA V at any level of read support, 10,287 are
homogeneous, 261 are heterogeneous and 20 are mixed, i.e. contain at least two rifampicin RA Vs, one
supported by FRS ≥ 0.90 and another with FRS < 0.90 (Fig. 2A). Examining the distribution of minor
rifampicin RA Vs, we observe that RA Vs are seen at all levels of read support, possibly increasing at
higher values of FRS (Fig. 2B). This indicates that the full range of values should be considered when
assessing the impact of the FRS threshold on the performance of resistance prediction.
The sensitivity increases from 94.3% to 96.4% as the minimum FRS required to call a RA V is decreased
from 0.90 to 0.05; over the same range the specificity falls slightly from 98.1% to 97.9% (Fig. 2C, Table
1). The increase in sensitivity when the FRS is dropped from 0.90 to 0.05 is statistically significant,
whilst the decrease in specificity is not (Fig. 2D). Over the same range the negative predictive value
(NPV) also significantly increases whilst there is no significant change in the positive predictive value
(PPV , Fig. S1, Table 1). Taken together, this indicates that applying a conservative FRS threshold masks
resistant subpopulations, resulting in falsely predicting some samples as susceptible to rifampicin.
Compensatory mutations can identify rifampicin resistance by association with high specificity
Even when a low FRS threshold is set (e.g. 0.05) we still observe false negatives in our genotypic
resistance prediction and this is unlikely to improve much upon further lowering of the FRS threshold
(Fig. 2C). Another cause for false negative calls is low coverage or sequencing errors in genomic regions
associated with resistance, hence it would be useful if there was redundancy when predicting resistance
using genetic features. We have previously identified 51 compensatory mutations (CMs) 19, which are,
by definition, only present in resistant samples. Hence by allowing samples to be predicted as rifampicin-
resistant if they contain either a RA V and/or a CM one might expect to reduce the false negative rate. To
test this, we appended these 51 CMs to the WHO catalogue of RA Vs for rifampicin.
Including CMs reduced the number of false negative calls from 591 to 568 when applying an FRS
threshold of 0.90 to call variants (Table 1), corresponding to a 3.9% decrease. The resulting improvement
in sensitivity is not significant, probably due to the small number of affected samples compared to the
size of the dataset. If we repeat the experiment setting the FRS threshold to 0.05, the number of samples
falsely predicted to be resistant increases from 529 to 663. Most (99%) of these erroneous calls are due to
samples which, despite containing the putative CMrpoC F452L, are not actually resistant. If we exclude
7
.CC-BY 4.0 International licensemade available under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is
The copyright holder for this preprintthis version posted April 9, 2025. ; https://doi.org/10.1101/2025.04.09.647945doi: bioRxiv preprint
sensitivity
specificity
%
FRS ≥ 0.90
FRS ≥ 0.05
10,287 (97.3%) samples have ≥1 RIF RAV at FRS ≥ 0.9
261 (2.5%) samples have ≥1 RIF RAV at FRS < 0.9
20 (0.2%) samples with ≥1 RIF RAV at FRS < 0.9 and ≥1 RIF RAV at FRS ≥ 0.9
0.2 0.4 0.6 0.8 1.0
minimum fraction of reads (FRS) required to call a RAV
C
D
A B
Figure 2: Lowering the fraction of read support (FRS) threshold for calling rifampicin (RIF)
resistance-associated variants (RA Vs) increases sensitivity with no significant effect on specificity.
(A) The majority of samples containing a RA V are homogeneous, meaning they show a RIF RA V at≥
0.90 FRS. The heterogeneous samples make up for 2.5% of samples, but we rarely see samples with both
a RA V at≥ 0.90 FRS and a RA V with lower read support. (B) The distribution of FRS for the RA Vs
in the 258 heterogeneous samples with 0 .05 ≤ FRS < 0.9. (C) Decreasing the FRS threshold required
to support a variant call that is a known RA V increases sensitivity of the prediction with little effect on
specificity. The slopes of a linear regression for sensitivity and specificity are -0.02 and 0.002, respec-
tively. (D) Sensitivity is significantly improved if the FRS threshold is lowered from 0.90 to 0.05 (z-test,
p-value = 8e-13). There is no significant change in specificity.
8
.CC-BY 4.0 International licensemade available under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is
The copyright holder for this preprintthis version posted April 9, 2025. ; https://doi.org/10.1101/2025.04.09.647945doi: bioRxiv preprint
RA Vs CMs rpoC F452L FRS min TP FP TN FN sen spec PPV NPV
D D 0.90 9819 488 24640 591 94.3% 98.1% 95.3% 97.7%
D D 0.05 10036 529 24599 374 96.4% 97.9% 95.0% 98.5%
D D D 0.90 9842 490 24638 568 94.5% 98.0% 95.3% 97.7%
D D D 0.05 10047 663 24465 363 96.5% 97.4% 93.8% 98.5%
D D 0.05 10047 531 24597 363 96.5% 97.9% 95.0% 98.5%
D D 0.05 4452 225 24903 5958 42.8% 99.1% 95.2% 80.7%
Table 1: Fraction of read support (FRS) and corresponding contingency table values and performance
metrics for different scenarios of the catalogue-based predictions for rifampicin resistance. Scenarios are
shown for different FRS thresholds, and are either using RA Vs and/or CMs for prediction or not. In one
scenario, the CM rpoC F452L was removed from the analysis. ”sen” shows sensitivity and ”spec” the
specificity of the resistance prediction.
this CM post hoc, the specificity does not decrease when allowing CMs to predict resistance at low FRS
(Table 1).
One could, of course, use exclusively CMs to predict rifampicin resistance. However, as one might
expect, only a moderate sensitivity is achieved (42.8%, Table 1), since merely a fraction of resistant sam-
ples exhibit compensation. Interestingly, the specificity of predicting resistance is higher (99.1%) than
when simply applying the WHOv2 catalogue of mutations (Table 1). This suggests that one could use
CMs to predict rifampicin resistance in the absence of a RA V , which may be particularly useful when
dealing with samples with low coverage. The combined effect of lowering the FRS threshold to 0.05 and
permitting CMs to predict resistance is a reduction of false negative calls by 38.6%. Hence more than
a third of the resistant samples incorrectly classified as susceptible are hereby explained and corrected
(Table 1), a handy improvement.
Heterogeneous resistant samples are less likely to show compensation
We hypothesised that resistant heterogeneous samples are less likely to have had the time to evolve a
compensatory mutation. The proportion of heterogeneous samples with a compensatory mutation is
indeed significantly less than the fraction of homogeneous samples which are compensated (43.5% v
34.2%, Fishers exact p-value = 3.63e-4, Fig. 3A).
In the compensated heterogeneous samples, the CM FRS and RA V FRS values are correlated (Fig. 3B,
p = 1.69e-22). This is consistent with these samples being composed of a susceptible strain and a ri-
fampicin resistant strain that has acquired a compensatory mutation. The reduced rate of compensation
in heterogeneous samples suggests that the resistant subpopulations have, on average, evolved resistance
more recently than homogeneous resistant samples.
9
.CC-BY 4.0 International licensemade available under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is
The copyright holder for this preprintthis version posted April 9, 2025. ; https://doi.org/10.1101/2025.04.09.647945doi: bioRxiv preprint
A B
Figure 3: Heterogeneous resistant samples are less likely to also have a compensatory mutation
(CM) than homogeneous resistant samples. (A) Percentage of samples showing CMs at any FRS in
homogeneous vs heterogeneous resistant samples (Fishers exact p-value = 3.63e-4). (B) For the hetero-
geneous samples that are compensated, this plot shows the significant correlation between the FRS of the
respective resistance and compensatory mutation (p = 1.69e-22). The grey line indicates the hypothetical
line of perfect correlation.
Over a third of heterogeneous resistant samples are the result of secondary infections
We can gain some insight into the source of resistance by examining the genetic diversity in the hetero-
geneous samples. If the resistant subpopulation arose by within-host evolution (Fig. 1A), one would
expect to see relatively few, if any, other minor mutations in the sample, given the low mutation rate
of M. tuberculosis. A similar logic applies when a sample is taken midway through reversion of resis-
tance following cessation of treatment (Fig. 1B); again relatively few other minor mutations would be
expected. If the patient has been infected more than once (Fig. 1C), the sample will probably contain
different strains and therefore we would expect a much greater number of minor mutations. This will not
necessarily always be true: if the co-infecting strain is part of the same outbreak, the number of minor
mutations will again be small. Only when the number of minor mutations is high, e.g. if the sample
contains multiple (sub)lineages, can we draw a definite conclusion since in this case secondary infection
is the only viable scenario.
To investigate this, we measured the number of minor alleles in all 248 heterogeneous resistant samples
with a singular minor RA V . The latter condition is required to ensure that only a single resistant subpop-
ulation is present. The resulting distribution is very broad; some samples have no or relatively few minor
mutations, whilst others have several thousand (Fig. 4A).
10
.CC-BY 4.0 International licensemade available under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is
The copyright holder for this preprintthis version posted April 9, 2025. ; https://doi.org/10.1101/2025.04.09.647945doi: bioRxiv preprint
A B
Number of mutations with FRS < 0.9 Number of mutations with FRS < 0.9
Figure 4: Quantifying genetic diversity within heterogeneous resistant samples using the amount
of minor mutations detected. (A) Genetic diversity within the heterogeneous samples with resistant
subpopulations, as measured by the amount of minor mutations per sample. Minor mutations are all
variants in these samples which display an FRS below 0.90. (B) Same as in A, but the data is divided
into three different batches based on the sample mixture type assigned by mykrobe (v0.12.1): A single
lineage, multiple sublineages or multiple lineages per sample.
Mapping the mixture type identified by mykrobe (single, multiple sublineages, or multiple lineages per
sample) onto the distribution neatly segregates the data into three partially overlapping subgroups (Fig.
4B). The first is the 163 samples which, according to mykrobe, have one and only one lineage (la-
belled ‘single’ in Fig. 4B). The remaining 85 samples (34 %) are assessed as either containing multiple
sublineages belonging to the same lineage, or different lineages. These are labelled ‘sublineages‘ and
‘lineages‘, respectively, on Fig. 4B. The only plausible explanation for the latter two cases is if the pa-
tient picked up a secondary infection and we therefore infer that at least 34 % of heterogeneous resistant
samples in our dataset arose through secondary infection. Interestingly, there is also a significant associ-
ation between a heterogeneous resistant sample having a compensatory mutation and having more than
one (sub)lineage (Fishers exact p-value = 2.38e-04).
Within the heterogeneous samples which contain multiple M. tuberculosis lineages, we can clearly see
two different clusters (Fig. 4B). When evaluating the mix of lineages contained in these samples, we
found that samples with a greater number of minor mutations are likely to contain Lineage 1, one of the
ancient strains of M. tuberculosis. The modern lineages (Lineages 2-4) are more similar to the reference
strain (H37Rv, Lineage 4) from which mutations are defined. Accordingly, the cluster with only modern
lineages shows on average 358 minor mutations per sample fewer than the samples containing Lineage
1 (Fig. S2).
11
.CC-BY 4.0 International licensemade available under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is
The copyright holder for this preprintthis version posted April 9, 2025. ; https://doi.org/10.1101/2025.04.09.647945doi: bioRxiv preprint
Discussion
We have demonstrated that it is important to consider within-host diversity when predicting drug re-
sistance in M. tuberculosis using whole genome sequencing. Lowering the minimum fraction of read
support (FRS) required to call a resistance-associated variant (RA V) from 0.90 to 0.05 significantly
improves the sensitivity of genotypic resistance classification by +2.1% to 96.4%, with no detectable
effect on specificity. A higher sensitivity improves any treatment decisions and leads to more effective
surveillance. Importantly, it also takes rifampicin prediction on this dataset above the required minimum
threshold of 95% in both sensitivity and specificity to pass the ISO standard for antimicrobial suscepti-
bility test devices. 9 It would therefore seem sensible for genetic workflows that process M. tuberculosis
samples to identify and call rifampicin RA Vs present in a minority, as well as a majority, of reads in the
rpoB gene.
Allowing the presence of high-confidence compensatory mutations (CMs) in the RNA polymerase to
also identify rifampicin resistance by association would also seem a trivial way to boost sensitivity. The
improvement in sensitivity on this dataset was not significant, probably due to the moderate read depth
ensuring there were relatively few resistant samples with a compensatory mutation where the resistance
mutations could not be resolved but the CMs could. In scenarios with much lower read depth (for
example in multiplexed samples) allowing compensatory mutations to predict rifampicin resistance could
provide a necessary boost to the specificity. In future work we will investigate the read depths at which
it becomes beneficial to consider CMs for calling rifampicin resistance by randomly down-sampling
sequencing reads.
As noted above, it is vital that any list of compensatory mutations is accurate if they are to be used to
infer resistance. 19 The mutation rpoC F452L appears to not be resistance-associated when present at
lower FRS, which could either be an error or point to an inverse causal relationship between this CM and
the presence of RA Vs. This raises the question of whether F452L should be considered a CM or rather
provides an advantageous genetic background for the acquisition of rifampicin resistance, by raising
fitness prior to resistance emergence. Whilst speculation, this is supported by the observation that rpoC
F452L was shown to stabilise the open promoter complex and increase the elongation rate of the M.
tuberculosis RNA polymerase not only in the resistant rpoB S450L mutant, but also in the wild type.27
Overall, reducing the minimum FRS threshold to 0.05 and permitting the presence of CMs to predict
rifampicin resistance raises sensitivity to 96.5%. The remaining discordance can likely be explained by
several factors: there may be additional, unknown rare resistance mutations in the RNA polymerase that
have not been classified as such by the second edition of the WHO resistance catalogue. Tackling this
problem is non-trivial but could involve the use of machine learning models trained to predict the effect
of individual rpoB mutations.28 There are also almost certainly errors in the laboratory processes, such
12
.CC-BY 4.0 International licensemade available under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is
The copyright holder for this preprintthis version posted April 9, 2025. ; https://doi.org/10.1101/2025.04.09.647945doi: bioRxiv preprint
as mislabelling or measurement error, that we can minimise but not eradicate.
We can also gain insight into the timing and origin of rifampicin resistance by examining those samples
with resistant subpopulations. The significantly lower prevalence of compensation in heterogeneous
samples suggests that resistance emerged more recently, on average, than in homogeneous samples.
Furthermore the number of other putative minor mutations in the heterogeneous samples hints at the
probable sources of resistance. Our data are consistent with secondary infection, as opposed to within-
host evolution, being the root cause of rifampicin resistance in at least 34% of the heterogeneous samples.
The striking level of genetic diversity detected within these samples is only achievable if the patient was
subject to a secondary infection, which likely introduced the resistant subpopulation. The significant
association of CMs with samples containing multiple (sub)lineages indicates these samples are also more
likely to be compensated. This is consistent with the secondary infection scenario, since the infecting
strain could already have been compensated before being transmitted.
Stepping back, is not surprising that our dataset of M. tuberculosis samples contains genetically hetero-
geneous samples due to how clinical samples are grown and colonies extracted. For example, aliquots
taken from positive MGIT tubes will contain multiple ‘crumbs‘ and therefore contain multiple colonies.
This is in sharp contrast to laboratory practices for other pathogens where single colony picks from solid
media are commonplace. One should therefore, perhaps, consider Mycobacterial genetic sequencing as
inherently metagenomic.
In conclusion, this study has shown how to improve the sensitivity of WGS-based rifampicin resis-
tance prediction by including subpopulations, compensatory mutations, and population diversity. It also
provides useful insights into how resistance emerges clinically. Overall, these findings will facilitate
improved diagnostic strategies and more effective management of drug-resistant tuberculosis.
13
.CC-BY 4.0 International licensemade available under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is
The copyright holder for this preprintthis version posted April 9, 2025. ; https://doi.org/10.1101/2025.04.09.647945doi: bioRxiv preprint
Acknowledgements
We would like to thank Tim Peto, Nicole Stoesser and David Eyre for helpful suggestions.
Funding
This work was supported by the National Institute for Health Research (NIHR) Health Protection Re-
search Unit (HPRU) in Healthcare Associated Infections and Antimicrobial Resistance at Oxford Uni-
versity in partnership with UK Health Security Agency (NIHR200915), the National Institute for Health
Research (NIHR) Oxford Biomedical Research Centre (BRC) and the Ellison Institute of Technology,
Oxford Ltd. VMB is supported by the Biotechnology and Biological Sciences Research Council (grant
number BB/T008784/1). For the purpose of open access, the author has applied a CC BY public copy-
right licence to any Author Accepted Manuscript version arising from this submission. The findings and
Conclusions
in this report are solely the responsibility of the authors and do not necessarily represent the
official views of the NHS, the NIHR, UKHSA, the Department of Health and Social Care or the Ellison
Institute of Technology, Oxford Ltd.
Transparency declaration
PWF receives consultancy fees from the Ellison Institute of Technology, Oxford Ltd.
14
.CC-BY 4.0 International licensemade available under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is
The copyright holder for this preprintthis version posted April 9, 2025. ; https://doi.org/10.1101/2025.04.09.647945doi: bioRxiv preprint
References
[1] World Health Organisation (2024) Global tuberculosis report. ISBN: 978-92-4-010153-1.
[2] S. Bagcchi (2023) WHO’s Global Tuberculosis Report 2022,The Lancet Microbe4:e20. Publisher:
Elsevier.
[3] World Health Organisation (2018) Technical manual for drug susceptibility testing of medicines
used in the treatment of tuberculosis. ISBN: 978-92-4-151484-2.
[4] R. Ghodbane, D. Raoult, and M. Drancourt (2014) Dramatic reduction of culture time of Mycobac-
terium tuberculosis, Scientific Reports 4:4236.
[5] L. J. Pankhurst, C. del Ojo Elias, A. A. V otintseva, et al. (2016) Rapid, comprehensive, and afford-
able mycobacterial diagnosis with whole-genome sequencing: a prospective study, Lancet Resp
Med 4:49–58.
[6] D. Hillemann, S. R ¨usch-Gerdes, and E. Richter (2007) Evaluation of the GenoType MTBDRplus
assay for rifampin and isoniazid susceptibility testing of Mycobacterium tuberculosis strains and
clinical specimens, Journal of Clinical Microbiology 45:2635–2640.
[7] D. Papaventsis, N. Casali, I. Kontsevaya, et al. (2017) Whole genome sequencing of Mycobac-
terium tuberculosis for detection of drug resistance: a systematic review, Clinical Microbiology
and Infection 23:61–68.
[8] C. J. Meehan, G. A. Goig, T. A. Kohl, et al. (2019) Whole genome sequencing of Mycobacterium
tuberculosis: current standards and open issues, Nature Reviews Microbiology 17:533–545.
[9] International Organization for Standardization (2021). ISO 20776-2: Clinical laboratory testing
and in vitro diagnostic test systems - Susceptibility testing of infectious agents and evaluation of
performance of antimicrobial susceptibility test devices.
[10] C. J. Worby, M. Lipsitch, and W. P. Hanage (2014) Within-Host Bacterial Diversity Hinders Accu-
rate Reconstruction of Transmission Networks from Genomic Distance Data,PLOS Computational
Biology 10:e1003549.
[11] K. Faksri, O. Kaewprasert, R. T.-H. Ong, et al. (2019) Comparisons of whole-genome sequencing
and phenotypic drug susceptibility testing for Mycobacterium tuberculosis causing MDR-TB and
15
.CC-BY 4.0 International licensemade available under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is
The copyright holder for this preprintthis version posted April 9, 2025. ; https://doi.org/10.1101/2025.04.09.647945doi: bioRxiv preprint
XDR-TB in Thailand, International Journal of Antimicrobial Agents 54:109–116.
[12] A. E. Brankin and P. W. Fowler (2023) Inclusion of minor alleles improves catalogue-based predic-
tion of fluoroquinolone resistance in Mycobacterium tuberculosis, JAC-Antimicrobial Resistance
5:dlad039.
[13] A. A. V otintseva, L. J. Pankhurst, L. W. Anson, et al. (2015) Mycobacterial DNA extraction for
whole-genome sequencing from early positive liquid (MGIT) cultures, J Clin Microbiol 53:1137–
1143.
[14] World Health Organization (2021) Catalogue of mutations in Mycobacterium tuberculosis complex
and their association with drug resistance, 1st edition. ISBN: 978-92-4-002817-3.
[15] The CRyPTIC Consortium (2022) A data compendium associating the genomes of 12,289 My-
cobacterium tuberculosis isolates with quantitative resistance phenotypes to 13 antibiotics, PLOS
Biology 20:e3001721.
[16] G. Brandis, M. Wrande, L. Liljas, et al. (2012) Fitness-compensatory mutations in rifampicin-
resistant RNA polymerase, Molecular Microbiology 85:142–151.
[17] A. K. Alame Emane, X. Guo, H. E. Takiff, et al. (2021) Drug resistance, fitness and compensatory
mutations in Mycobacterium tuberculosis, Tuberculosis 129:102091.
[18] T. Song, Y . Park, I. C. Shamputa, et al. (2014) Fitness costs of rifampicin resistance in mycobac-
terium tuberculosis are amplified under conditions of nutrient starvation and compensated by mu-
tation in the β ′ subunit of RNA polymerase, Molecular Microbiology 91:1106–1119.
[19] V . M. Brunner and P. W. Fowler (2024) Compensatory mutations are associated with increased
in vitro growth in resistant clinical samples of Mycobacterium tuberculosis, Microbial Genomics
10:001187.
[20] World Health Organization (2023) Catalogue of mutations in Mycobacterium tuberculosis complex
and their association with drug resistance, 2nd edition. ISBN: 978-92-4-008241-0.
[21] The CRyPTIC Consortium (2022) Epidemiological cutoff values for a 96-well broth microdilution
plate for high-throughput research antibiotic susceptibility testing of M. tuberculosis, Eur Respir J
60:2200239.
16
.CC-BY 4.0 International licensemade available under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is
The copyright holder for this preprintthis version posted April 9, 2025. ; https://doi.org/10.1101/2025.04.09.647945doi: bioRxiv preprint
[22] T. M. Walker, P. Miotto, C. U. K ¨oser, et al. (2022) The 2021 WHO catalogue of Mycobacterium
tuberculosis complex mutations associated with drug resistance: a genotypic analysis, The Lancet
Microbe 3:e265–e273.
[23] J. Westhead, C. S. Baker, M. Brouard, et al. (2024). Enhancement and validation of the antibiotic
resistance prediction performance of a cloud-based genetics processing platform for Mycobacteria.
bioRxiv preprint. doi:10.1101/2024.11.08.622466.
[24] M. Hunt, B. Letcher, K. M. Malone, et al. (2022) Minos: variant adjudication and joint genotyping
of cohorts of bacterial genomes, Genome Biology 23:147.
[25] J. Westhead and P. W. Fowler (2023). gnomonicus. https://github.com/oxfordmmm/gnomonicus
HTT you.
[26] V . Brunner and P. W. Fowler. Accompanying code to reproduce analysis and figures.
https://github.com/fowler-lab/tuberculosis-rnap-subpopulations.
[27] M. A. Stefan, F. S. Ugur, and G. A. Garcia (2018) Source of the Fitness Defect in Rifamycin-
Resistant Mycobacterium tuberculosis RNA Polymerase and the Mechanism of Compensation by
Mutations in the β ′ Subunit, Antimicrobial Agents and Chemotherapy 62:e00164.
[28] C. I. Lynch, D. Adlard, and P. W. Fowler (2025) Predicting rifampicin resistance in M. tuberculosis
using machine learning informed by protein structural and chemical features, ERJ Open Research
doi:10.1183/23120541.00952-2024.
17
.CC-BY 4.0 International licensemade available under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is
The copyright holder for this preprintthis version posted April 9, 2025. ; https://doi.org/10.1101/2025.04.09.647945doi: bioRxiv preprint
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.