UBD and mastitis: There were 11 common genes revealed by both iHS and ROH analyses: MTIF3, UBD, OR12D2, KIZ, LNX2, USP12, POLR1D, GTF3A, GSX1, RPL21, and MIR12033. The majority of the 11 common genes detected by both methods were related to heat stress, reproduction, immunity, and mastitis.