The main germline molecular alterations related to the risk of developing melanoma are alterations in the CDKN2a, CDK4, MC1R, BAP1, TERT, MITF, PTEN genes. This evidence concerns the gene BAP1 and melanoma.