The identified hub genes, CD274, IRF1, and HPSE, exhibited significant diagnostic performance, which provides a potential breakthrough for the diagnosis of TB. The gene discussed is IRF1; the disease is tuberculosis.