Background

Beef is a flavorful meat product that contains high-quality protein and various nutrients, which makes it popular in the meat market. In the beef cattle feeding industry, while grain-fed method feeds young cattle in feedlots with high-grain diets, grass-fed mode allows cattle to graze naturally with grass-based diets in the pasture. As the demand for healthy and palatable beef is increasing worldwide, grass-fed beef products gradually attract more attention in the meat market; a growing group of consumers is willing to pay a higher unit price for grass-fed beef than grain-fed beef [1]. Besides animal behavior aspects, diet component is one of the main differences between grain-fed and grass-fed methods to determine cattle performance [2]. One critical influence of diets is that diets primarily influence gut bacterial structures and drive microbial adaption in animals and humans [3]. The composition and function of gut bacteria in ruminant species are critical. Bacteria are the dominant kinds of microbes in the ruminant gut, which provide a significant contribution of metabolomic activities on cattle [4]. So far, many gut microbiome studies have focused on rumen bacteria to assess gut environment and meat performance of cattle, but roles of microbes in small intestine and colon are less explored. However, different segments of ruminant gastrointestinal tract possess unique ecological and microbial characteristics [5, 6]. After the digestive activity in the upper GI tract, peristalsis and a portion of undigested fibrous residuals together push digesta downward, to enter the small intestine and be in contact with villi of the intestinal epithelium where absorption happens. The small intestine is the main gut segment for the absorption of glucose, amino acids, fatty acids, and glycerol with the aid of bile and enzymes [4]. Because of the limited contact with the outside environment, low oxygen level, and little development time here, the small intestine of cattle GI tract is the segment where abundance and diversity of microorganisms are significantly reduced compared to rumen and hindgut (cecum and colon) in ruminant species [5, 7,8,9]. Although the abundance is relatively low, the bacteria in the small intestine played essential roles to aid digestion, including the conversion of primary bile acids, and the protection against pathogens in both human and animals [10, 11]. Importantly, by microbial actions in the small intestine, primary bile acids are mediated to produce secondary bile acids, deoxycholic acid (DCA) and lithocholic acid (LCA), which are conjugated and finally reabsorbed by the enterohepatic circulation for the recycling in liver to regulate digestion [12, 13]. Diet, as the primary determinant of the gut microbiome, may also post significant influences on bacterial structure of small intestine in cattle. Therefore, the small intestine bacteria and their relationships with bile acids are worth the exploration.

Previous studies of cattle microbial communities throughout the GI tract demonstrated compositional differences of the bacteria in the small intestine compared to other segments in both dairy and beef cattle [5, 14]. But not much information could be found to illustrate the influence of diet on the jejunal bacteria in beef cattle research. In this study, we hypothesized that bacterial compositions in the intestine are associated with diet components. We used Wye Angus beef cattle from the University of Maryland (UMD) Wye Angus farm. This herd has been closed to any animal importation for almost 70 years to produce homogeneous progeny [15]. The calves were treated and raised in the same way until weaning. After weaning, the calves were randomly assigned to either grass or grain-fed style to reach market weight and get slaughtered. Our previous studies using the same animals already pointed out several advantages of the grass-fed method over the grain-fed method [16, 17]. In this study, we would like to probe further from the aspect of the gut bacteria to explore the potential roles of bacteria in the jejunum and their relationships with bile acids to influence cattle metabolism. Since the influences may start from the early age of cattle and the jejunum is not accessible in young animals, we first examined the bacterial communities in the rectum to obtain an initial impression of the influence of the two different diets. After the reach of market weight, jejunal digesta were collected for exploration. In addition to the analyses of the fecal and jejunal bacterial communities, we also examined whether the components of bile acids were associated with the composition of the intestinal bacteria. We profiled the microbial structure in jejunum by using the 16S rRNA amplicon sequencing, together with bile acid quantification, to characterize the influences of different diets on the jejunal bacteria.

Results

Fecal bacterial communities influenced by diets in young beef cattle

