In conclusion, this study established a stable and accurate prognostic signature based on four TEX-related genes (PALLD, RAB31, ADAMTS2, and WISP1), which may be a powerful predictor for the prognosis of CCA patients. This evidence concerns the gene RAB31 and cholangiocarcinoma.