Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

# Genome-wide mutational biases fuel transcriptional diversity in the Mycobacterium tuberculosis complex

## Abstract

The Mycobacterium tuberculosis complex (MTBC) members display different host-specificities and virulence phenotypes. Here, we have performed a comprehensive RNAseq and methylome analysis of the main clades of the MTBC and discovered unique transcriptional profiles. The majority of genes differentially expressed between the clades encode proteins involved in host interaction and metabolic functions. A significant fraction of changes in gene expression can be explained by positive selection on single mutations that either create or disrupt transcriptional start sites (TSS). Furthermore, we show that clinical strains have different methyltransferases inactivated and thus different methylation patterns. Under the tested conditions, differential methylation has a minor direct role on transcriptomic differences between strains. However, disruption of a methyltransferase in one clinical strain revealed important expression differences suggesting indirect mechanisms of expression regulation. Our study demonstrates that variation in transcriptional profiles are mainly due to TSS mutations and have likely evolved due to differences in host characteristics.

## Introduction

In non-recombining bacteria, where mutation supplies most of the genetic variation, selective and non-selective processes can have a large impact on functional diversification1. Some of these functional differences can translate to phenotypic characteristics. This is the case for the Mycobacterium tuberculosis complex (MTBC), which despite its extremely low diversity, displays important biological differences between strains and phylogenetic lineages. For example, there are multiple examples of the association of MTBC lineages with specific populations2,3 and in some settings this association could be linked to differential transmission efficacy depending on the host population4,5. Apart from transmission, the progression from latent infection to active disease differs among the different MTBC members6. Strains can also differ in other characteristics as for example growth rates in different in-vitro and in-vivo conditions, elicitation of immune responses or pathology in infection models7. Some of these phenotypic characteristics seem to depend on transcriptional differences8,9, as illustrated by the gene expression differences reported in MTBC strains grown in-vitro and in-cellula10,11.

Studies on a limited set of reference strains show that transcriptional differences in the MTBC can be mediated by differential action of transcriptional factors12, methylation patterns13 or expression of non-coding RNAs14,15,16. For some cases, the genetic bases of the expression differences are known. We have previously shown that MTBC regulatory networks vary across strains and lineages, with several transcription factors carrying mutations that potentially impair regulatory function17. In addition, major expression changes can be linked to sequence variants that affect coding regions of a signalling cascade18 or create new transcriptional start sites (TSS)19, especially if they affect regulatory hubs. Some of these new TSS have been previously reported to be favoured by a genome-wide mutational bias in the MTBC towards AT genetic changes20,21. However, the link between individual variants, underlying population processes and phylogeny-wide transcriptional diversity is still missing.

To date, gene expression studies (mainly based on microarray technology and some on RNA-seq data) have only been focused on single strains, a reduced set of phylogenetic groups or compared to distant mycobacteria11,19,21. Therefore, transcriptomic studies using sequence-based technologies and that take into account the whole MTBC genomic diversity are lacking. In this work, we have used RNA-seq data to study the transcriptomic signatures of different MTBC members, and identified differentially expressed genes using a novel phylogeny-based approach. In addition, we have revisited the mutational biases observed in MTBC populations and quantified the direct impact of individual genetic changes on transcriptional patterns. We have extended our analyses to include the impact of individual variants in methylation patterns and assessed their role in the regulation of in-vitro gene expression. Thus we provide quantitative evidence for the hypothesis19,21, that the universal genome-wide mutational bias on MTBC leads to phenotypic plasticity at the transcriptome level.

## Results

### Samples, culture and DNA/RNA extraction

We selected 19 strains from clinical samples which are representative of the MTBC global diversity (Supplementary Fig. 1). Each bacterial lineage (L1-6) is represented by at least 3 strains. Two replicates per strain were grown in standard 7H9 medium with the addition of 30 mM pyruvate to account for strains with potential pyruvate kinase mutations (Supplementary Data 1). Cells were harvested for DNA and RNA extraction at an OD600 between 0.5 and 0.7.

The RNA extracted was sequenced on an Illumina HiSeq 2500 platform, and analysed using a custom analysis pipeline (see Methods for details). From the DNA extracted, long-read sequencing was performed on the PacBio RSII platform. In addition to transcriptome and long-read sequencing, short-read sequences for the selected strains were obtained from a previous publication22 (see Data availability statement, Supplementary Data 2).

### Global transcriptomic patterns

As a control, we first checked the agreement between sample replicates. We calculated the pairwise Pearson correlation between each pair of replicates. An almost perfect correlation (range 0.9996–0.9999) was achieved between each pair of replicates derived from the same strain. For subsequent analyses, the coverage data from the two biological replicates of each sample was merged.

Next, we surveyed the transcriptomic profile of the whole MTBC. A principal component analysis (PCA) was performed with the gene expression profiles of all the samples. Samples belonging to the same phylogenetic lineage grouped closely in the PCA (Fig. 1a). M. africanum (MAF, L5 and L6) and M. tuberculosis (L1-4) samples split along the first component (31% of the variance), thereby grouping according to their phylogenetic clade. Strains belonging to L1 were found between the MAF group and the modern lineages (L2, L3 and L4). As a further step, we performed an unsupervised hierarchical clustering (Euclidean distance, clustering method complete). The results agreed with the observations derived from the PCA, with the samples clustering according to their phylogenetic relationships (Fig. 1b). Furthermore, the intra-lineage genome-wide expression distance between samples is lower than the inter-lineage distances (Supplementary Fig. 2), supporting the idea that samples from the same lineage have a profile more similar to each other than with samples from other lineages. However, there were two exceptions. N0031 is part of L2 but its transcriptomic signature was different from other L2 strains. It has been previously reported that N0031 belongs to a rare, basal branch of L2 with a different transcriptomic profile than the more common, globally distributed L2 Beijing strains. The main difference between those clades is the overexpression of the dosR regulon in the L2 Beijing strains with respect to the rest of the complex including N003119. On the other hand, N1177 belongs to L6 but it clustered with L5 samples. After the initial analysis, we realised that N1177 harbours a mutation in the rpoB gene (D435Y) that confers resistance to rifampicin. As mutations affecting the RNA-polymerase could have pleiotropic effects23,24,25,26 it is not surprising that N1177 does not cluster together with the other L6 strains. Therefore, for subsequent analyses we removed N1177 as it may not be representative of the common L6 transcriptional profile.

As the RNA-seq profiles were congruent with the topology of the MTBC phylogeny, we investigated whether the number of differentially expressed genes between different clades was related to the genetic distance between them. We performed a Phylogenetically aware Differentially Expressed Genes (PDEG) analysis (see Methods for details) to infer the number of differentially expressed genes on each of the main branches of the phylogeny (Supplementary Data 3 and Supplementary Data 4). The results were highly variable, with a maximum of 42 PDEG genes in the branch leading to L6 and a minimum of 7 in the common branch of the modern lineages (Fig. 2a). We observed a reasonable trend in the data with the number of PDEG genes varying accordingly to the genetic distance between groups (Pearson’s correlation value 0.57, p-value = 0.04, Fig. 2b). This suggests that the differences in the transcriptomic profiles between each group were accumulated gradually as the MTBC lineages diverged. However, there were two branches that break slightly away from this trend. The split between M. tuberculosis and the two M. africanum lineages was defined by a short genetic distance but a high number of PDEG genes. In contrast, in the branch leading to the modern lineages we found the opposite situation. A complete list of the PDEG genes detected in each of the main branches can be found in Supplementary Data 4.

