Tumors positive for Epstein–Barr virus showed elevated PD-L1 expression, suggesting the rolls of immune checkpoint inhibitors in gastric cancer. Here, CD274 is linked to gastric cancer.