Both phylogeny and functional capabilities within the gut microbiota populations are of great importance for influencing host health. As a novel type of resistant starch, transglycosylated starch (TGS) modifies the microbial community and metabolite profiles along the porcine gut, but little is known about the related functional adaptations in key metabolic pathways and their taxonomic identity.