Based on the OTU table analyzed with Quantitative Insights Into Microbial Ecology (QIIME) [18], there were 19 microbial phyla identified from grass-fed and grain-fed groups (Additional file 1: Figure S1). The most abundant phylum was Firmicutes, ranging from 38.36 to 68.42% of relative abundance percentages, followed by Bacteroidetes (37.77%), Proteobacteria (3.96%), and Verrucomicrobia (1.20%). Diversity indices were examined for the fecal bacterial communities of grass-fed and grain-fed cattle. Alpha-diversity indices including Chao1, Shannon, Simpson, and Phylogenetic diversity (PD_whole_tree) were calculated and analyzed using the Wilcoxon rank-sum test between the two groups to determine the p-value for group comparisons (Table 1). Overall, the grass-fed group showed significantly higher alpha diversity indices than the grain-fed group (p <  0.05), suggesting that grass-feeding resulted in a more diverse gut bacteria communities than the grain-feeding. Ordination plots showed a distinct clustering pattern of global bacterial composition between grass-fed and grain-fed groups. For the 10 most abundant bacterial families between the two groups, such as Ruminococcaceae (10.92%), Rikenellaceae (6.20%), Lachnospiraceae (4.61%), and Paraprevotellaceae (4.34%), biplot of the principal component analysis (PCA) biplots showed a distinct separation of the two groups and also presented the associations of families with the two principle components as vectors (Additional file 1: Figure S2).The group separation was also observed on principal coordinate analysis (PCoA) (Fig. 1) and was further tested for significance by permutational multivariate analysis of variance (PERMANOVA). The influence of diets alone explained 37.24% of the variation in beta diversity in fecal bacterial communities (permutation p = 0.001).

Table 1 Alpha diversity indices in cattle fecal bacterial communities
Fig. 1
figure 1

The effect of the diet on beta diversity of fecal bacterial community as shown by principal coordinate analysis (PCoA) based on unweighted Unifrac distance matrix

Differentially abundant taxa and important microbial features of fecal bacterial communities under different diets

Differential taxa were examined by the Linear Discriminant Analysis (LDA) Effect Size (LEfSe) algorithm [19], fourteen phyla were identified to be differentially abundant (LDA score ≥ 2.0) (Fig. 2a). The negative score value of grain-fed group was because of the order of the numerator and denominator during effect size calculation. Forty-seven families showed significant differences in relative abundances between the two groups (absolute LDA score log10 ≥ 2.0). A cladogram was plotted at the family level with the notation of differential taxa under different diets in grass-fed and grain-fed groups (Fig. 2b). Among these differential families, Ruminococcaceae, BS11, and Porphyromonadaceae were the top three discriminative features in the grass-fed group, while Succinivibrionaceae, S24–7, and Lachnospiraceae were the top three discriminative families in the grain-fed group. At the OTU level, among the 4182 OTU detected, 402 had a significant difference in relative abundance (LDA ≥ 2.0). Of them, 144 OTU showed enrichment in the grain-fed group, and the other 258 OTU showed a higher abundance in the grass-fed group. The select significant OTU were listed in Additional file 1.

Fig. 2
figure 2

a Significantly discriminative taxa at a phylum level with absolute Linear Discriminant Analysis (LDA) scores ≥2.0 in fecal bacterial communities between grain-fed and grass-fed cattle. The bars represented the effect size (log LDA score) for a particular taxon in a group. b The cladogram representing the taxa in the fecal bacterial communities. Taxa at the family level that had significantly different abundances between grass-fed and grain-fed cattle with an absolute LDA score ≥ 2.0 were displayed

The abundance value based on the genus level was further evaluated by applying a random forest analysis for the group classification (mtry = 14, ntree = 500), and a 100% predictive accuracy in distinguishing the grass- from grain-fed groups was achieved (Fig. 3). The importance of features was measured by the decrease in mean accuracy. The 20 most important features were plotted, and their abundance levels were noted on the left side of the plot. These taxa held the highest discriminatory power between grass-fed and grain-fed groups and may serve as microbial biomarkers.

Fig. 3
figure 3

Random forest analysis on fecal bacterial communities of grass-fed and grain-fed Angus cattle. The y-axis, from top to bottom, displays the genera ranked by their relative importance based on Mean Decrease Accuracy in the classification of dietary groups

The composition and structure of jejunal bacterial communities in beef cattle

