Machine learning identified EPHB2 and TOP2A as key genes linking systemic lupus erythematosus to colorectal cancer. Here, EPHB2 is linked to colorectal cancer.