Finally, we identified inverse associations between ATG5 (GG rs2245214) and melanomas on the scalp or neck (OR 0.20, 95% CI = 0.05–0.86, P = 0.03); ATG10 (CC) (rs1864182) and brisk tumor infiltrating lymphocytes (TILs) (OR 0.42; 95% CI = 0.21–0.88, P = 0.02), and ATG5 (CC) (rs510432) with nonbrisk TILs (OR 0.55; 95% CI = 0.34–0.87, P = 0.01). Here, ATG5 is linked to melanoma.