Differential expression of PTPN12 in GC and CRC was observed in our histological experiment. Here, PTPN12 is linked to gastric cancer.