In this study, we successfully identified PPP1CA and CTSD as core biomarkers associated with asparagine in the pathogenesis of T2DM through the integration of transcriptome data and machine learning, and validated their significant upregulation in T2DM with high diagnostic accuracy. The gene discussed is CTSD; the disease is type 2 diabetes mellitus.