Mitochondrial-related genes PDK2, CHDH, and ALDH5A1 served as a diagnostic signature and correlated with immune cell infiltration in ulcerative colitis. The gene discussed is ALDH5A1; the disease is ulcerative colitis.