### Differential expression between phylogenetic clades

We performed an enrichment analysis of Gene Ontology functions for the up-PDEG and down-PDEG genes for each of the branches analysed above. This analysis highlights the relative abundance of specific biological functions in a set of genes in comparison to the rest of the genome. Diverse biological functions appeared as upregulated and downregulated in each of the branches (Supplementary Data 5). Strikingly, most of them are related to host-pathogen interactions and key virulence metabolic processes. For example, the deepest phylogenetic split in the MTBC phylogeny is between MAF and MTB (Fig. 2a). 18 genes were significantly upregulated and 9 were significantly downregulated between both groups (BH adjusted p-value < 0.05, fold-change >1.5). Almost all of the mbt operon genes are upregulated in the MTB clade (mbtI, mbtC, mbtH, mbtE, mbtG, mbtD, mbtB and mbtF). These genes code for the siderophore (mycobactin) system that is necessary for iron acquisition in iron-limited environments (i.e., macrophages)27. Genes ctpG and ctpC, that are involved in metal cation transport28 also showed increased expression. Even though the mbtJ gene was not upregulated, its antisense transcript was highly overexpressed in MTB suggesting a differential regulation between MAF and MTB.

Although the MAF lineages 5 and 6 are geographically and genetically related, different studies have shown that there are phenotypic and genetic differences between both clades29,30, and there is a high genetic distance between both lineages (Fig. 2a). Consequently, many PDEG genes appeared on deep branches that lead to extant strains in both groups. Toxin-antitoxin systems have been proposed to play a role in response to stress. Specifically, VapBC3 and VapBC5 are upregulated in the presence of moderately low pH conditions (i.e., the phagosome)31. In L6, we found that both these systems were upregulated. We also found upregulated genes related to the copper ion response (lpqS, Rv0967, Rv2642 and Rv2963) in this lineage. On the other hand, a number of important genes involved in parasitic functions such as virulence, persistence and macrophage infection were downregulated in L5 (Supplementary Data 5).

L1 is in between the so-called modern lineages (L2-L4) and the phylogenetically basal Mycobacterium africanum lineages (L5-L6). One of the most upregulated genes in the L1 clade is virS, which encodes a transcriptional regulator essential for the transcription of the virulence-related mymA operon under acidic conditions32.

Regarding each of the single modern lineages, the L4 branch had only 4 genes upregulated. Amongst them, Rv2159 and Rv2160A form part of an operon previously identified as being overexpressed in the M. tuberculosis H37Rv strain compared to M. bovis strains due to the loss of a transcriptional repressor33. In contrast, some of the genes involved in molybdopterin cofactor biosynthesis (moaC and moaX)34 were downregulated in this branch, as well as part of the genes of the virulence-related mce2 operon (mce2C, mce2D, lprL and mce2F).

In the branch leading to L3, 11 genes were upregulated while 6 were repressed. Surprisingly, the most upregulated gene in L3 strains was oxyR. This gene is involved in detoxification of ROS, contributing to the survival of the bacterium in the host, and also related to isoniazid resistance35,36. It has been previously reported that oxyR is inactivated in H37Rv, BCG, M. africanum and M. microtti due to several deletions that affect its translation35. Intriguingly, we have found that in L3, this gene had a 3-fold increase in expression compared to L2. The ahpC and ahpD loci upstream of oxyR were also overexpressed in L3 strains.

For L2, we have studied 4 representative strains. N0031 which belongs to a basal branch of this lineage and N0052, N0145 and N0155 which belong to the Beijing clade. As we noted in the global transcriptomic analysis, the N0031 transcriptomic profile was markedly different to those of the Beijing group. The DosR/DosS system was overexpressed in Beijing strains as previously reported19, as well as the genes regulated by them. The DosR regulon is related to virulence and response to hypoxia37. In contrast, plcD, a gene related with extrathoracic progression of the disease and pathogenesis38, was strongly repressed (log2 fold-change = −7.7).

### Mutation and selection lead to transcriptional plasticity

Next we aimed to link specific transcriptional changes to genetic variants and to underlying mutational biases. It has been previously reported that mutations can create new Pribnow boxes (TANNNT motifs) that are recognised by sigma factor A, SigA, and lead to the overexpression of downstream genes19,21,39. To test the influence of such mutations, we scanned all the single nucleotide variants across the 19 samples that either create or disrupt TANNNT motifs. We found 603 variants that created new Pribnow boxes in at least one strain and 81 that disrupted existing boxes (Supplementary Data 6). We investigated whether the observed impact on the Pribnow boxes resulted from stochastic mechanisms (i.e., genetic drift) or from non-random processes (i.e., selection). By comparing the number of expected versus observed occurrences (see Methods), we have obtained a probability of 0.006 for the observed number of disrupted boxes by chance and a probability of 2.5E−54 for the observed number of new boxes by random processes. So, it seems that non-random processes are acting to modulate the number of Pribnow boxes in the MTBC.

To test if selection is behind the observed number of boxes, we randomly introduced all the genomic mutations observed in the 19 strains and repeated the process 1000 times (Fig. 3a). We obtained a probability of 0 (z-score = 15.59) for having at least the same number of observed new boxes (n = 683) and a probability of 0.015 (z-score = 2.24) of having at least the same number of disrupted boxes (n = 81). Hence, it is unlikely that stochastic processes have been responsible for the observed occurrence of Pribnow boxes across the MTBC phylogeny. In addition, when we repeated this permutation test for other sigma factors’ −10 consensus sequences such as SigE (cGTT), SigG (CGANCA) and SigJ (CGTCCT)40, we observe the opposite pattern (Supplementary Fig. 3, Supplementary Notes). Our observations support the hypothesis that new SigA boxes are maintained by selection and not genetic drift.

We also noted that there was a remarkable difference between the number of new versus disrupted Pribnow boxes (ratio = 7.88). To get insights into the mechanism behind this figure, we randomly reordered all the mutations observed in our dataset by maintaining the alternative alleles but reshuffling the genomic positions. After that, we searched for new/disrupted Pribnow boxes in these ‘reordered’ mutations. A Fisher-exact test showed that there was no difference between real and reordered mutations in terms of new/disrupted boxes ratio (p-value = 0.39). Thus, the higher ratio observed between both type41 of events is independent of the genomic context in which the new allele appears. It seems that these differences are caused by the type of substitution (TA alternative alleles could create TANNNT motifs, while mutation of wild-type TA bases disrupts them). It is known that there is a bias towards TA substitutions in bacteria, even in the case of GC-rich genomes such as the MTBC case20. Hence, this could be the cause of the notable difference between new acquisition and loss of TANNNT motifs. We next used a global dataset of MTBC clinical samples (n = 4595)41, to check the alternative alleles derived from single nucleotide mutations and we observed that this pattern was also present across the MTBC (Fig. 3b). Thus, the mutational signature of the MTBC facilitates the appearance of new Pribnow boxes which, ultimately, supplies the bacteria with a higher transcriptional plasticity.

