These effects were strongly associated with the influence of B4galnt2 expression on the intestinal microbiota, whereby microbial diversity prior to infection was highly predictive of reduced inflammation and resistance to Salmonella Typhimurium infection. This evidence concerns the gene B4GALNT2 and infection.