The analysis showed that six gene sets and three member genes of ACADSB, RASSF2, and KLF12 had significant associations with diabetes traits. Here, KLF12 is linked to diabetes mellitus.