Our study provides a theoretical basis for understanding the relationship between the enzyme activity of PTPN22 and autoimmune diseases. Here, PTPN22 is linked to autoimmune disease.