Moreover, we found an interaction between sex and the AIP and found that the AIP was positively correlated with prediabetes and diabetes only among women and not among men. This evidence concerns the gene AIP and autoimmune pancreatitis.