Finally, we looked for the potential impact on gene expression of these new and disrupted Pribnow boxes (Supplementary Data 6). We took into account only those mutations affecting the clades defined previously in the PDEG as the analysis of individual strains could lead to inconsistent results due to the lack of statistical power. First, new Pribnow boxes are overrepresented among upregulated PDEG genes (chi-squared test, p-value = 2.78E−09). Second, when taking into account all genes, not just PDEG, we always observed higher expression of genes with a new Pribnow box due to a mutation compared to the closest relatives without the mutation. Conversely genes losing the Pribnow box because of a mutation have lower expression (Fig. 4a, wilcoxon test, p-value = 5.37−E09). A clear example is the observed overexpression of oxyR in L3 strains, potentially linked to a mutation (G2726105A) that creates a new Pribnow box (Fig. 3c).

Interestingly, 57 genes identified above as PDEG seem to be differentially expressed by means of a new or disrupted Pribnow box (Supplementary Data 6), meaning that ~26% of the transcriptional variability found across the MTBC main clades could be linked to single point mutations. New boxes were able to induce transcription in the sense or antisense direction, depending on the strand in which the mutation appeared (Fig. 4b), creating in some cases a complex regulatory scenario (see Supplementary Notes, Fig. 4c and Supplementary Fig. 4 for examples). To corroborate our results, data for L1 and L2 strains along with H37Rv grown in a different laboratory conditions were obtained from previously published work19. The same pipeline explained in the Methods section was applied to this new dataset. We see the same expression trends in those genes in which we originally linked a higher transcription rate to a lineage mutation generating a new Pribnow box (Supplementary Fig. 5).

### Differential methylation patterns across the MTBC

From our RNA-seq analysis it is clear that there are marked differences in gene expression between the main MTBC groups. Several mechanisms are known to impact gene expression in addition to sequence changes. Recent studies have shown that DNA methylation can have an effect on gene expression in bacteria42. To test the potential transcriptional effect of methylation in the MTBC, we sought to link differential methylation (DM) patterns between samples in our dataset with differences in gene expression. To do this, each sample was sequenced using the PacBio technology and analysed with the SMRT Analysis Software to identify methyltransferase recognition motifs (see Methods for details). Consistent with previous reports, we identified three main methylated motifs (CTCCAG, GATNNNNRTAC and CACGCAG) in almost all the samples43,44,45. The frequency of methylated sequences among these motifs was near 100% in almost all the samples. However, in some of the strains, the motifs were not methylated (frequency of methylated motifs 0%), suggesting that the methyltransferase that recognises this pattern is inactive (Supplementary Data 7).

These motifs have been previously reported to be recognised by three main MTBC methyltransferases MamA (Rv3263), HsdM/HsdS.1/HsdS (Rv2756c/Rv2755/Rv2761) and MamB (Rv2024c)43,44,45.Interestingly, in two cases (N0052 and N0136) we observed that only a fraction of the motifs recognised by MamA were methylated (20% in N0052 and 56% in N0136). The sequences recognised by MamB and HsdM/HsdS.1/HsdS in N0052 and N0091, respectively, were also partially methylated along the genome (~70% of the sequences), suggesting that the activity of those methyltransferases is reduced, but not eliminated.

We wanted to identify the genetic variants that could be responsible for these functional differences. We therefore analysed the methyltransferase coding genes in the strains lacking methylation of one or more of the three motifs. This analysis resulted in the identification of several non-synonymous SNPs that could potentially be involved in the methyltransferase inactivation (or partial inactivation) (Table S7). Some of these variants have already been reported44 while others are novel. Intriguingly, mamA in N0052 carries the same mutation as mamA in N0145 and N0155, although the activity in N0052 was only partially lost, compared to full loss of activity in the latter two, suggesting other genetic variants outside the gene may be having an effect. We expanded our analysis to the bigger dataset reported above (n = 4595) to get a global picture of the methyltransferase conservation degree. Some of these variants located deep in the phylogeny affected complete lineages while others were more recent and affected only a subset of strains (Fig. 5a). For example, of the W136R and G152S mutations that were found in the MamA inactive strains, G152S was found in a subset of L4.3.3 strains and a small clade of L1.1.2 (i.e., it is homoplastic) while W136R affected a subset of L1.2.1 samples. Interestingly, a new mamB variant (D59G) was also found in these strains potentially linked to MamB inactivation. On the other hand, a T393A variant was found to affect hsdM in a subset of lineage 6 strains potentially affecting their methyltransferase activity.

To gain a wider perspective on the main MTBC methyltransferase diversity, we analysed all the variants present in these genes in the larger dataset (Supplementary Data 8). The dN/dS values for mamA (0.75) and mamB (0.76) were slightly higher than the mean dN/dS value for non-essential genes46 (0.66). In contrast, HsdM/HsdS.1/HsdS show a lower accumulation of non-synonymous mutations, with the gene that encode for the specificity unit hsdS (0.76) having a similar value than mamA and mamB, and the genes that encode for the methyltransferase unit hsdM (0.5) and the specificity unit hsdS.1 (0.58) showing a value similar to that of the essential genes46 (0.53). Despite gene-wide conservation of the methyltransferases we observed the accumulation of functional mutations in the form of new stop codons. For example hsdM accumulates 5 stop codons in different parts of the phylogeny suggesting that either the gene is under weak selection (contradicting the low dN/dS observed) or that specific mutations on the gene have been selected during evolution even though we do not observe any impact on expression profiles of unmethylated strains.

### DM impact on transcription is subtle and lineage independent

DM in regulatory regions has been reported as potentially affecting gene expression in H37Rv13. We wanted to check if DM naturally present in our strains could be linked to differential gene expression. To achieve this, we looked for SigA recognition motifs (TANNNT / GNNANNNT21) in gene promoter regions (−50 bp upstream the TSS previously defined39) that overlap with methyltransferase recognition motifs. We managed to identify SigA recognition motifs for 13 genes overlapping with the MamA motif, 22 with the HsdM/HsdS.1/HsdS motif and 2 with the MamB motif (Fig. 5c). To account for differential gene expression due to DM and not for other evolutionary reasons, we compared gene expression values in strains which belonged to the same lineage but in which the specific methylase was either active or inactive. This was the case for MamA in L1 and L2, HsdM/HsdS.1/HsdS in L4 and L6, and MamB in L4 (Table S7).

First, we compared the expression of the 13 genes identified in both situations (MamA activated or inactivated) in L1 and L2 strains. We observed that almost all genes increase their expression values in the methylated strains in both lineages, matching previous observations in H37Rv13 (Fig. 5b). However, we identified some exceptions in which the gene expression behaved differently in each lineage. For example, Rv3727 showed a lower expression in methylated strains (N0072 and N0153) than in the non-methylated strain (N0157) of L1. Rv3727 is regulated by the transcription factor Rv0022c which had an early-stop codon in the N0157 strains17. This type of polymorphism could be the cause of the discordant results. For MamB, we only found 2 genes where SigA and MamB motifs overlapped. Even so, for these two genes we observed the same effect as in MamA DM strains.

However, for HsdM/HsdS.1/HsdS we did not observe this pattern of changes in gene expression. The overlap between SigA recognition motifs and HsdM/HsdS.1/HsdS motifs in the regulatory regions seemed to have no impact on gene expression. In some cases the genes increased their expression in the non-methylated strains while some others behave in the opposite manner. Moreover, this behaviour was not congruent in L4 and L6 as half of the genes showed the same regulatory response in both lineages while the other half behaved differently in each lineage. In summary, MamB and MamA methylation over SigA motifs seems to cause a similar effect independently of the strain genetic background while HsdM/HsdS.1/HsdS seems to have no effect.

