In the current, we first analyzed the expression and immuno-correlations of GBP2 in gastric cancer and expand its immuno-related role in pan-cancer. This evidence concerns the gene GBP2 and cancer.