The results of regression analysis showed that high CSF IgG (OR = 4.796, 95% CI: 2.575–8.864), high CSF IgM (OR = 3.456, 95% CI: 2.757–5.754), and high CSF IgA (OR = 4.371, 95% CI: 2.731–5.856) were risk factors for poor prognosis in TBM patients (Table 6). The gene discussed is CD40LG; the disease is meningeal tuberculosis.