EBV infection and MSI status significantly influence the clinical outcomes of gastric cancer patients.