In addition, we searched for other sigma factors that could potentially have an overlap between their recognition motifs and methyltransferase recognition motifs. We found that the SigB recognition motif (NNGNNG)47 could overlap and we applied the same analysis as for TANNNT. However, DM seemed to have no effect on promoter regions having NNGNNG motifs. It is known that SigB plays a role during stress response48 but it is dispensable for growth. As the RNA-seq samples were collected during exponential growth (applying no stress), DM over SigB influenced genes could show little or no differential expression.

### A different mechanism for HsdM gene expression regulation

While minor effects on gene expression were found linked to MamA and MamB (Fig. 5b) we were surprised that no effect could be linked to HsdM, particularly as HsdM is the one that has accumulated more stop codons during the evolution of the MTBC (Supplementary Data 8). This suggests that it is either under weak selection, randomly accumulating inactivating mutations, or that it has a functional role and specific mutations in HsdM have been selected in different parts of the MTBC phylogeny. To discriminate between these two possibilities we mimicked a stop codon mutant for HsDM by deleting the hsdM gene in a N1283 background (L4). Compared to the other two L4 strains in the transcriptome dataset HsDM is fully functional in N1283 (Table S7) which allow us to compare it to transcriptomic profiles of unmethylated MTBC strains.

We then performed a transcriptomic analysis comparing the ΔhsdM strain and the wild-type. An initial analysis showed differences between the strains, as the transcriptomes split into two groups in a PCA analysis (Fig. 6a). In the DE analysis, we observed that these differences were mainly driven by a small number of genes (BH adj-pvalue < 0.05 and log2 fold-change >1, Supplementary Data 9, Fig. 6b). In N1283-ΔhsdM, several genes were increased in expression in comparison with the wild-type. First, hsdS.1 expression was increased in the mutant, suggesting that its regulation is linked to hsdM (which is found upstream in the H37Rv genomic context). In addition, a set of 7 consecutive genes (Rv0081−Rv0087), potentially forming an operon, were found to have increased expression. Interestingly, Rv0081 is a transcriptional hub involved in the regulation of multiple genes12,17,49, including the hyc-family genes, which have homology to the so-called EHR (energy-converting hydrogenases related) complexes. Evolutionarily, EHR proteins stand between complex 1 and NiFe-hydrogenases50 and their functions have yet to be determined. The EHR complex of the MTBC is with high certainty not a functional hydrogenase, because M. tuberculosis lacks the cluster of assembly genes needed to mature NiFe centres and insert them into the protein51. In contrast, Rv1813c, Rv0080, Rv3131 (all hypothetical proteins) were decreased in expression in the mutant, as well as ctpJ. Thus, HsdM methylation has an effect on gene expression, but the mechanism seems to be different to that of MamA and MamB, as the genes reported above did not have any overlap between SigA and HsdM motifs. Moreover, we found no bases methylated by HsdM near these genes, suggesting an indirect effect of HsdM DM on gene expression.

## Discussion

Our results show that the different MTBC clades have their own transcriptomic signature. Each main lineage is defined by a transcriptomic landscape, that clearly separates it from the rest of the lineages. We have shown before that transcriptional regulators are not conserved across lineages17. Now, we show that even single point mutations may totally change the transcriptional profile of a strain. An example is strain N1177, which carries a single mutation in the rpoB gene conferring rifampicin resistance which modified the transcriptional levels of multiple genes. Likewise, a single mutation generating a new SigA recognition motif increases the expression of the DosR regulon in the three Lineage 2 Beijing strains but not in the basal Lineage 2 strain (Fig. 1a,19). Our phylogeny-based approach has allowed us to identify gene expression changes that took place during the evolution of the MTBC. We have observed that, as the MTBC diverged into the different lineages, expression of key host-pathogen and metabolic genes also did so. This provides further evidence that lineages of MTBC likely reflect adaptation to different human populations.

Modification of gene expression could be a rapid mechanism for the physiological adaptation to a new environment without the need to substantially change the genome. This could have been the case when MAF and MTB split from a common ancestor, with a relatively short genetic distance, but many genes changing their expression. We propose that a sudden environmental change (possibly a change in host population) rapidly selected nascent phylogenetic groups that behaved differentially in terms of gene expression, or that standing variation in regulation allowed the ancestor to differentially specialise in different environments. In accordance with this, the enrichment in genes involved in metal homoeostasis may be related to different concentrations of ions in different host populations or animals52.

The analyses of the genetic bases of expression differences between phylogenetic clades reveals an interplay of natural selection and mutational processes. We show that at least 26% of the core expression differences between lineages were due to single point mutations creating new Pribnow boxes in gene regulatory regions. This number may be higher as we have not analysed indirect regulatory effects. The number of new Pribnow boxes is more than expected by chance and thus selection likely played a role in fixing expression differences. Importantly, the underlying AT mutational bias across the genome has been a source of expression diversity through random generation of new Pribnow boxes, as previously theorised21. The reason why selection is apparent for SigA motifs but not for other sigma factors remains unclear but at least two non-mutually exclusive explanations are possible. On the one hand, SNPs impacting SigA recognition motifs can have an impact across environmental conditions while SNPs for other sigma factors only will be relevant for specific conditions. They may happen but are more difficult to detect in our analyses. On the other hand, SigA motifs are enriched in AT bases and thus it is not surprising that new SigA motifs are generated at a faster pace leaving more room for selection to act. However, the fact that we observe less boxes than expected by chance in most non-SigA sigma factors suggests that negative selection is acting on some of them.

It seems clear from our results that there has been a convergence of the methylation patterns in the different phylogenetic groups of the MTBC, instead of a lineage-specific pattern as proposed previously44. Equivalent phenotypes (non-methylation of specific motifs) appear to be produced by different genetic variations (Supplementary text). For example, W136R mutations in a subset of L1 strains seem to have the same effect as E270A in a subset of L2 strains, impairing MamA activity. Our results also show that methylation seems to play a minimal role in shaping in-vitro gene expression. We have not been able to detect a regulatory impact for the main methyltransferases, except for a subtle effect on few genes having overlapping SigA and MamA/MamB recognition motifs, consistent with previous reports13. This could be due to our inability to identify genes that are actually influenced by the methyltransferases, as the Δhsdm strain shows differential expression in genes that we had not previously identified as potentially influenced by HsdM. MamA/MamB methylation motifs do overlap with SigA recognition motifs, affecting the transcription mediated by SigA, however, this seems to not be the case for HsdM.

In summary, we have carried out a comprehensive comparison of transcriptomes and DNA-methylomes of nineteen clinical isolates representative of the global phylogenetic spectrum of the human-adapted strains of the Mycobacterium tuberculosis complex. Patterns of differential transcription between lineages reflected constitutive expression of genes that are normally regulated in response to environmental cues, as a result of mutations that introduce novel TANNNT Pribnow boxes and mutations that impair the function of transcriptional repressors. The role of methylation is more elusive but it is clear from the pattern of inactivating mutations that methylases are not conserved across the MTBC. Isolated from the opportunity to generate diversity by horizontal gene transfer41, transcriptional adaptation may allow M. tuberculosis isolates to optimise their infectivity and transmission in subtly differing environments provided by different human host populations.

## Methods

### Culture conditions

All cultures were grown in ink wells containing 10 ml Middlebrook 7H9 OADC medium supplemented with 30 mM sodium pyruvate to account for pyruvate kinase mutations in L5 and L6 (Supplementary Data 1). Cultures were grown on orbital shakers at 80 rpms at 37 °C. For each strain, two biological replicates were cultivated.

