BackgroundAnkylosing spondylitis (AS) is one of the most common immune-mediated arthritic diseases worldwide. Despite considerable efforts to elucidate its pathogenesis, the molecular mechanisms underlying AS are still not fully understood.MethodsTo identify candidate genes involved in AS progression, the researchers downloaded the microarray dataset GSE25101 from the Gene Expression Omnibus (GEO) database. They identified differentially expressed genes (DEGs) and functionally enriched them for analysis. They also constructed a protein–protein interaction network (PPI) using STRING and performed cytoHubba modular analysis, immune cell and immune function analysis, functional analysis and drug prediction.The results showed that DEGs were mainly associated with histone modifications, chromatin organisation, transcriptional coregulator activity, transcriptional co-activator activity, histone acetyltransferase complexes and protein acetyltransferase complexes.ResultsThe researchers analysed the differences in expression between the CONTROL and TREAT groups in terms of immunity to determine their effect on TNF-α secretion. By obtaining hub genes, they predicted two therapeutic agents, AY 11–7082 and myricetin.ConclusionThe DEGs, hub genes and predicted drugs identified in this study contribute to our understanding of the molecular mechanisms underlying the onset and progression of AS. They also provide candidate targets for the diagnosis and treatment of AS.