Among them, five genes, KLRB1, KLRF1, GZMK, IL-7R and CD40LG, showed good diagnostic performance which was confirmed by ROC curves in the training and validation sets of IBD and SLE cohorts, respectively. This evidence concerns the gene CD40LG and systemic lupus erythematosus.