### RNA isolation and Illumina sequencing

For RNA extraction cultures were grown to OD600 of 0.5–0.7. Ten millilitre aliquots were spun down and immediately processed with TRIZOL reagent according to manufacturer protocols. Cells were harvested from exponential cultures and RNA extracted using the Direct-zol™ RNA Kit from Zymo according to manufacturer’s instructions. From the RNA extracted, ribosomal RNA was depleted by using a Ribo-Zero Magnetic Kit. After that, sequencing libraries were prepared using the TrueSeq stranded Illumina protocol and sequenced on an Illumina HiSeq 2500 platform.

### DNA isolation

For DNA extraction cultures were harvest between OD600 of 0.5–0.7 by spinning down 5 ml culture and immediately starting DNA extraction by CTAB method53.

### RNA-seq pipeline

Fastq files qualities were assessed using FastQC54. Trimmomatic, a programme that uses a dynamic trimming approach55, was used to remove bases from the start and the end of the reads when its quality was below 20. Reads were mapped to the H37Rv reference strain56 using BWA-mem algorithm57. Potential duplicates were removed by using the MarkDuplicates option from the Picard tools package58. Bedtools59 was used to calculate the read coverage for each genomic feature. To precissely report the coding and non-coding coverage, each read was classified according to the strand from which it was initially derived.

### Transcriptomic analysis

The statistical analysis was performed using the R statistical language60, specifically the DESeq2 package61. The input data was the count table containing the coverage information for each feature for all the samples. The PCA and the hierarchical clustering were performed by previously normalising the count data across samples and scaling it into a log2 scale, by using the rlog function from the DESeq2 package.

For the analysis of Phylogenetically aware Differentially Expressed Genes (PDEG), we performed a two-step process. First, we identified all the genes having differential gene expression (adjusted BH p-value < 0.05 and log2 fold-change >1.5) between each pair of phylogenetic groups with a common origin (for example L5 and L6, MAF and MTB, etc). Therefore, we identified the genes changing their expression between these groups. This information however, is not enough to assign the expression change to one group or the other. We cannot know if an increase in gene expression for one gene is due to an upregulation in one group or to a downregulation in the other. To resolve this, for each gene identified as differentially expressed, we compared its expression value in each of the two groups against the rest of the MTBC samples. This analysis allowed us to identify the group in which the change in gene expression took place and the direction of this change. Finally, we assigned all the changes in a group to the tree branch common to this clade. For this part of the analysis, sample N1177 (L6) was excluded, as the rpoB mutation alters its transcriptomic signature and it is therefore not representative of the L6 transcriptomic signature.

Genes with deletions in each of the groups were not taken into account in the pairwise comparisons, as they result in false positive signals. These genes were identified by mapping long-reads obtained from PacBio sequencing against the H37Rv reference genome, and assessing the genomic coverage (Supplementary Data 10). PE/PPE, phages and repetitive genes have not been taken into account in any of the analyses, as their sequenced reads are prone to map erroneously (Supplementary Data 11). The enrichment analysis in GO functions was performed using the BiNGO tool62. BiNGO identifies the most abundant functions in a subset of genes, compared to all functions present in a complete genome using a hypergeometric test (sampling without replacement).

### FASTQ mapping and variant calling from the Illumina data

For each of the analysed strains, we downloaded the publicly available genomic data from a previous work22 (Supplementary Data 2). We analysed the data following a published pipeline63. Briefly, fastq files were trimmed using fastp64 and aligned to the MTBC most likely ancestral genome46 using BWA-mem57. Potential duplicated reads were removed using Picard tools58. Samtools65 and VarScan66 were used to perform the variant calling. A SNP was called if it was supported by at least 20 reads, it was found in a frequency of at least 0.9 and was not found adjacent to an indel area or in areas of high accumulation of variants (defined as more than 3 variants in a 10 bp defined window). Variants were annotated using SnpEFF67. Variants found in phages, PE/PPE genes or repeated regions were filtered out as they are difficult to map and induce accumulate many false calls. All the variants found were used to generate a multiple alignment of variant positions with all the strains analysed. An MTBC phylogeny was calculated by using the RAxML programme68 with the GTRCATI model of evolution and represented with the iTOL software69.

### Creation and disruption of Pribnow boxes

Using the MTBC ancestor genome as a template, we introduced all the mutations found in the dataset, and look for new/disappeared TANNNT motifs with the fuzznuc tool included in the EMBOSS programme70. By doing this, we have obtained the number of affected Pribnow boxes in our dataset. Three independent tests were performed to calculate the probability of the observed new/disrupted SigA recognition motifs by chance.

To calculate the probability of appearance or disruption of Pribnow boxes we have first scanned the MTBC ancestor genome looking for the ‘ancestral’ TANNNT motifs, or for motifs that could result in TANNNT motifs by introducing one single mutation (VANNNT, TANNNV, TBNNNT). In parallel, from the observed number of variants in the MTBC dataset, we calculated the probability of a non-A (B), non-T(V), A and T mutations. After that, we calculate the expected disruption of boxes by inferring the probability of non-A or non-T mutations to fall in the 1st, 2nd or 6th position of the ‘ancestral’ motifs. The expected generation of new boxes was calculated by inferring the probability of A and T mutations to fall in the corresponding VANNNT, TANNNV and TBNNNT motifs. In a last step, we have used a Poisson distribution to calculate the probability of the expected versus the observed number of disruptions in our dataset (Supplementary Fig. 6a).

A random permutation test was performed by keeping the alternative alleles for the 8093 SNPs found in the global dataset, but randomly assigning a new genomic position in which those SNPs appear. Later, we scanned for new/disappeared TANNNT motifs with the fuzznuc tool. This process was repeated 1000 times. With the number of new/disrupted boxes in this 1000 simulations we calculated a cumulative empirical distribution of expected Pribnow boxes affected by random mutations. Later, we compared these distributions with the number of boxes affected by the real variants (Supplementary Fig. 6b).

Finally, we have reshuffled the 8093 mutations so the alternative alleles were randomly assigned to genomic positions that initially harbour other variants. Again, we impacted the MTBC ancestor genome with these variants and assessed the number of new/disrupted Pribnow boxes by using fuzznuc. The results obtained were confronted against the number of new/disrupted boxes with the real 8093 variants in a chi-squared test (Supplementary Fig. 6c).

### Genomic DNA isolation for PacBio Sequencing

DNA was prepared and sequenced on the Pacific Biosciences RSII machine as described in a previous work71. Briefly, we used template preparation kit version 3.0, polymerase binding P6 version 2, and sequencing reagents version 4.0 (C4). Data were captured using 3-h movies. Each sample replicate was sequenced on two to four chips to get enough genome coverage for the detection of the methylated patterns.

### HsdM mutant construction

The gene hsdM was deleted in strain MTB N1283 by specialised transduction72. Transductants were recovered on 7H10 OADC plates containing hygromycin (75 µg/ml). Mutations were confirmed by three-primer PCR using primers HsdM_L, HsdM_R, and Universal_uptag, listed in Supplementary Data 12.

### Methylation analysis and variant search

DNA isolated from the cultured samples were used for PacBio sequencing. The SMRT Analysis Software from PacBio73 was used to detect methylation patterns in the PacBio sequencing data. Sequencing reads from both biological replicates per strain were merged to assess a higher sequencing depth. The Modification_and_Motif_Analysis protocol was used as defined in the SMRT manual. This protocol detects the Interpulse Duration (IPD) to classify one base as methylated. After that, it looks for over-represented methylation motifs in the genome.

