In our study, PTPN5 and PTPN7 were found to be correlated with prognosis of colon adenocarcinoma patients, while PTPN6 and PTPN13 were statistically associated with the prognosis of STAD. Here, PTPN6 is linked to gastric adenocarcinoma.