HAMD‐17 score was negatively associated with C4 levels and positively associated with levels of ALP, GGT, TB, IgG, and IgM. The gene discussed is CD40LG; the disease is tuberculosis.