The results revealed that bile acid levels, including TUDCA levels and log2 (GUDCA to UDCA ratio + 1), provided a greater contribution to the predictive ability of MMP-7 levels for BA diagnosis, and the AUC reached 0.976 (95% CI 0.953, 1.000), with a sensitivity of 0.942, a specificity of 0.932, and an accuracy of 0.938. This evidence concerns the gene MMP7 and breast angiosarcoma.