ROC curves showed that the area under the curve (AUC) for LMR in the diagnosis of ankylosing spondylitis was 0.803 (95% CI = 0.734–0.872) with a sensitivity and specificity of 62.8 and 87.2%, respectively, and the AUC (95% CI) for the combination of ESR, CRP and LMR was 0.975 (0.948–1.000) with a sensitivity and specificity of 94.9 and 97.4%, respectively. This evidence concerns the gene ESR1 and ankylosing spondylitis.