In the male participants (n = 43,636), DM history (OR = 0.772; p < 0.001), hypertension history (OR = 0.876; p = 0.002), BMI (per 1 kg/m2; OR = 0.990; p = 0.029), triglycerides (per 1 mg/dL; OR = 0.998; p < 0.001), total cholesterol (per 1 mg/dL; OR = 0.995; p < 0.001), AST (per 1 U/L; OR = 1.006; p < 0.001), ALT (per 1 U/L; OR = 1.010; p < 0.001), eGFR (per 1 mL/min/1.73 m2; OR = 0.998; p = 0.009), and uric acid (per 1 mg/dL; OR = 0.928; p < 0.001) were significantly associated with HBV infection. The gene discussed is GPT; the disease is diabetes mellitus.