In current work, we first identified 46 ER stress-associated genes closely linked with OS of 164 PC patients from TCGA by log-rank test and univariate Cox regression, and further narrowed 12 optimal prognostic genes (SERP1, BCL2L1, RNF139, TSPYL2, ERO1A, BFAR, MAP3K5, ARFGAP1, ATP6V0D1, NCCRP1, PLA2G4B, USP 19) to build a risk signature via LASSO method. This evidence concerns the gene BCL2L1 and pachyonychia congenita.