In this study, we proposed a three-gene (CDKN2A, BRCA1, and UBL3) risk signature by WGCNA and Lasso Cox regression analysis for predicting overall survival in pancreatic cancer patients, with statistically significant differences in overall survival between high-and low-risk groups in the train cohort and test cohort. The gene discussed is UBL3; the disease is familial pancreatic carcinoma.