In summary, our study found a novel association between genetic variants in TPCN2 and P2RX4 and the risk of developing cancer, metastatic cancer, cancer recurrence at a global level, or various types of cancer at the local level in the UK Biobank population. The gene discussed is P2RX4; the disease is metastatic malignant neoplasm.