ST6GAL1 and Behcet disease: This study identified the hub genes CX3CR1 and ST6GAL1 in BD and AS, providing new insights for further research on the bioinformatic mechanisms of BD with AS and contributing to the diagnosis and prevention of AS in psychiatric clinical practice.