A total of 24 phyla (Additional file 1), 44 classes, 77 orders, 149 families, and 263 genera were collectively detected. Of 24 phyla, the most abundant phylum was Firmicutes, which accounted for 63.11 to 98.21% in relative abundances. Other phyla with relatively high abundances included Proteobacteria (6.14%), Bacteroidetes (2.52%), Verrucomicrobia (1.92%), Actinobacteria (1.66%), and Elusimicrobia (0.89%). Among the 149 assigned families (Additional file 3), eight possessed a relative abundance higher than 1%, such as Clostridiaceae (33.82%), Peptostreptococcaceae (27.87%), Ruminococcaceae (6.03%), Enterobacteriaceae (5.69%), and Lachnospiraceae (5.62%). Bacteroidaceae, was also common in cattle, which accounted for approximately 0.99% abundance of jejunal bacteria families.

Both alpha and beta diversities in the jejunal microbial community were also analyzed. Common alpha-diversity indices were further analyzed using a Wilcoxon rank sum test; and no significant differences in alpha diversity indices were detected between grass-fed and grain-fed groups (p > 0.05, Additional file 1: Table S2). Nevertheless, the grass-fed cattle tended to have a marginally higher alpha diversity than the grain-fed group. For example, the PD_whole_tree value was 66.77 ± 18.04 (mean ± SD) for the grass-fed group, comparing to 49.02 ± 9.46 in the grain-fed group (Additional file 1: Table S2). A rarefaction analysis based on Chao1 values suggested that the sequencing depth in the current study was sufficient (Additional file 1: Figure S3). As for the beta diversity analysis, PCA was plotted based on the relative abundance matrix of the top 10 families between the two groups; and a clear separation was observed (Additional file 1: Figure S5). PCoA based on unweighted Unifrac distance matrix also presented a distinct clustering pattern between grass-fed and grain-fed groups (Fig. 4). PERMANOVA results suggested that the influence of diets alone accounted for 27.55% of the variation in the jejunal bacterial communities in Angus beef cattle (permutation p = 0.002).

Fig. 4
figure 4

The dietary effect on beta diversity in the jejunal bacterial community as shown by principal coordinate analysis (PCoA) based on unweighted Unifrac distance matrix

The diet is the primary determinant of jejunal microbial composition

Even though there was limited access to the external environment and low microbial abundance in the small intestine, diets still exerted several critical influences on microbial composition. Nine discriminative taxa at the phylum level were depicted (Fig. 5a). At the family level, 67 taxa showed significant differences in relative abundance between the two groups (LDA ≥ 2.0). For example, Enterobacteriaceae, Turicibacteraceae, RFP12, Elusimicrobiaceae, and Bifidobacteriaceae showed significantly higher abundance in the grain-fed group, whereas Bacteroidaceae, Rikenellaceae, Paraprevotellaceae, BS11, and Nocardioidaceae were significantly higher in abundance in the grass-fed group. A cladogram based on the family level was depicted (Fig. 5b), displaying taxa with significant differences in the jejunal bacteria. Forty-six named genera showed significant differences between the two groups (LDA ≥ 2.0, Additional file 3). For example, Streptococcus, Lactobacillus, and Ruminococcus were significantly higher in the jejunum of grain-fed group, whereas Solibacillus was significantly more abundant in the grass-fed group (Fig. 6). At the OTU level, 291 were significantly different in relative abundance between the grass-fed and grain-fed groups (Additional file 3). In comparison, 215 OTUs had higher relative abundance in the grass-fed group, and 76 OTUs showed higher relative abundance in the grain-fed group. Selected significantly different OTUs impacted by diets between the two groups were listed in Table 2.

Fig. 5
figure 5

a Significantly discriminative phyla with LDA score ≥ 2.0 in jejunal bacterial communities between grain-fed and grass-fed cattle. b A cladogram representing the significant families in the jejunal bacterial communities. Only those taxa that had significant differences in relative abundance between grass-fed and grain-fed cattle with an absolute LDA score ≥ 2.0 were displayed

Fig. 6
figure 6

Selected genera displaying significant differences in relative abundance in jejunal bacterial communities between grass-fed and grain-fed cattle. a Streptococcus. b Lactobacillus. c Ruminococcus. d Solibacillus. X-axis represents individual animals in a group; y-axis represents relative abundance

Table 2 Select significantly different OTUs in jejunal bacterial communities between grain-fed and grass-fed cattle

Potential jejunal microbial pathways inferred from the 16S data

