The relationship between m<sup>6</sup>A modification patterns and the immune microenvironment, biological function, and TB subtype construction was evaluated by using Gene Set Enrichment Analysis (GSEA), Gene Ontology (GO) analysis and KEGG pathway analysis.<h4>Results</h4>Our data revealed seven differentially expressed m<sup>6</sup>A -related genes-METTL3, VIRMA, YTHDF1, YTHDC1, YTHDC2, ELAVL1and LRPPRC mRNA-confirmed as critical m<sup>6</sup>A regulators in TB. This evidence concerns the gene YTHDC1 and tuberculosis.