Hence, IL-7 SNPs exhibit potential for identifying patients at high risk of irAE and guiding therapeutic decision-making in melanoma cases. Here, IL7 is linked to melanoma.