With Phylogenetic Investigation of Communities by Reconstruction of Unobserved States (PICRUSt) method [20], a total of 6909 Kyoto Encyclopedia of Genes and Genomes (KEGG) Orthology gene families were identified. Of them, five KEGG gene families showed significant differences in abundance between grass-fed and grain-fed groups based on the default LEfSe cutoff [19] (Additional file 3). Specifically, only one KEGG, insertion element IS1 protein InsB (K07480), was more abundant in the grain-fed group. In contrast, methyl-accepting chemotaxis protein (K03406), RNA polymerase sigma-70 factor, ECF subfamily (K03088), DNA topoisomerase III [EC:5.99.1.2] (K03169), and ABC-2 type transport system permease protein (K01992) had significantly higher abundance in the grass-fed group. In total, 328 KEGG pathways were identified. Some abundant functional pathways in the jejunal bacteria included membrane transport such as ABC transporters, genetic information processing such as DNA repair and recombination proteins, and nucleotide metabolisms. LEfSe analysis identified seven pathways that had significantly different abundance between grass-fed and grain-fed groups (Fig. 7).

Fig. 7
figure 7

Predicted KEGG pathways significantly impacted by the diet in jejunal bacterial communities in Angus beef cattle (LDA score ≥ 2.0)

Associations between the jejunal bacteria and bile acids

Bile acids from gallbladder samples of eight cattle in each group were measured using a LC-MS/MS system. In total, 21 bile acids were identified and quantified, including both primary and secondary bile acids, and bile acid conjugates. Among them, 10 were significantly different between grass-fed and grain-fed groups (Table 3). Conjugated cholic acid and deoxycholic acid were detected at a relatively high concentration. For example, the levels of taurocholic acid, cholic and glycocholic acids were significantly higher in the grass-fed than the grain-fed group (Table 3; p <  0.05). Furthermore, at least six bile acids, including the conjugated form of common secondary bile acids, such as lithocholic acid and deoxycholic acid, were significantly higher in the grain-fed group. The other 11 detected bile acids, such as deoxycholic acid and ursodeoxycholic acid, were not significantly different between grass-fed and grain-fed groups (Additional file 1: Table S3), indicating their relatively low susceptibility to dietary influences in the gut of beef cattle. A critical concept of compositional balance has been introduced in recent studies for analyzing microbiome data [21, 22]. Selbal is a recently developed algorithm to identify the global microbial balance to find predictive microbial signatures of a phenotype of interest, specifically applicable on compositional data [22]. In our study, the predictive microbiome signatures that were most likely in association with secondary bile acids were obtained with Selbal. In the process, six secondary bile acids that were potentially related to bacterial bile acid conversion activities were used as the response variables for prediction in Selbal. Each time, one of the six bile acids was tested using the microbial abundance data at the genus level to perform modeling and variable selection. In total, twelve different taxa were selected among all the identified taxa, with some of them being used in more than one balances predictive of the corresponding bile acids (Table 4, Additional file 1: Figure S4).

Table 3 Ten bile acids with significant different levels between grass-fed and grain-fed cattle (concentration unit: μmol/ml)
Table 4 Global balances in jejunal bacterial communities highly predictive for secondary bile acids

Discussion

Grass- and grain-feeding represent two dominant feeding regimens in beef cattle production. Effects of diets on the gut bacteria are typically determined for ruminal and rectal microbial communities. However, microbial communities and their potential functions are critical for nutrient absorption in lower gut segments of cattle. In the jejunum, villi and microvilli increase the chance of food particles to encounter bile acids and digestive enzymes. Bacteria there actively participate in converting primary bile acids into secondary bile acids to aid digestion, especially the lipid [23]. In this study, we examined the fecal and jejunal bacteria communities and found that grass-fed and grain-fed methods altered the structure, diversity, and biological functional categories of the bacterial communities in both gut segments. Further, bile acids, influenced by diets, also exerted an influence on the jejunal bacteria communities.

