We also performed receiver-operating characteristic analysis using the predicted probability value in the validation cohort, and the results demonstrated the potential diagnostic value of IL-8 and SERP for distinguishing leprosy patients and leprosy sub-types from ECs, and that of NCF1C for distinguishing leprosy patients and leprosy sub-types from HHCs. Here, CXCL8 is linked to leprosy.