The above results indicate that RAD51D and XRCC2 play crucial roles in the diagnosis and prognosis of gastric cancer. This evidence concerns the gene RAD51D and gastric cancer.