This model, developed using binary logistic regression analysis, indicated that CETP (OR: 1.051, CI: 1.033–1.068; p < 0.0001), TYROBP (OR: 1.004, CI: 1.003–1.006; p < 0.0001), and SECTM1 (OR: 1.005, CI: 1.003–1.007; p < 0.0001) are important differential genes between DM–TB and diabetes (Table 4). Here, SECTM1 is linked to diabetes mellitus.