The purpose of this work was to identify the features of the gut microbiome in cases of ankylosing spondylitis (AS) testing positive for human leukocyte antigen- (HLA-) B27 and healthy controls (HCs) as well as to determine how bacterial populations were correlated with C-reactive protein (CRP) and erythrocyte sedimentation rate (ESR). This evidence concerns the gene CRP and ankylosing spondylitis.