A synergistic effect of ALT, AST, and the ALT/AST ratio with the TyG index on diabetes risk was observed. This evidence concerns the gene GPT and diabetes mellitus.