From the feces of the 7-month-old young cattle under the two different diets, significant bacterial differences were evident from the phylum to the OTU level. The dominant phyla were in agreement with previous studies of cattle gut bacteria that Firmicutes was most abundant, followed by Bacteroidetes and Proteobacteria [8, 24]. At lower taxonomic ranks, Ruminococcaceae, the most abundant family, was higher in the grass-fed group, possibly because of its dependent on dietary fiber as an energy source [25]. Ruminococcaceae is also the most important family identified by random forest classification. Other genera also provided clues of possible influences of diets on fermentation strains in the upper forestomach. For example, Succinivibrio was 2-fold greater in abundance in the grain-fed group, possibly due to its abilities to ferment glucose into large amounts of succinic acid [26, 27]. These findings served as a baseline data and provided a reference for the jejunal bacteria characterization.

The unique environment and function of the small intestine make its bacterial community distinctive of those in the upper digestive tract [14]. From several previous studies, microbial diversities always decrease in this segment of cattle gut, because the sequential digestions in the upper gut and limited contact with the outside environment resulted in a reduced oxygen level [5, 9, 14, 24]. In our study, alpha diversity indices of jejunal bacterial communities did not achieve statistically significant differences between the two groups. Large variations among individuals, the unfavorable environment of the small intestine itself, and fast rate of digesta passage as well as relatively small sample size could potentially explain the phenomenon. Significant differences of specific taxa in bacterial communities of jejunum could have important health implications for beef cattle production. Lactate producers, such as Lactobacillus, Streptococcus, and Bifidobacterium [28, 29], and Megasphaera, a commonly known genus harboring many lactic acid utilizers [30], all showed higher abundances in grain-fed cattle. These genera have long been observed to be more abundant in high-grain diet and acidic rumen [29, 31]. Solibacillus was reported to decrease when diets were shifted to sub-acute ruminal acidosis induction diets, which potentially related to valerate metabolism [32]. Our study further showed that the same trend persisted from the rumen to the jejunum of grain-fed cattle. From the aspect of cattle health, these observations suggested that grain-feeding may lead to an acidic gut environment globally and had a significant impact not only in the rumen, but also in the jejunum.

As for functional categories of the bacterial communities in the jejunum, few KEGG gene families and potential pathways showed significant differences between the two feeding groups. In the grass-fed group, proteins involving microbial genetic activities were higher, which could potentially explain the enriched transcription machinery pathway. Porphyrin and chlorophyll metabolism were also higher, likely because of the higher intake of plant contents to the gut, since prophyrin is a structural compound of the chlorophyll. As for the grain-fed group, glycerophospholipid metabolism showed a significant increase. Glycerophospholipids were major complex lipids composed of glycerol, two fatty acids, phosphate, and an amino alcohol [33]. Higher lipids in grain-fed regimen, with the digestion facilitated by bile acids, could provide higher levels of glycerol and fatty acids in the small intestine for nutrient absorption, triggering more activities of glycerophospholipids metabolisms of microbes in grain-fed cattle jejunum. Further explorations will likely facilitate our understanding of the mechanisms on how these gut bacterial pathways were regulated under various diets.

Bacterial communities of the small intestine play a critical role in bile acid conversion. It has been reported that, gram-positive bacteria in the order of Clostridiales, including Ruminococcaceae, can produce 7α-dehydroxylation to convert primary bile acids into secondary bile acids [34]. In this study, six identified signatures, belonging to the family Ruminococcaceae, were more abundant in the grain-fed group, which might contribute to the observed higher secondary bile acids. Also, the increase of Lactobacillus, Clostridium, and Bifidobacterium in the grain-fed group can aid to deconjugate the amide bond between bile acids with glycine or taurine, to make bile acids available as substrates for further biotransformation by other microbes [34]. These differential taxa and microbial signatures provided evidence that there existed novel associations between gut bacteria and elevated secondary bile acids in the grain-fed cattle. In addition, potentially less healthy fatty acid profiles in grain-fed beef are worthy of further investigation.

Conclusions

