Collectively, our findings provide new insight into the molecular pathogenesis of ECC, and BUB1B may be a candidate biomarker of prognostic prediction for CCA patients. Here, BUB1B is linked to cholangiocarcinoma.