Through differential analysis of known ankylosing spondylitis morbigenous genes in the Gene Cards database, we found that the expression of the IL10, IL17A, IL23R, TLR4, TNF, and TNFRSF1A genes differed between the two groups of patients, with BASP1 expression levels significantly and positively correlated with TNFRSF1A expression levels (Pearson r = 0.77), and that SORL1 was significantly negatively correlated with TNF (Pearson r = -0.3). Here, IL17A is linked to ankylosing spondylitis.