In conclusion, the ultrasound radiomics model, utilizing both intratumoral and peritumoral features, demonstrates effective diagnostic capability in predicting KRAS status in rectal cancer patients. The gene discussed is KRAS; the disease is rectal cancer.