PTGES2 and SF3B4 exhibited a protective effect against BCC (OR < 1), while RNASET2 and STX8 were identified as risk factors for BCC (OR < 1) in both the UKB-PPP and deCODE studies. Here, RNASET2 is linked to skin basal cell carcinoma.