These results indicated that the function of the TLR2 and selected DEPs are associated with infection and immunity in MGs, especially those infected by bacteria. This evidence concerns the gene TLR2 and infection.