In ruminants, a comprehensive survey of microbial composition in the small intestine digesta of grain- and grass-fed beef cattle is still in its infancy. In this study, bacterial profiles and candidate microbial biomarkers were identified in fecal matters of 7-month-old Angus cattle, suggesting an early influence of diet on the bacterial communities in beef cattle. Bacteria in the jejunum are much less diverse where Firmicutes is most predominant and accounts for more than 90% relative abundance, which may result from the lower pH and a higher rate of digesta passage. Moreover, differences in various microbial diversity indices there between the grass-fed and grain-fed cattle are not significant, while the microbial composition and pathways differ significantly. Most importantly, the gut bacteria in association with bile acids and microbial signatures are identified. There is an increased level of secondary bile acids in the grain-fed group, as well as increased bacterial taxa that promote the conversion of bile acids. Moreover, we identified bacterial signatures that are strongly associated with secondary bile acids. Furthermore, a microbial metabolic pathway, glycerophospholipid metabolism, is also enriched in the grain-fed group. Our results may provide important clues about the bacterial communities in the lower GI tract of beef cattle and can facilitate the comprehensive understanding of the jejunal microbes and their roles in bile acid metabolism.

Methods

UMD Wye Angus herd and experimental design

Steers selected for this study came from a population of cattle in the University of Maryland, Wye Angus beef cattle herd. This herd has been kept closed for over 50 years and maintained a very similar genetic background for all offspring, which reduces the genetic variations of groups for our study. Two kinds of feeding methods, grain-fed and free-range grass-fed methods, were used in this herd as two experimental groups in this study. The grain-fed group received finishing diets including corn silage, shelled corn, soybean, and trace minerals, which were high in energy and protein. The grass-fed group had free access to grazed alfalfa and consumed bailage during cold seasons. The hay contained no fertilizers, pesticides, or other artificial chemicals. Steers from the grass-fed group in this herd were not fed with any animal, agricultural, or industrial byproducts, and were not supplied with any types of grain. Each steer’s date of birth, birth weight, dam, and sire information were all recorded. Every 24 to 28 days, body weight was measured, and average daily gain (ADG) was calculated. All metadata of the steers were recorded.

Sample collection of fecal and jejunal contents

Twenty-two young male cattle were obtained and raised at UMD Wye Angus herd. Twelve animals were fed with grass ad libitum. The other 10 cattle were fed with grain diets. Around 7 months old, feces at the rectum of both groups of cattle were sampled at UMD Wye Angus farm (Queenstown, MD) and immediately frozen in dry ice and stored at − 80 °C freezer in the lab until microbial DNA extraction. After the young animals under two dietary systems reached their marketing weight, cattle were slaughtered and jejunal contents were immediately collected for microbial DNA extraction.

DNA extraction, 16 s rRNA gene amplification, and sequencing

Microbial DNA from feces and jejunal contents was extracted using QIAamp DNA stool kit (Qiagen, Valencia, CA) with one protocol modification that replaced the lysis procedure in protocol with an eight-minute 95 °C incubation in a water bath. DNA concentration was then measured using NanoDrop 2000 spectrophotometer (Thermo Fisher Scientific, Waltham, MA USA). 16S rRNA gene sequencing was performed as previously described [35]. Briefly, QIAamp DNA stool kit (Qiagen, Valencia, CA) was used for microbial DNA extraction for both fecal and jejunal contents. DNA concentration was then measured using NanoDrop 2000 spectrophotometer (Thermo Fisher Scientific, Waltham, MA USA). Hypervariable V3-V4 regions of the 16S rRNA gene were amplified through PCR from 20 ng of total DNA with PAGE-purified Illumina platform-compatible adaptor oligos. The primer sequences were as follows: forward primer, 341/357F, CCTACGGGNGGCWGCAG; reverse primer, 805/785R: GACTACHVGGGTATCTAATCC. DNA concentration and sizes were quantified using a BioAnalyzer 2000 (Agilent, Palo Alto, CA). Amplicons were finally purified using Agencourt AMPure XP bead kits (Beckman Coulter Genomics, Danvers, MA). The library pool was sequenced in an Illumina MiSeq sequencer with an Illumina MiSeq Reagent Kit according to a protocol previously described [36].

Bile acids measurements

