EBV-positive patients may benefit from the PD-L1 targeted therapy due to up-regulated PD-L1 expression, but the EBV infection itself had limited value in predicting the prognosis of gastric cancer. Here, CD274 is linked to gastric cancer.