For those strains lacking at least one of the three main methylated motifs present in the rest of the dataset, we looked for non-synonymous variants affecting the methyltransferases. These variants, that potentially affect the methyltransferase function, were also scanned in a dataset of 4,595 strains representative of the MTBC global diversity41. The potential effect of the non-synonymous variants over gene functionality was assessed by using the SIFT4G tool74. dN/dS values for the methyltransferases were calculated as described previously in37. Briefly, by using the observed non-synonymous and synonymous variants in these genes, and the potential synonymous and non-synonymous substitution sites for each gene (calculated using the SNAP tool75 and without distance correction), the dN/dS for each gene was defined in Eq. 1:

$$\frac{{{\mathrm{Non}}-{\mathrm{synonymous}}\,{\mathrm{variants}}\,\backslash {\mathrm{Non}}-{\mathrm{synonymous}}{\kern 1pt} {\mathrm{sites}}}}{{{\mathrm{Synonymous}}\,{\mathrm{variants}}\,\backslash {\mathrm{Synonymous}}\,{\mathrm{sites}}}}$$
(1)

### RNA-seq analysis linked to differential methylation

We used fuzznuc from the EMBOSS package70 to identify genes whose conserved −10 TANNNT motif overlapped with identified methylated motifs. The potential effect of methylation over the expression of these genes was assessed by comparing the expression values in strains with a similar genetic background (same lineage), but having differential methyltransferase activity.

### Reporting summary

Further information on research design is available in the Nature Research Reporting Summary linked to this article.

## Data availability

All the new data generated for the present study was submitted to ENA under accession numbers PRJEB8783 (PacBio data) and PRJEB9763 (transcriptomic data). Whole-genome sequencing of N0153, N117 and N1063 was deposited under accession PRJEB31443, while the sequence data from the rest of the samples comes from another publication22 and can be found under accession number PRJEB27802. The source data underlying Figs. 1a, b, 2b, 3a, b, 4a, 5b, 6a, b are provided as a Source Data file. All other relevant data is available upon request.

## References

1. 1.

Achtman, M. Insights from genomic comparisons of genetically monomorphic bacterial pathogens. Philos. Trans. R. Soc. Lond. B Biol. Sci. 367, 860–867 (2012).

2. 2.

Palittapongarnpim, P. et al. Evidence for host-bacterial co-evolution via genome sequence analysis of 480 thai Mycobacterium tuberculosis lineage 1 isolates. Sci. Rep. 8, 11597 (2018).

3. 3.

Hirsh, A. E., Tsolaki, A. G., DeRiemer, K., Feldman, M. W. & Small, P. M. Stable association between strains of Mycobacterium tuberculosis and their human host populations. Proc. Natl Acad. Sci. USA 101, 4871–4876 (2004).

4. 4.

Gagneux, S. et al. Variable host-pathogen compatibility in Mycobacterium tuberculosis. Proc. Natl Acad. Sci. USA 103, 2869–2873 (2006).

5. 5.

Fenner, L. et al. HIV infection disrupts the sympatric host-pathogen relationship in human tuberculosis. PLoS Genet. 9, e1003318 (2013).

6. 6.

de Jong, B. C. et al. Progression to active tuberculosis, but not transmission, varies by Mycobacterium tuberculosis lineage in The Gambia. J. Infect. Dis. 198, 1037–1043 (2008).

7. 7.

Coscolla, M. & Gagneux, S. Consequences of genomic diversity in Mycobacterium tuberculosis. Semin. Immunol. 26, 431–444 (2014).

8. 8.

Mostowy, S., Cleto, C., Sherman, D. R. & Behr, M. A. The Mycobacterium tuberculosis complex transcriptome of attenuation. Tuberculosis 84, 197–204 (2004).

9. 9.

Gonzalo-Asensio, J. et al. Evolutionary history of tuberculosis shaped by conserved mutations in the PhoPR virulence regulator. Proc. Natl Acad. Sci. USA 111, 11491 (2014).

10. 10.

Homolka, S., Niemann, S., Russell, D. G. & Rohde, K. H. Functional genetic diversity among Mycobacterium tuberculosis complex clinical isolates: Delineation of conserved core and lineage-specific transcriptomes during intracellular survival. PLoS Pathog. 6, e1000988 (2010).

11. 11.

Malone, K. M. et al. Comparative’omics analyses differentiate Mycobacterium tuberculosis and Mycobacterium bovis and reveal distinct macrophage responses to infection with the human and bovine tubercle bacilli. Microb. Genom. https://doi.org/10.1099/mgen.0.000163 (2018).

12. 12.

Rustad, T. R. et al. Mapping and manipulating the Mycobacterium tuberculosis transcriptome using a transcription factor overexpression-derived regulatory network. Genome Biol. 15, 502 (2014).

13. 13.

Shell, S. S. et al. DNA methylation impacts gene expression and ensures hypoxic survival of Mycobacterium tuberculosis. PLoS Pathog. 9, e1003419 (2013).

14. 14.

Arnvig, K. & Young, D. Non-coding RNA and its potential role in Mycobacterium tuberculosis pathogenesis. RNA Biol. 9, 427–436 (2012).

15. 15.

Solans, L. et al. The PhoP-dependent ncRNA Mcr7 modulates the TAT secretion system in Mycobacterium tuberculosis. PLoS Pathog. 10, e1004183 (2014).

16. 16.

Golby, P. et al. Genome-level analyses of Mycobacterium bovis lineages reveal the role of SNPs and antisense transcription in differential gene expression. BMC Genom. 14, 710 (2013).

17. 17.

Chiner-Oms, Á., González-Candelas, F. & Comas, I. Gene expression models based on a reference laboratory strain are poor predictors of Mycobacterium tuberculosis complex transcriptional diversity. Sci. Rep. 8, 3813 (2018).

18. 18.

Broset, E., Martín, C. & Gonzalo-Asensio, J. Evolutionary landscape of the Mycobacterium tuberculosis complex from the viewpoint of PhoPR: Implications for virulence regulation and application to vaccine development. MBio 6, e01289–15 (2015).

19. 19.

Rose, G. et al. Mapping of genotype–phenotype diversity among clinical isolates of Mycobacterium tuberculosis by sequence-based transcriptional profiling. Genome Biol. Evol. 5, 1849 (2013).

20. 20.

Hershberg, R. & Petrov, D. A. Evidence that mutation is universally biased towards AT in bacteria. PLoS Genet. 6, e1001115 (2010).

21. 21.

Dinan, A. M. et al. Relaxed selection drives a noisy noncoding transcriptome in members of the Mycobacterium tuberculosis complex. MBio 5, e01169–14 (2014).

22. 22.

Borrell, S. et al. Reference set of Mycobacterium tuberculosis clinical strains: A tool for research and product development. PLoS One 14, e0214088 (2019).

23. 23.

Jin, D. J. & Gross, C. A. Characterization of the pleiotropic phenotypes of rifampin-resistant rpoB mutants of Escherichia coli. J. Bacteriol. 171, 5229–5231 (1989).

24. 24.

Koch, A., Mizrahi, V. & Warner, D. F. The impact of drug resistance on Mycobacterium tuberculosis physiology: what can we learn from rifampicin? Emerg. Microbes Infect. 3, e17 (2014).

