HMGA1, HMGA2, HMGB1, HMGB2, HMGB3, HMGN1, HMGN2, and HMGN4 were the potential diagnostic biomarkers for GC. Here, HMGB2 is linked to gastric cancer.