Bile acid composition was measured from the liquid bile by a commercial lab (Creative Proteomics, Shirley, NY) according to a procedure published previously [37]. Five microliter of cattle bile was mixed with 995 μL of methanol in a microfuge tube. After mixing by vortex for 15 s and sonication for 2 min, the separation was done by centrifuging at 15,000 rpm at 10 °C for 15 min. Eight microliter of the supernatant was then mixed with 992 μL of 50% methanol. After preprocessing, 20 μl aliquots were used for quantitation by UPLC-(−)ESI-MRM/MS according to a procedure published previously [37]. Standard curves for bile acid concentrations were performed, as follows: a STD mix containing standard substances of all the quantified bile acids was dissolved in 50% methanol, and this standard solution was used as S1. The S1 standard solution was diluted in a series at the same dilution ratio of 1 to 4 with 50% methanol to have standard solutions of S2 to S10. Fifty microliter of each of S1 to S10 was mixed with 50 μl of 14 D4-bile acid SIS mix (as internal standards) and 100 μl of 50% methanol. Twenty microliter aliquots were injected to record the data files so as to prepare calibration curves. Linear regression (As/Ai peak area ratio versus concentration) was used for calculation of bile acid concentrations measured in the individual samples. The ratio of the peak areas of the sample (As) to the peak area of the internal standard (Ai) were measured to compare with the concentration ratio derived for each calibration standard to calculate the Response Factor (RF). SciexMultiQuant was used for data processing. Wilcoxon rank sum test was used to compare the difference of bile acid from grass-fed to grain-fed group with a selected threshold for p-values < 0.05.

Bioinformatics and data analysis

Raw sequences were first analyzed with FastQC (version 0.11.5) to examine the quality of sequencing. The first four maximally degenerate bases (“NNNN”) at the most 5′ end, designed to maximize the diversity during sequencing run to better identify unique clusters and improve base-calling accuracy, were trimmed with Trimmomatic version 0.38 [38]. Then, the processed pair-end reads were merged using PandaSeq v2.11 with default parameters to join the reads into representative complete nucleotide sequences (contigs) [39]. Overlapped reads with high mismatches and low-quality scores were filtered and removed during this process. Bacterial communities of feces and jejunum were examined based on the OTU table generated from the closed reference pipeline of Quantitative Insights Into Microbial Ecology (QIIME) version 1.9.1 [18, 40]. Operational taxonomic unit (OTU) was identified using a closed-reference OTU picking protocol with a threshold of 97% similarity. Taxonomic assignment was performed based on the GreenGenes database v13.8 [41]. Alpha-diversity was obtained at OTU level with alpha_diversity.py in QIIME and analyzed using a Wilcoxon rank sum test in R. For beta-diversity, beta_diversity.py in QIIME was used to obtain distance matrices. PCA on phylum level abundance, PCoA based on unweighted Unifrac distance followed by PERMANOVA, were performed with vegan [42] and factoextra [43] packages of R to examine the community level variances. The graphs were plotted with ggplot2 [44]. PICRUSt (v1.1.2) was used with default parameters to predict metagenomics, KEGGs gene families with regarding contributions of OTU, and functional categories between grass-fed and grain-fed groups based on 16S rRNA marker gene sequences. PICRUSt normalize_by_copy_number.py was used for normalization before functional pathway prediction. This step divided each OTU’s abundance value of each sample by its predicted 16S rRNA copy number based on Greengenes to correct the OTU table abundances [20]. The software takes the OTU table from QIIME as input. After reads normalization with normalize_by_copy_number.py, the workflow predict_metagenomes.py was applied to predict metagenomes and obtain KEGG Orthologs. Predicted metagenome functions were finally analyzed by categorize_by_function.py to collapse thousands of KEGG Orthologs into higher functional categories (pathways). LEfSe algorithm [19] was used in the differential analysis to identify significantly different taxa, KEGGs, and pathways between the grass-fed group and grain-fed groups. LEfSe can identify abundant differences of representative features between two or more sample conditions, considering samples’ biological categories as well as statistical significance to perform comparative analysis based on feature abundance. Non-parametric factorial Kruskal-Wallis (KW) sum-rank test, Wilcoxon rank-sum test, and a Linear Discriminant Analysis were used together to identify differential features and effect sizes. The absolute values of this effect size could be interpreted as the scale of difference between the comparison groups [19]. In addition, random forest (RF) classification was performed with the group as the class using R randomForest package v4.6–14 [45]. The number of trees (ntree) in the forest was set to 501 and the number of features randomly sampled for each split of the tree (mtry) was 14. The out-of-bag decrease in accuracy was averaged in all trees for a variable (mean decrease accuracy) and used as the measurement of variable importance. Selbal was used to identify global balances of the two groups and identify microbial signatures predictive of significantly different secondary bile acids with default parameters [22].