25. 25.

Bergval, I. L., Klatser, P. R., Schuitema, A. R. J., Oskam, L. & Anthony, R. M. Specific mutations in the Mycobacterium tuberculosis rpoB gene are associated with increased dnaE2 expression. FEMS Microbiol. Lett. 275, 338–343 (2007).

26. 26.

Cai, X.-C. et al. Rifampicin-resistance mutations in the rpoB Gene in Bacillus velezensis CC09 have pleiotropic effects. Front. Microbiol. 08, 178 (2017).

27. 27.

Chavadi, S. S. et al. Mutational and phylogenetic analyses of the mycobacterial mbt gene cluster. J. Bacteriol. 193, 5905 (2011).

28. 28.

Botella, H. et al. Mycobacterial P1-type ATPases mediate resistance to zinc poisoning in human macrophages. Cell Host Microbe 10, 248 (2011).

29. 29.

Ates, L. S. et al. Unexpected genomic and phenotypic diversity of Mycobacterium africanum Lineage 5 affects drug resistance, protein secretion, and immunogenicity. Genome Biol. Evol. 10, 1858 (2018).

30. 30.

Otchere, I. D. et al. Comparative genomics of Mycobacterium africanum Lineage 5 and Lineage 6 from Ghana suggests distinct ecological niches. Sci. Rep. 8, 11269 (2018).

31. 31.

Gupta, A., Venkataraman, B., Vasudevan, M. & Bankar, K. G. Co-expression network analysis of toxin-antitoxin loci in Mycobacterium tuberculosis reveals key modulators of cellular stress. Sci. Rep. 7, 5868 (2017).

32. 32.

Singh, A. et al. Requirement of the mymA operon for appropriate cell wall ultrastructure and persistence of Mycobacterium tuberculosis in the spleens of guinea pigs. J. Bacteriol. 187, 4173–4186 (2005).

33. 33.

Golby, P. et al. Comparative transcriptomics reveals key gene expression differences between the human and bovine pathogens of the Mycobacterium tuberculosis complex. Microbiology 153, 3323–3336 (2007).

34. 34.

Williams, M. J., Kana, B. D. & Mizrahi, V. Functional analysis of molybdopterin biosynthesis in mycobacteria identifies a fused molybdopterin synthase in Mycobacterium tuberculosis. J. Bacteriol. 193, 98–106 (2011).

35. 35.

Deretic, V. et al. Mycobacterium tuberculosis is a natural mutant with an inactivated oxidative-stress regulatory gene: implications for sensitivity to isoniazid. Mol. Microbiol. 17, 889–900 (1995).

36. 36.

Jena, L., Waghmare, P., Kashikar, S., Kumar, S. & Harinath, B. C. Computational approach to understanding the mechanism of action of isoniazid, an anti-TB drug. Int J. Mycobacteriol. 3, 276–282 (2014).

37. 37.

Bretl, D. J. et al. MprA and DosR coregulate a Mycobacterium tuberculosis virulence operon encoding Rv1813c and Rv1812c. Infect. Immun. 80, 3018 (2012).

38. 38.

Yang, Z. et al. Clinical relevance of Mycobacterium tuberculosis plcD gene mutations. Am. J. Respir. Crit. Care Med. 171, 1436–1442 (2005).

39. 39.

Cortes, T. et al. Genome-wide mapping of transcriptional start sites defines an extensive leaderless transcriptome in Mycobacterium tuberculosis. Cell Rep. 5, 1121–1131 (2013).

40. 40.

Chauhan, R. et al. Reconstruction and topological characterization of the sigma factor regulatory network of Mycobacterium tuberculosis. Nat. Commun. 7, 11062 (2016).

41. 41.

Chiner-Oms, Á. et al. Genomic determinants of speciation and spread of the Mycobacterium tuberculosis complex. Sci. Adv. 5, eaaw3307 (2019).

42. 42.

Adhikari, S. & Curtis, P. D. DNA methyltransferases and epigenetic regulation in bacteria. FEMS Microbiol. Rev. 40, 575–591 (2016).

43. 43.

Zhu, L. et al. Precision methylome characterization of Mycobacterium tuberculosis complex (MTBC) using PacBio single-molecule real-time (SMRT) technology. Nucleic Acids Res. 44, 730–743 (2016).

44. 44.

Phelan, J. et al. Methylation in Mycobacterium tuberculosis is lineage specific with associated mutations present globally. Sci. Rep. 8, 160 (2018).

45. 45.

Roberts, R. J., Vincze, T., Posfai, J. & Macelis, D. REBASE: restriction enzymes and methyltransferases. Nucleic Acids Res 31, 418–420 (2003).

46. 46.

Comas, I. et al. Human T cell epitopes of Mycobacterium tuberculosis are evolutionarily hyperconserved. Nat. Genet. 42, 498–503 (2010).

47. 47.

Lee, J.-H., Karakousis, P. C. & Bishai, W. R. Roles of SigB and SigF in the Mycobacterium tuberculosis sigma factor network. J. Bacteriol. 190, 699–707 (2008).

48. 48.

Sachdeva, P., Misra, R., Tyagi, A. K. & Singh, Y. The sigma factors of Mycobacterium tuberculosis: regulation of the regulators. FEBS J. 277, 605–626 (2010).

49. 49.

Galagan, J. E. et al. The Mycobacterium tuberculosis regulatory network and hypoxia. Nature 499, 178–183 (2013).

50. 50.

Marreiros, B. C., Batista, A. P., Duarte, A. M. S. & Pereira, M. M. A missing link between complex I and group 4 membrane-bound [NiFe] hydrogenases. Biochim. Biophys. Acta 1827, 198–209 (2013).

51. 51.

Cook, G. M., Hards, K., Vilchèze, C., Hartman, T. & Berney, M. Energetics of respiration and oxidative phosphorylation in mycobacteria. Microbiol. Spectr. 2, (2014). https://doi.org/10.1128/microbiolspec.MGM2-0015-2013.

52. 52.

Botella, H., Stadthagen, G., Lugo-Villarino, G., de Chastellier, C. & Neyrolles, O. Metallobiology of host-pathogen interactions: an intoxicating new insight. Trends Microbiol. 20, 106–112 (2012).

53. 53.

Larsen, M. H., Biermann, K., Tandberg, S., Hsu, T. & Jacobs, W. R., Jr. Genetic Manipulation of Mycobacterium tuberculosis. Curr Protoc Microbiol. https://doi.org/10.1002/9780471729259.mc10a02s6 (2007).

54. 54.

Andrews, S. FastQC: A quality control tool for high throughput sequence data. (2016).

55. 55.

Bolger, A. M., Lohse, M. & Usadel, B. Trimmomatic: a flexible trimmer for Illumina sequence data. Bioinformatics 30, 2114 (2014).

56. 56.

Cole, S. T. et al. Deciphering the biology of Mycobacterium tuberculosis from the complete genome sequence. Nature 393, 537 (1998).

57. 57.

Li, H. & Durbin, R. Fast and accurate long-read alignment with Burrows–Wheeler transform. Bioinformatics 26, 589–595 (2010).

58. 58.

59. 59.

Quinlan, A. R. & Hall, I. M. BEDTools: a flexible suite of utilities for comparing genomic features. Bioinformatics 26, 841–842 (2010).

60. 60.

Core Team. R: A language and environment for statistical computing. (R Foundation for Statistical Computing, Vienna, Austria, 2014) http://www.R-project.org/.

61. 61.

Love, M. I., Huber, W. & Anders, S. Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2. Genome Biol. 15, 550 (2014).

62. 62.

Maere, S., Heymans, K. & Kuiper, M. BiNGO: a Cytoscape plugin to assess overrepresentation of Gene Ontology categories in biological networks. Bioinformatics 21, (3448–3449 (2005).

63. 63.

Goig, G. A., Blanco, S., Garcia-Basteiro, A. & Comas, I. Pervasive contaminations in sequencing experiments are a major source of false genetic variability: a Mycobacterium tuberculosis meta-analysis. Preprint at https://www.biorxiv.org/content/10.1101/403824v1 (2018).

64. 64.

Chen, S., Zhou, Y., Chen, Y. & Gu, J. fastp: an ultra-fast all-in-one FASTQ preprocessor. Bioinformatics 34, i884–i890 (2018).

65. 65.

Li, H. et al. The sequence alignment/map format and SAMtools. Bioinformatics 25, 2078–2079 (2009).

66. 66.

Koboldt, D. C. et al. VarScan 2: Somatic mutation and copy number alteration discovery in cancer by exome sequencing. Genome Res. 22, 568–576 (2012).

67. 67.

Cingolani, P. et al. A program for annotating and predicting the effects of single nucleotide polymorphisms, SnpEff: SNPs in the genome of Drosophila melanogaster strain w1118; iso-2; iso-3. Fly 6, 80–92 (2012).

68. 68.

Stamatakis, A. RAxML-VI-HPC: maximum likelihood-based phylogenetic analyses with thousands of taxa and mixed models. Bioinformatics 22, 2688–2690 (2006).

69. 69.

Letunic, I. & Bork, P. Interactive Tree Of Life (iTOL) v4: recent updates and new developments. Nucleic Acids Res. https://doi.org/10.1093/nar/gkz239 (2019).

70. 70.

Rice, P., Longden, I. & Bleasby, A. EMBOSS: the European Molecular Biology Open Software Suite. Trends Genet. 16, 276–277 (2000).

71. 71.

Berney, M. et al. Essential roles of methionine and S-adenosylmethionine in the autarkic lifestyle of Mycobacterium tuberculosis. Proc. Natl Acad. Sci. USA 112, 10008–10013 (2015).

72. 72.

Jain, P. et al. Specialized transduction designed for precise high-throughput unmarked deletions in Mycobacterium tuberculosis. MBio 5, e01245–14 (2014).

73. 73.

SMRT Analysis Software-PacBio. PacBio https://www.pacb.com/products-and-services/analytical-software/smrt-analysis/. Accessed 14 Dec 2018. (2018).

74. 74.

Vaser, R., Adusumalli, S., Leng, S. N., Sikic, M. & Ng, P. C. SIFT missense predictions for genomes. Nat. Protoc. 11, 1–9 (2016).

75. 75.

Ota, T. & Nei, M. Variance and covariances of the numbers of synonymous and nonsynonymous substitutions per site. Mol. Biol. Evol. 11, 613–619 (1994).

## Acknowledgements

This project has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programmes 638553 (TB-ACCELERATE to I.C.) and 637730 (MtbTransReg to T.C.). M.B. was funded by the National Institute of Health grant AI119573. W.R.J. was funded by the National Institutes of Health grant AI26170. In addition, this work was funded by projects SAF2016-77346-R from Ministerio de Economía y Competitividad (Spanish Government) and AICO/2018/113 from Generalitat Valenciana (to I.C.), BFU2014-58656-R, BFU2017-89594-R from Ministerio de Economía y Competitividad (Spanish Government), PROMETEO/2016/122 from Generalitat Valenciana (to FGC), Wellcome Trust grant 098051 to the Sanger Institute. A.C.O. is recipient of a FPU fellowship from Ministerio de Educación y Ciencia FPU13/00913 (Spanish Government).

## Author information

Authors

### Contributions

I.C. and T.C. conceived this work. M.B. performed all the experiments. A.C.O. analysed the data. C.B. constructed the sequencing libraries. A.C.O., M.B., S.G., J.P., T.C. and I.C. wrote the first version of the draft. A.C.O., M.B., S.G., J.P., T.C., I.C., F.G.C., D.Y., W.R.J. critically reviewed and contributed to the final version of the paper.

### Corresponding authors

Correspondence to Teresa Cortes or Iñaki Comas.

## Ethics declarations

### Competing interests

The authors declare no competing interests.

Peer review information: Nature Communications thanks Sarah Fortune, Stephen Gordon and other anonymous reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.

Publisher’s note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

Reprints and Permissions

Chiner-Oms, Á., Berney, M., Boinett, C. et al. Genome-wide mutational biases fuel transcriptional diversity in the Mycobacterium tuberculosis complex. Nat Commun 10, 3994 (2019). https://doi.org/10.1038/s41467-019-11948-6

• Accepted:

• Published:

• ### Stepwise pathogenic evolution of Mycobacterium abscessus

• Josephine M. Bryant
• , Karen P. Brown
• , Sophie Burbaud
• , Isobel Everall
• , Juan M. Belardinelli
• , Daniela Rodriguez-Rincon
• , Dorothy M. Grogono
• , Chelsea M. Peterson
• , Deepshikha Verma
• , Ieuan E. Evans
• , Christopher Ruis
• , Aaron Weimann
• , Divya Arora
• , Sony Malhotra
• , Bridget Bannerman
• , Charlotte Passemar
• , Kerra Templeton
• , Gordon MacGregor
• , Kasim Jiwa
• , Andrew J. Fisher
• , Tom L. Blundell
• , Diane J. Ordway
• , Mary Jackson
• , Julian Parkhill
•  & R. Andres Floto

Science (2021)

• ### In-host population dynamics of Mycobacterium tuberculosis complex during active disease

• Roger Vargas
• , Luca Freschi
• , Maximillian Marin
• , L Elaine Epperson
• , Melissa Smith
• , Irina Oussenko
• , David Durbin
• , Michael Strong
• , Max Salfinger
•  & Maha Reda Farhat

eLife (2021)

• ### Integrated characterization of SARS-CoV-2 genome, microbiome, antibiotic resistance and host response from single throat swabs

• Bo Lu
• , Yi Yan
• , Liting Dong
• , Lingling Han
• , Yawei Liu
• , Junping Yu
• , Jianjun Chen
• , Danyang Yi
• , Meiling Zhang
• , Xin Deng
• , Chao Wang
• , Runkun Wang
• , Dengpeng Wang
• , Hongping Wei
• , Di Liu
•  & Chengqi Yi

Cell Discovery (2021)

• ### Human tuberculosis and Mycobacterium tuberculosis complex: A review on genetic diversity, pathogenesis and omics approaches in host biomarkers discovery

• Renuga Devi Kanabalan
• , Le Jie Lee
• , Tze Yan Lee
• , Pei Pei Chong
• , Latiffah Hassan
• , Rosnah Ismail
•  & Voon Kin Chin

Microbiological Research (2021)

• ### Genetic Diversity in Mycobacterium tuberculosis Clinical Isolates and Resulting Outcomes of Tuberculosis Infection and Disease

• Julian S. Peters
• , Nabila Ismail
• , Anzaan Dippenaar
• , Shuyi Ma
• , David R. Sherman
• , Robin M. Warren
•  & Bavesh D. Kana

Annual Review of Genetics (2020)