Skip to main content

Thank you for visiting You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

The fecal resistome of dairy cattle is associated with diet during nursing


Antimicrobial resistance is a global public health concern, and livestock play a significant role in selecting for resistance and maintaining such reservoirs. Here we study the succession of dairy cattle resistome during early life using metagenomic sequencing, as well as the relationship between resistome, gut microbiota, and diet. In our dataset, the gut of dairy calves serves as a reservoir of 329 antimicrobial resistance genes (ARGs) presumably conferring resistance to 17 classes of antibiotics, and the abundance of ARGs declines gradually during nursing. ARGs appear to co-occur with antibacterial biocide or metal resistance genes. Colostrum is a potential source of ARGs observed in calves at day 2. The dynamic changes in the resistome are likely a result of gut microbiota assembly, which is closely associated with diet transition in dairy calves. Modifications in the resistome may be possible via early-life dietary interventions to reduce overall antimicrobial resistance.


Antimicrobial resistance (AMR) is a worldwide public health threat1 with increasing incidence of multidrug resistance found in clinical pathogens2,3. The global dissemination of antimicrobial resistance genes (ARGs), including emerging resistances to “last resort” antibiotics such as carbapenem and colistin, prompts the study of novel methods to control the bacterial clades that harbor and propagate ARGs4,5. In addition to pathogens, commensal bacteria are also reservoirs of ARGs and influence AMR transmission6,7. Compared with human applications, antibiotics are used considerably more for livestock. AMR in livestock limits therapeutic options and creates reservoirs of resistance that can be transmitted to humans via the food chain or environmental effluents. Although such transmission may compromise treatment of human infections8,9, in-depth investigations employing metagenomic sequencing to study the diversity and abundance of ARGs, and in particular the genes possessed by commensal bacteria in food-producing animals (e.g., cattle), remains limited10.

The reservoirs of ARGs present in food-producing animals commonly confer resistance to clinically important antibiotics11. The prevalence of antibiotic-resistant bacteria, such as Escherichia coli and Salmonella species, in dairy cattle is typically age-dependent with a higher abundance in earlier stages of life (i.e., pre-weaned calf) albeit this pattern is not necessarily associated with recent use of antimicrobials12,13. Data on the impact of other factors such as diet (milk vs. solid food)14, herd size and farm type15 on the presence of antibiotic-resistant E. coli in calves remains inconclusive. In addition, antibacterial biocides and heavy metals, e.g. copper sulfate, are commonly used as additives in animal feed and may impose a long-term selection pressure for AMR16. Studies have suggested the co-selection of biocide and antibiotic resistances in agricultural soil, water17, and swine manure18; however metagenomic validation of co-occurrence between ARGs and biocide/metal resistance genes (BMRGs) in cattle during nursing is currently lacking.

In dairy cattle, the rumen microbial community is necessary to convert dietary plant substrates into accessible nutrients and has been studied from birth to adulthood19,20. Dietary transitions during the early life (i.e., nursing) of calves drive changes of the gut microbiota21, including the progressive acquisition of species capable of digesting complex carbohydrates. In a recent study, Auffret et al.22 tested the influence of diet on rumen functional genes by comparing the rumen contents from concentrate-fed and forage-fed beef cattle. Interestingly, the authors found that the rumen resistome (the collection of all ARGs) composition is significantly related to diet, and that both the diversity and abundance of ARGs were higher in concentrate-fed animals22. These findings clearly suggest that diet-driven dynamic change of the gut microbiome has the potential to modify the gut resistome. While the microbial communities of all compartments in the gastrointestinal tract (GIT) of dairy cattle are important23, bacteria harboring ARGs in the fecal microbiota, are more likely to contaminate the wider environment24. Studies have profiled the fecal microbial community of dairy animals from birth25 to first lactation26, but the profile of resistome over time has not been characterized. In particular, the relationship between the changing bacterial populations in cattle feces and antimicrobial resistance remains unknown.

To address these knowledge gaps, this study examines the hypothesis that the early developing gut microbiome of dairy calves serves as an initial point of establishment for bovine-associated ARGs and is driven, in part, by dietary changes during early life. To test this, time-series feces from newborn calves (n = 22) were collected to understand the accumulation of the microbiome with a subset of the samples metagenome sequenced to explore the resistome. Maternal colostrum from corresponding mothers was also studied to identify potential migration of both bacterial strains and ARGs to dairy calves. The co-occurrence of BMRGs and ARGs was explored to assess the risk of heavy metals and biocides in selecting for resistance in the absence of antibiotics. A time-course comparison of carbohydrate-active enzymes in the fecal microbiome of dairy calves documented the relationship between diet and the resistome over time. These findings provide a comprehensive view of the dairy cattle resistome in early life and shed light on interventions leveraging dietary modifications to mitigate AMR in food-producing animals.


The gut microbiota is rapidly assembled in dairy calves

In order to explore how the bovine resistome changes during early life it was necessary to first profile the taxonomic changes in calves. To assess these dynamic microbiota variances, fecal samples were collected from 22 dairy calves (n = 484) over the first 10 weeks of life (Fig. 1a). All DNA samples were initially subjected to ribosomal marker gene sequencing, and ~9 million quality-filtered 16S rRNA gene sequences were obtained with 18992 ± 5370 (mean ± s.d.) reads per sample. The data revealed that the fecal microbial community was assembled rapidly with alpha diversity as measured by both Chao1 richness and Shannon index significantly increasing over time (GEE; P < 0.001 for both models) (Fig. 1b). Sequencing data also displayed a temporal change in microbial structure (GUniFrac, PERMANOVA test by adonis2; P = 0.005) (Fig. 1c, d). Over 60% of the fecal microbiota was represented by the bacteria classified into the families Ruminococcaceae, Lachnospiraceae, and Bacteroidaceae (Fig. 1d). Interestingly, Enterobacteriaceae accounted for ~25% of the fecal microbiota in the first week of life of dairy calves, during provision of colostrum and milk replacer, but the relative abundance of this family decreased significantly afterward to less than 5% (Kruskal–Wallis; P < 0.05) (Fig. 1d). Although dairy calves had constant access to a calf starter diet from day 2, milk replacer served as the primary source of nutrients and energy during the first few weeks of life, but as time passed calves ate an increasing amount of calf starter (Fig. 1a). In summary, the fecal microbiota of dairy calves increased in diversity over time as the animals aged and their diets became more diverse.

Fig. 1

Dairy calf fecal microbiota changes over the first 10 weeks of life. a The diet, sampling, and sequencing scheme for dairy calves (n = 22). TMR indicates a total mixed ration diet. b Boxplots of alpha diversity as measured by Chao1 richness and Shannon diversity index. The Chao1 richness and Shannon index values were presented as the median (central black horizontal line); the lower and upper hinges correspond to the 25th and 75th percentiles. Outliers are displayed as small black circles. c 2-dimensional NMDS of dairy fecal samples based on GUniFrac (stress = 0.16). Subsampling to obtain equal sample size (n = 22) at each time point was completed prior to performing the ordination analysis and PERMANOVA. The centroid of each ellipse represents the group mean, and the shape was defined by the covariance within each group. d Bar plot depicting the relative abundance of bacterial families over time; unclassified taxa and bacterial families which has a relative abundance less than 1% were grouped into “Others”

Bovine colostrum, the first food given to calves, serves as a reservoir of bacteria27,28, and likely contributes to seeding the early-life calf gut microbiota. To examine this, colostrum samples collected from dairy cows (n = 22) were also sequenced. After quality filtration, a total of 250184 16S rRNA reads were obtained for 44 colostrum samples with 5686 ± 427 (mean ± s.d.) sequences per sample. The first and second colostrum that the calves were given during the first day of life, exhibited similar alpha diversities (Shannon index; Kruskal–Wallis; P> 0.05) (Supplementary Fig. 1a) and indistinguishable composition based on beta diversity measurements (GUniFrac; PERMANOVA; P> 0.05) (Supplementary Fig. 1b). Colostrum was dominated by bacteria classified into the families Streptococcaceae, Enterobacteriaceae, and Enterococcaceae, representing a combined ~90% of the microbiota (Supplementary Fig. 1c). A substantial portion (~30.6%) of the early dairy fecal microbiota (week 1) were comprised of these families (Fig. 1d) which suggests bacterial transmission.

To further test the possibility of bacterial transmission from colostrum to dairy calves, we employed shotgun metagenomic sequencing on paired feces and colostrum samples randomly selected from the larger cohort. Fecal samples from four time points were included: day 2, day 5, week 3, and week 7. Metagenome binning has the tendency to group closely related species and subspecies29,30, making it a less than ideal approach to evaluate bacterial transmission at the strain level. Therefore, we performed metagenome strain profiling of the species E. coli using two independent approaches, PanPhlAn31 and StrainEst32. E. coli was chosen for this analysis because Enterobacteriaceae occurred at high relative abundance in feces in dairy calves during the first days of life and in colostrum; E. coli represents the majority of sequences classified in this family (see Methods). The PanPhlAn results indicate that the E. coli strains from this study have similar genetic profiles and thus were clustered together amongst all the strains analyzed, including 118 E. coli reference genomes (Supplementary Fig. 2a). In particular, the dominant E. coli strains from colostrum and fecal samples at day 2 showed similar functional capacities (Jaccard; PERMANOVA; P= 0.15) (Supplementary Fig. 2a). At day 5, in the fecal samples of dairy calves, dominant E. coli strains started to diverge from colostrum samples which eventually demonstrated distinct genetic profiles at week 3 (Jaccard; PERMANOVA; P= 0.004) (Supplementary Fig. 2a).

In addition, StrainEst data suggests that there was a greater diversity of co-existing E. coli strains in dairy calves at day 2 compared to colostrum samples, and this diversity increased to day 5 but decreased dramatically at week 3 (Friedman’s test; P = 0.02) (Supplementary Fig. 2b). On average, there were 63 distinct E. coli strains observed in colostrum samples, with 33.13% of them were shared with dairy calves at day 2. When looking at the overlap between colostrum samples, day 2, and day 5 samples, 15.63% of strains were found in all three samples. By week 3, only one of the three calves included in the metagenomic sequencing subset had high enough levels of E. coli detected for the strain analysis. In this calf, 3.08% of E. coli strains in colostrum were in the day 2, day 5, and week 3 fecal samples (Supplementary Fig. 2c). For both strain profiling analyses, E. coli was below our detection limit at metagenomes from week 7. This is likely due to the gradually increased gut microbiome diversity and decreased relative abundance of E. coli over time. Overall, our findings clearly suggest that colostrum acts as a carrier of specific bacterial species that seed and temporally persist in the gut microbiome of dairy calves.

Fecal resistome significantly changes over time in dairy calves

To understand the resistome dynamics during early life, shotgun metagenomic sequences used for strain analysis were tested for the presence of ARGs. Sequencing sample size (n = 3 dairy calves) was determined based on the fact that dairy calves of the same breed in our cohort have limited genetic diversity, and they were housed in the same way with identical diets, more importantly, at the same age they possess very similar microbiota (16S rRNA gene sequencing analysis) and thus we expect small resistome variance between subjects. 135 Gb of Illumina sequencing data were produced from 12 fecal microbiomes of dairy calves, and we acquired 11.2 million 150 bp paired-end reads per sample (on average) after host-subtraction and trimming. Our analysis with the AMR++ pipeline (see Methods) revealed that dairy calves are a source of 329 ARGs belonging to 139 ARG groups (Supplementary Fig. 3, Supplementary Data 1), which represent 39 antibiotic resistance mechanisms. The detected ARGs were predicted to confer resistance to a collection of 17 classes of antibiotics in an abundance range of 0–3.75 copies of ARG per 16S rRNA gene among samples (Fig. 2a). Over 50% of the ARGs observed in the day 2 samples were predicted to confer a multidrug resistance phenotype; however, the relative abundance of these ARGs decreased afterward. In contrast, tetracycline resistance gradually increased over time reaching a relative abundance above 70% of all ARGs at week 7 (Fig. 2a). ARGs predicted to confer resistance to aminoglycosides represented a substantial portion of the resistome (~30% of total ARGs), and their abundance was relatively stable throughout the 7 weeks included for analysis (Fig. 2a). In general, we observed that the fecal resistome of dairy calves significantly changes over time (Bray-Curtis; PERMANOVA; P = 0.002), with early-life samples (day 2 and day 5) forming separate clusters while later samples (week 3 and week 7) were more similar (Fig. 2b).

Fig. 2

The fecal resistome structure of dairy calves over time. (a) Dairy calf fecal samples exhibited a broad antibiotic resistance spectrum including resistance to 17 classes of antibiotics. The counts data were normalized by 16S rRNA gene and the ARG abundance was expressed as “copy of ARG per copy of 16S rRNA gene” (see Methods). b 2-dimensional NMDS of calf  resistome based on a Bray-Curtis dissimilarity calculation (stress = 0.02), showing changes in resistome structure over time assessed by PERMANOVA. Polygons were applied to group samples at the same time point. Source data are provided as a Source Data file

In addition to the progressive change in the structure of the fecal resistome, the total abundance of observed ARGs decreased significantly over time; starting at 5.14 copies of ARG per 16S rRNA gene at day 2, and then declined to 0.77 copies of ARG per 16S rRNA gene at week 7 (Friedman’s test; P = 0.02) (Fig. 3a). As expected, we observed small resistome variances between calves and the sequencing sample size did offer sufficient statistical power to capture the dynamic changes of ARGs abundance over time (effect size is 6.68-fold decrease of ARG abundance from day 2 to week 7). In contrast to the progressively reduced overall abundance of ARGs, the number of ARG types (ARG richness) present in dairy calves increased significantly from day 2 to day 5 and declined gradually afterward (Friedman’s test; P = 0.04) (Fig. 3b).

Fig. 3

The dynamics of the dairy calf fecal resistome over time. a Boxplot (boxes representing IQRs with median shown in black) of the distribution of total ARG abundance in dairy calves from day 2 to week 7. b Boxplot of the number of unique ARGs observed in dairy calves over time. c The predicted bacterial families of ARGs and associated resistance gene abundance in dairy calves. The first 7 families, which are predicted to represent 69.45% of the total ARG abundance and 96.66% of the ARG diversity, are listed here, and the remaining bacterial taxa are grouped into the “Others” category. The taxonomy of ARGs was estimated by assigning taxa at the family level to ARG-containing metagenomic-assembled contigs (see Methods). The size scales with the normalized abundance of ARGs (per copy of 16S rRNA gene) assigned to the particular family at each time point, and colors were used to distinguish different taxa. d The predicted ARG richness of each bacterial family over time. The richness is defined as the number of unique ARGs detected during the AMR++ analysis (see Methods). *P < 0.05, and n.s. indicates P > 0.05 by Friedman’s test followed by multiple pairwise comparisons using Nemenyi post-hoc test

By assigning the taxonomy to ARG-containing metagenomic contigs, we were able to predict the bacterial origin of observed ARGs. ARGs detected were predicted to belong to 75 different bacterial families, with families Enterobacteriaceae, Lachnospiraceae, Enterococcaceae, Ruminococcaceae, Bacteroidaceae, Streptococcaceae, and Clostridiaceae representing 69.45% of the total ARG abundance and accounting for 96.66% of all detected ARGs (Fig. 3c). Among these microbial clades, Enterobacteriaceae harbors the most ARGs and the abundance of ARGs assigned to this family gradually decreased over time (Fig. 3c). Over 90% of the microbes classified in Enterobacteriaceae were E. coli (Supplementary Fig. 4). Consistent with the overall dynamics of observed ARG richness, the number of different ARGs was highest at day 5 for all bacterial families and showed a gradual reduction afterward (Fig. 3d).

Given the prevalence of ARGs potentially contributed by Enterobacteriaceae, we assessed the absolute abundance and explored the resistance profile specifically for this family. The absolute population of Enterobacteriaceae, as determined by qPCR, remained relatively constant throughout the sampling period (Supplementary Fig. 5a), however the relative abundance as determined by amplicon sequencing (Fig. 1d and Supplementary Fig. 5b) showed a dramatic reduction. This reflects the expected increase in total bacterial population during this early stage of gut microbiome development. Interestingly, the abundance of ARGs within the Enterobacteriaceae decreased after week 1 during our sampling period (7.6-fold decrease from week 1 to week 7; Supplementary Fig. 5c) despite the persistent absolute abundance of this group throughout.

Importantly, ARGs conferring resistance to MLS (macrolides, lincosamides, and streptrogramin A and B) and tetracyclines—two medically-important classes of antibiotics—increased within the first week but remained high at day 5 until the end of sampling (Friedman’s test; P < 0.05) (Fig. 4). In particular, tetracycline resistance genes tet32, tet40, tetO, tetQ, and tetW, and MLS resistance genes including ermB, lnuC, and mefA showed a gradual increase in abundance from day 2 to week 7 (Supplementary Fig. 6). As a separate validation to metagenomic sequencing, quantitative PCR confirmed that the absolute abundance of tetQ, one highly abundant tetracycline resistance gene, increased over time. Specifically, a 900-fold increase was observed from day 2 to week 7 in this cohort (Supplementary Fig. 7). This qPCR approach confirmed our resistome findings obtained from metagenomic sequencing across a larger number of samples (n = 41) from additional calves.

Fig. 4

The distribution of resistance to the class of MLS and tetracyclines. The analysis was based on the normalized ARGs data from the AMR++ pipeline (see Methods). *P < 0.05, and n.s. indicates P > 0.05 by Friedman’s test followed by multiple pairwise comparisons using Nemenyi post-hoc test. Boxplots representing IQRs with median shown in black

Transferrable ARGs, which greatly contribute to the overall dissemination of antibiotic resistance, are of specific concern. To assess the prevalence of these genes in dairy calves, assembled metagenomic contigs were run through ResFinder, a database which focuses on acquired ARGs (see Methods). A total of 67 ARGs with transfer potential were detected in dairy calves, conferring resistance to 10 classes of antibiotics (Fig. 5). The observed ARGs were predicted to exhibit a wide distribution across 23 families of bacteria; Enterobacteriaceae, Enterococcaceae, Peptostreptococcaceae, and Streptococcaceae were the families have the most ARGs (Fig. 5). Interestingly, a recently-discovered gene, optrA, which confers transferable resistance to oxazolidinones and phenicols33, was detected in one of the dairy calves at day 5. This gene was predicted to originate from a Staphylococcus sciuri and has not been reported from an animal source in the United States (Fig. 5). In agreement with the total ARGs prevalence analysis with the AMR++ pipeline, an overall increased diversity of transferrable ARGs were observed in dairy calves over time, with day 5 samples enriched with the highest number of different ARGs (Supplementary Fig. 8a). In general, the predicted transferrable ARGs were mostly harbored by two bacterial phyla, Firmicutes (34 genes) and Proteobacteria (28 genes), while the bacterial phyla Bacteroidetes, Actinobacteria, and Spirochaetes possessed a lesser number of ARGs (4, 5, and 1 genes, respectively; Supplementary Fig. 8b). Only limited ARGs were shared across phyla (Supplementary Fig. 8b), indicating that bacterial phylogeny shapes the gut resistome in dairy cattle. For example, the gradually increased ARG, tetQ (Supplementary Figs. 6 and 7), was mainly predicted in Bacteroidaceae (Fig. 5).

Fig. 5

The predicted bacterial families of 67 transferrable ARGs. ARGs were grouped per class of antibiotics. Bacterial families were ranked, top to bottom, by diversity of ARGs present, with the families harbor the most diversity of ARGs at the top. Data were obtained from the ResFinder analysis

Colostrum seeds >90% of early-life ARGs in dairy calves

Given that dairy calf fecal and colostrum samples share several ARG-enriched taxa (e.g., E. coli) and the abundance of ARGs in feces reached its highest levels at day 2 (very early stage), we hypothesized that colostrum serves a significant initial vector of ARGs to calves. To assess this, shotgun metagenomic sequenced colostrum samples were analyzed for the presence of ARGs (see Methods). We produced 38.6 GB Illumina sequencing data from 6 colostrum microbiomes, and ~1.5 million 150 bp paired-end reads per sample were obtained. As expected, of the 105 ARGs detected in colostrum, 73 were present in feces, representing ~90.1% (73/81) of total ARGs detected in dairy calves (Fig. 6a). The overall resistome structure in early-life feces (day 2) closely matched the pattern in colostrum (Fig. 6b). Fecal samples indicated an overall higher abundance of observed ARGs than colostrum, but colostrum samples showed a higher number of different ARGs present (Fig. 6a, b). In all instances, there was a strong and significant correlation of the resistome pattern between paired colostrum-feces samples (Spearman’s rho = 0.62 to 0.75, P < 2.2e-16) (Fig. 6c). These data support findings presented earlier (Supplementary Fig. 2) suggesting that colostrum serves as a carrier for ARGs.

Fig. 6

The vertical transmission of ARGs from colostrum to dairy calves. a Venn diagram showing shared ARGs between colostrum and day 2 fecal samples. b The presence of 105 normalized ARG groups (per AMR+ + pipeline) was denoted as dots in colostrum and day 2 fecal samples, the size of dots indicates abundance, and the color of lines indicates animals. c Spearman’s rank correlation coefficient was calculated to study the correlation of ARG-patterns in paired colostrum and fecal samples. C represented colostrum sample, F indicated fecal sample; two colostrum samples and one fecal sample were collected per calf for this analysis, numbers were added to distinguish samples across animals. Source data are provided as a Source Data file

BMRGs co-select with ARGs

Animals enrolled in this study were not treated with any traditional antibiotics. However, exposure of cattle to other compounds, such as antibacterial biocides and metals, may contribute to the promotion of antibiotic resistance through co-selection16. Thus, understanding the biocide/metal resistome structure will help illuminate possible sources of indirect selective pressure for antibiotic resistance in dairy calves. Metagenomic sequencing reads of fecal samples were aligned to the BacMet database, matches were tallied, and normalized data were used for comparisons (see Methods). A total of 104 MRGs (Supplementary Fig. 9, Supplementary Data 2) were detected in dairy calves conferring resistance to a series of 15 different antibacterial metal compounds including Sb, As, Cd, Cu, and Ag (Supplementary Fig. 10). In addition, 34 genes found in samples from dairy calves were predicted to confer a biocide resistance phenotype in the present study (Supplementary Fig. 11, Supplementary Data 2). Similar to the dynamics of ARGs in dairy calves, we observed diminishing BMRG abundance with time (Friedman’s test; P < 0.05) (Fig. 7a), but the number of different resistance genes did not change significantly over time (Friedman’s test; P > 0.05) (Fig. 7b). In summary, the abundance of BMRGs, together with ARGs, decreased over time, in concert with a relative reduction in Enterobacteriaceae.

Fig. 7

The distribution of antibacterial biocide and metal resistance. a Boxplot (boxes representing IQRs with median shown in black) of the abundance of normalized BMRGs; BMRGs significantly declined over the course of sampling. b Boxplots showing the richness of dairy calves; BMRGs remained comparable over time. BMRGs data were normalized by the same method used for normalization of ARG reads (see Methods). *P < 0.05, and n.s. indicates P > 0.05 by Friedman’s test

To assess the potential for co-selection34, the ARGs and BMRGs with transfer capability that were present in at least half of the metagenomic sequenced fecal samples, were used to predict co-occurrence patterns. Network inference modeling35 revealed that ARGs and BMRGs were strongly correlated in dairy calves. In the predicted correlation model, 40 resistance genes (nodes) formed three separate clusters while one tetracycline resistance gene, tet44, did not show strong correlation with any other genes (Fig. 8). In cluster #1, several biocide resistance genes (ttgH, ttgI and ttgG) co-occurred with the copper resistance genes cusC, cusB and cusA, and all demonstrated a strong connection to a variety of betalactam ARGs (mecA, blaEC, ampH, and AmpC). In cluster #2, another set of copper resistance genes (actP, copR, pcoR, and tcrB) were positively correlated with Cd and Ag resistance genes. Importantly, the majority of these metal resistance genes exhibited a significant correlation with aminoglycosides ARGs (aac(6’)-Im, aph(2”)-Ig, ant(6)-Ia and aph(3’)-Ia) and one MLS ARG (ermB). Antibacterial heavy metals are a common “contamination” of animal feed36, and our analysis hereby indicated that a co-occurrence between ARGs and BMRGs is likely occurring in dairy cattle.

Fig. 8

The co-occurrence networks among ARGs and BMRGs in dairy calves. The nodes (resistance genes) were colored by corresponding class of antibiotics, metal or biocide compounds, and the size of each node represented the number of connections (degree)

Changing diet covaries with the fecal resistome in dairy calves

Because the calf fecal resistome changed significantly during a period of dietary transition, we sought to understand the connection between the modification of the diet-related microbiome and changes in ARG structure. We primarily focused our functional analysis on enzymes involved in the digestion of complex carbohydrates, which represent a large portion of the calves’ diet that is inaccessible to the host37,38. Fecal metagenomes analyzed for COG and CAZy content revealed a significant change in the functional configuration of fecal microbial communities over time (Bray-Curtis; PERMANOVA; P < 0.05 for both cases), with the most substantial differences occurring in the first week (day 2 vs. day 5) (Fig. 9a, b). Specifically, a progressive increase in the number of CAZy enzyme families (CAZy family diversity) was observed (Friedman’s test; P = 0.04) (Fig. 9c). The dairy fecal microbiome was composed of 6 classes of CAZy-annotated enzymes, of which over 70% characterized CAZy proteins were classified as either a glycoside hydrolase or a glycosyltransferase (Fig. 9d). Of these, the relative abundance of glycoside hydrolases increased after day 2, and that of glycosyltransferase decreased. Genes encoding polysaccharide lyases did not appear in the samples until day 5, and other CAZy-associated enzymes (auxiliary activities) were only present on day 2 and day 5 (Fig. 9d).

Fig. 9

Functional capacity of the calf fecal community over time. a 2-dimensional NMDS based on Bray-Curtis dissimilarity of COG pathways (stress of 0.07). b 2-dimensional NMDS based on Bray-Curtis dissimilarity of CAZy results (stress of 0.1). c Boxplots (boxes representing IQRs with median shown in black) of the richness of observed CAZy enzymes (families) in dairy calves from day 2 to week 7. d Bar plots of the relative abundance of CAZy families per class of enzymes over time. *P < 0.05, and n.s. indicates P > 0.05 by Friedman’s test followed by multiple pairwise comparisons using Nemenyi post-hoc test. Polygons were applied to group samples of NMDS plot at the same time point

Differential abundance analysis with DESeq2 revealed that 71 CAZy families significantly changed over time in dairy calves, 50% of which were glycoside hydrolases (Fig. 10a). Furthermore, metagenomic assembly was used to retrieve the potential bacterial origin of the enzymes by assigning taxonomy to assembled contigs, and the most abundant taxon at the family level for each significantly changed CAZy family is shown in Fig. 10b. Enterobacteriaceae was predicted to contribute most of the CAZy enzymes that exhibited higher abundance during early days and decreased at later time points (CE8-GH108 and GH127-GT51) (Fig. 10b). Among these enzymes, the family GH1 which includes lactase (EC showed the highest abundance on day 2, reflecting the milk-dominant diet at that time. In contrast, CAZy enzymes, GH20-GH30 and CE6-GH27, which showed higher abundance in later time points were predicted to mostly originate from Bacteroidaceae (Fig. 10b). Two GH families, family GH97, which includes glucoamylase (EC and α-glucosidase (EC, and family GH57, which includes α-amylase (EC, increased significantly over time, likely a result of the increased intake of calf starter of which starch serves as the major carbohydrate component (Fig. 1a). The changes in the CAZy enzyme abundances suggest that the decrease in ARGs over time is not merely due to the absence of colostrum, but due to the presence of new carbon sources in the diet that drive abundance of taxa that harbor enzymes which can digest plant polysaccharides and are, coincidentally, also low in overall ARGs.

Fig. 10

The abundance, distribution and predicted bacterial taxonomy of fecal CAZy families. a Heatmap depicting the normalized distribution of CAZy enzymes over time, including only differential abundant enzymes (n = 70). b The most abundant bacterial family predicted to produce the corresponding CAZy enzymes. Dots indicate that the predicted family was either Enterobacteriaceae (blue), Bacteroidaceae (pink), or Others (orange). The absence of a dot indicates that either our inability to predict the bacterial origin or the CAZy family was not detected in a particular calf at a particular time point. Enzymes families GH1 which includes lactase (EC, GH97 which includes glucoamylase (EC and α-glucosidase (EC, and family GH57, which includes α-amylase (EC are highlighted with asterisks. Abbreviations: GH, glycoside hydrolases; GT, glycosyltransferases; PL, polysaccharide lyases; CE, carbohydrate esterases; AA, auxiliary activities; CBM, carbohydrate-binding modules. Families CBM0, CE0, and GT0 refer to unclassified CBMs, CEs and GTs, respectively, in CAZy database download 07152016. Differential abundance analysis with DESeq2 revealed that 71 CAZy families significantly changed over time in dairy calves, however, we failed to retrieve the bacterial origin of one CAZy family, GT80, and thus there are a total of 70 CAZy families shown here. Source data are provided as a Source Data file

The predicted taxonomy of significantly changed CAZy enzymes is in agreement with gradual changes observed in the gut microbiota of dairy calves (Fig. 1d), as well as the OTU-OTU network analysis based on 16S rRNA sequencing data. In this network, the relative abundance of organisms within the families Enterobacteriaceae and Enterococcaceae was negatively correlated with microbes belonging to Bacteroidaceae (Supplementary Fig. 12). Taken together, our data support the hypothesis that diet and time (age) contribute to the taxonomic composition of the gut microbiota in dairy calves, and this influences the fecal resistome.


The early development of gut microbiota is associated with growth in pre-weaned calves, is important for optimal calf performance post-weaning, and is believed to contribute to the profitability of the cattle enterprise39. However, young animals typically have both a higher prevalence and a higher abundance of antibiotic-resistant bacteria than adult animals13,40; thus understanding the early acquisition and scope of AMR in calves during nursing is of great importance. This work, together with other studies25,26, documents the dynamic changes in the taxonomic composition of the fecal microbiota of dairy calves, revealing an actively assembling gut microbiome during early life. For example, we clearly demonstrated that facultative anaerobes, such as Escherichia, Streptococcus, and Enterococcus (genera which are commonly associated with broad-spectrum ARGs) represented notable portions of the microbiota in dairy calves during early days, but their relative abundance decreased over time. The early arrival of these bacteria is at least partially linked with colostrum feeding, and their dynamic changes in relative abundance contribute to the gradually modified resistome during nursing. This study examined the fecal microbiota of dairy calves from birth until slightly after weaning, and the microbial community is likely to continue changing until 1 year of age, when it reaches an adult-like (mature) microbiota26. Therefore, a more extended period of sampling may be needed to fully track changes in ARGs as the cow matures.

The fecal microbiome of dairy calves was predicted to harbor resistance to 17 classes of antibiotics according to MEGARes (out of the 22 classes of antibiotics present in this database), a fact which is important because fecal shedding is a critical route of AMR contamination to the environment24. In addition, the ARGs observed in this study are closely relevant to human medicine as they include resistance to several medically-important antibiotics, e.g. beta-lactams. Specifically, two major classes of plasmid-mediated extended-spectrum beta-lactamases (ESBL), class A betalactamases (e.g. CTX and cepA) and class D betalactamases (e.g. OXA) were detected in this cohort. The overall ARG abundance (0.77–5.14 copies ARGs per 16S rRNA gene), is of the same magnitude as that observed in recently published metagenomes from livestock-associated samples (0.54–3.1 copies ARGs per 16S rRNA gene) which are significantly higher than the prevalence of ARGs detected in sediments, soil and river water35,41. The coherence between these results indicates that the present cohort is a typical livestock group, and our findings herein could be potentially generalized to other populations. Consistent with the hypothesis that a high prevalence of AMR is not necessarily associated with recent antibiotic use13, animals involved in this study did not receive any antibiotic treatment, but their gut microbiome remained a natural reservoir of ARGs.

Interestingly, dairy calves had an overall reduction (6.68-fold) in the abundance of ARGs as they aged, and this pattern was directly correlated with the decrease in relative abundance of microbial taxa, for example, Enterobacteriaceae, which was predicted to harbor the most ARGs, during early life. The correlated reduction of both ARGs and specific taxa is promising because it suggests that interventions targeting the reduction of these taxa may further reduce the ARG reservoir in the gut of cattle. This possibility is supported by this study and other work, which found the resistome is mainly structured by the bacterial phylogeny, and that Proteobacteria (which includes Enterobacteriaceae) were more likely to carry resistance than other phyla42,43.

Despite the decrease in total ARGs, we observed an increase in resistance to MLS and tetracyclines antibiotics over time, raising concerns that not every ARG decreases in abundance with age. The increase in MLS and tetracycline ARGs is also consistent with the hypothesis that community membership shapes the resistome because neither MLS nor tetracycline ARGs primarily originate in Enterobacteriaceae. In contrast, tetracycline ARGs, including the highly abundant tetQ, were predicted to originate in Bacteroidaceae. While no antibiotics were given to the animals in this study, the increased tetracycline resistance may reflect historical antibiotic use. In the United States tetracycline has been widely used in cattle representing ~30.1% of the total antibiotic usage in food-producing animals44. Because MLS is categorized as critically important and tetracyclines as highly important drugs according to FDA45 the increase of corresponding resistance is a source of concern.

Another approach to assess the risk of AMR is to specifically study the transferrable ARGs (via ResFinder) as these genes are more likely transferred to pathogens and compromise clinical treatment46. The results counterbalanced the decreased abundance of total ARGs over time by identifying an increase in the variety of transferable ARGs. Of these ARGs, a recently-discovered multidrug resistance gene, optrA33, was present in our cohort. This gene confers resistance to several medically-important antibiotics including linezolid, which is often prescribed to treat Gram-positive infections such as vancomycin-resistant enterococci (VRE) and methicillin-resistant Staphylococcus aureus (MRSA). Another gene, fosA, is also of clinical significance because it causes resistance to fosfomycin which is a last-resort antibiotic against carbapenem-resistant bacteria47. The increased diversity of transferable ARGs partially reflects the accumulation of new species during community assembly.

Given that enrichment of ARG diversity in dairy calves is undesired, a next logical question is: what is the source of these antibiotic-resistant organisms? Routes of microbial transfer may include vertical transmission from the dam, horizontal transmission from other animals in the herd, or transmission from the housing environment and feed. As a result, colostrum may serve as an important vehicle for bacteria in early life since it is the first feed27,48. Doyle et al.49 indicated that teat surface and herd (i.e., dam) feces are the major contributors of the raw milk microbiota. These data suggest that organisms observed in colostrum are likely environment-specific contaminants. This is supported by the fact that our findings on the bovine colostrum microbiota differed from a recent study in upstate New York which found the samples were dominated by Staphylococcus spp.28. Moreover, the dominant taxa in colostrum within our cohort are taxa expected to contain high levels of ARGs, suggesting that colostrum serves as a vector of ARGs transmitted to dairy calves. This inference was confirmed by metagenomic data at two levels. Metagenome strain profiling revealed that the dominant E. coli from colostrum and fecal samples at day 2 have very similar functional capacity (PanPhlAn), and 33.13% of the observed E. coli strains in colostrum were shared with dairy calf at day 2 (StrainEst) which suggests bacterial transmission. In addition, the dairy fecal samples at day 2 shared ~90% ARGs with the colostrum resistome and the distribution of ARGs show very similar patterns in these two samples types. In general, colostrum samples had a greater diversity of ARGs than fecal samples, but shared ARGs showed relatively higher abundance in the feces suggesting that the gut provides better conditions for the proliferation of these ARGs and the microbes that carry them.

Although there was no direct antibiotic use in this cohort, heavy metals and antibacterial biocides, which are commonly detected in animal feed, could contribute to the promotion of AMR16. Co-selection of antibiotic and metal/biocide resistance, which may be driven by either cross- or co-resistance, is critical mainly because it can promote and maintain the high prevalence of AMR in the absence of antibiotics50. Network inferences from the present study indicated a correlation among ARGs and BMRGs in dairy calves, and resistance genes harbored in the same taxa42 or co-existing on a transferrable plasmid51 can lead to a co-occurrence of these genes. While the strain-level proof of the network analysis linking ARGs and BMRGs will need further validation via an independent approach, the metagenomic data certainly suggest that co-selection of antibiotic and metal/biocide resistance is occurring in livestock.

To understand the mechanism responsible for the dynamic change of fecal resistome, and to further understand the relationship between dietary transition and gut microbiota assembly, we examined the functional changes of the gut fecal community in dairy calves. Our findings greatly reflect the connection between diet and functional capacity. Specifically, the CAZyome analysis revealed that the composition of carbohydrate associated enzymes in dairy calves changed significantly over time. The early diet transition from colostrum to milk replacer with a gradual increase of consumption of calf starter mirrors the decrease of lactose associated enzymes (e.g., lactase) and the increase of enzymes related to starch and other complex carbohydrates (e.g., amylase). The CAZy families which were more abundant in early days mostly originated from Enterobacteriaceae while the enzymes that increased over time were predicted to be most likely from Bacteroidaceae and others. Intriguingly, the species within Bacteroidaceae were shown to harbor tetQ and other tetracycline resistance genes, suggesting a possible link between diet-driven changes in microbiome composition and the structure of the resistome. The link between bacterial phylogeny and AMR is suggested by the concomitant decrease in the relative abundance of Enterobacteriaceae, and the reduction in ARGs. This is also evidenced by the gradual increase (demonstrated by both metagenomic sequencing and qPCR data) of tetQ, occurring concomitantly with the increase in Bacteroidaceae. Furthermore, colostrum containing endogenous microbes, seeded the calves with high level of ARGs in early hours, highlighting the potential role of diet as a direct source of ARGs. Diet may also represent an indirect influence on the resistome by enriching certain taxa, such as Bacteroidaceae, in the gut microbiota.

The global spread of antimicrobial resistance compromises clinical treatments for human infections and actions are needed to reduce the environmental transfer of ARGs and preserve the effectiveness of existing antibiotics. This study suggests that pre-weaned dairy calves serve as a reservoir for ARGs with enriched diversity over nursing. While age and diet are clearly associated with a change in the gut microbiota assembly and an overall drop in ARGs, several resistance genes encoding resistance to clinically important antibiotics (i.e., MLS and tetracyclines) increased. Analyses in this study relied on high-throughput sequencing of DNA, representing both live and dead bacteria. The presence of DNA, especially DNA released from dead microbes, does not ensure antibiotic resistance phenotypes. Future studies involving functional characterization of specific ARG phenotypes are needed. Studies suggest that naturally competent bacteria are able to uptake DNA released from dead bacteria52, which may contribute to the transmission of ARGs, however, the probability of this occurrence is unknown. In order to reduce these antibiotic (and heavy metal) resistance reservoirs during nursing, novel mitigation strategies are needed. For example, control measures might be incorporated into colostrum handling practices to reduce transmission of ARG-containing microbes to dairy calves. Moreover, tailored prebiotic or probiotic applications might serve to displace ARG-containing bacteria and thus reduce the likelihood of further environmental spread.


Animals, sample collection, and DNA extraction

A cohort of 22 newborn dairy calves (20 Holstein, 2 Jersey) were raised at the UC Davis Dairy Teaching and Research Facility (Davis, CA). Calves were separated from their dams within a few hours of birth and then housed in a separate hutch. They were given two feedings (3 L/feeding with nursing bottle) of high-quality colostrum within the first 12 h followed by milk replacer (Calva Products, Acampo, CA) and a commercial calf starter (Associated Feed & Supply Co., Turlock, CA) until weaning (Fig. 1a). The milk replacer was given twice a day based on weight, and calf starter was provided ad libitum until weaning. Corn, soybean, barley, wheat, oat, and rice are the major ingredients in calf starter and, starch accounts for a 57–77% of this diet53. During weaning (week 8–10), supplementation of calf starter was halted, milk replacer was reduced to a single feeding, and a total mixed ration (TMR) diet was introduced. Calves were offered water ad libitum at all times (Fig. 1a). All animals involved in this study were healthy during our sampling period and received no recorded therapeutic or prophylactic antibiotic treatments.

Fresh feces (n = 484) were obtained from dairy calves, from at birth to week 10 between April and September of 2015, by swabbing the rectum with a sterile cotton swab. Two colostrum samples (~5 mL each), one per colostrum feed, were collected per calf prior to feeding. Sampling was conducted following relevant ethical regulations for animal research under protocol #18540. Fecal samples were then kept on ice after sampling and then stored at −80 °C until extraction using the ZR Fecal DNA MiniPrep kit (ZYMO, Irvine, CA, USA). Approximately 2 mL vortexed colostrum samples were centrifuged at 10,000×g for 10 min to separate cells and fat from whey. The supernatant and the fat layer were removed, and the pellet were kept frozen (−20 °C) until the Zymo DNA extraction54.

16S rRNA gene sequencing and data analysis

The microbiota was profiled by sequencing the V4 region of the 16S rRNA gene for all DNA samples and negative controls. Specifically, we modified the forward F515 primer55 to include an eight-nucleotide barcode unique to each sample and a two-nucleotide linker sequence: 5′-NNNNNNNNGTGTGCCAGCMGCCGCGGTAA-3′. The reverse R806 primer (5′-GGACTACHVGGGTWTCTAAT-3’) was unmodified. PCR reactions were carried out in triplicate in a 15-μL reaction containing 1 × GoTaq Green Mastermix (Promega, Madison, WI, USA), 1 mM MgCl2 and 2 pmol of each primer. The PCR amplification conditions included an initial denaturation step of 2 min at 94 °C, followed by 25 cycles of 94 °C for 45 s, 50 °C for 60 s, and 72 °C for 90 s, followed by a final extension step at 72 °C for 10 min. Triplicate reactions were combined and purified using a Qiagen PCR purification column and submitted to the UC Davis Genome Center DNA Technologies Sequencing Core for sequencing on an Illumina MiSeq platform (250-bp paired-end).

The resulting reads were merged using PEAR (version 0.9.8) with a minimum overlap of 120 bp, a maximum merged length of 380 bp, and a minimum merged length of 250 bp56 and merged reads were demultiplexed using FASTX (version 0.0.14) tools57. Primers and barcodes were trimmed from reads using cutadapt (version 1.8.3), and then reads were loaded into QIIME58. QIIME1 (version 1.9.1) defaults were used except for as follows: operational taxonomic unit (OTU) picking was completed using the SWARM algorithm59, the representative sequence set was chosen using the most abundant read in each OTU, and the OTU table was filtered to remove singletons and OTUs that only occurred in a single sample. In addition, samples with low sequencing depth including all the negative controls (< 5000 reads) and OTUs without any reads in any of the remaining samples were excluded for further analysis.

Statistical analysis was performed in R (version 3.4.1)60. Generalized estimating equations (GEE) model from the geepack package61 was implemented to test for associations between the sampling time (predictor variable) and the alpha diversity (outcome variable). Beta diversity was visualized based on generalized UniFrac (GUniFrac) distance matrices62 using non-metric multidimensional scaling (NMDS) in the vegan package. A 2D plot was used if stress was < 0.2; the number of dimensions was increased until a plot with stress < 0.2 was produced. Ellipses shapes/paths were calculated with a function veganCovEllipse from the vegan package in R. Differences in beta-diversity based on UniFrac distance measures were tested using adonis2 in the vegan package after checking for differences in dispersion using betadisper. SPIEC-EASI (SParse InversE Covariance Estimation for Ecological Association Inference)63 was used to model OTU-OTU interaction with fecal samples (n = 22) at week 2, and the network was visualized at the family level using Gephi (0.9.2).

Shotgun metagenomic sequencing, metagenome assembly

Fecal samples (n = 12) from dairy calves (n = 3) at 4 time-points per calf (day 2, day 5, week 3 and week 7), as well as the corresponding colostrum samples (n = 6; two of each calf), were subjected to metagenomic sequencing. This design allows us to characterize the dynamics of resistome in dairy calves over time, with a specific focus on nursing. Dairy calves at the same age had limited variances in the gut microbiota, and bacterial phylogeny greatly shapes the microbial antibiotic resistome42, and thus we expect a comparable fecal resistome between subjects. Consequently, a number of three calves would allow us to observe the dynamic changes of ARGs abundance over time if any.

The sequencing library was prepared in the UC Berkeley Functional Genomics Laboratory (FGL). Briefly, each sample was sheared using the 150 bp setting of the Diagenode Bioruptor, then purified and concentrated with the Qiagen Minelute cleanup kit. End repair, a tailing of DNA fragments, and adapter ligation were preformed using the KAPA Hyper Prep library kit. Next, 9 cycles of indexing PCR were performed using the KAPA Hi-Fi Hotstart amplification kit. Cleanup and dual-SPRI size selection were completed using AMPure beads. Libraries were checked for quality on the AATI fragment analyzer.

Shotgun metagenomic sequencing was completed using the Illumina HiSeq 4000 with 150 paired-end reads in the Vincent J. Coates Genomics Sequencing Laboratory at the University of California, Berkeley. Because early life and colostrum samples had high levels of host contamination, BMTagger in bmtools (version 1) was used to remove reads aligning to the bovine genome (version UMD3.1) from all samples. The resulting reads were then trimmed using Trimmomatic (version 0.36)64 and merged using FLASH (version 1.2.11)65 prior to downstream analysis. To account for the limitations of the existing database in taxonomy profiling of rumen-associated metagenomes66, sequencing reads were classified using Kraken267 to against a custom database including RefSeq68 and 4941 metagenome-assembled rumen genomes69. The relative abundance of E. coli within Enterobacteriaceae was estimated using Bracken70. Metagenome assemblies were generated with trimmed but un-merged reads for each sample using MEGAHIT (version 1.0.6) with default parameters71.

Metagenomic strain profiling of E. coli

To assess the bacterial transmission from colostrum to dairy calves, the microbial composition of both colostrum and feces were characterized at the strain level using two independent pipelines, PanPhlAn31 and StrainEst (version 1.2.4)32. The sequencing reads from the first and second colostrum samples were analyzed together for the colostrum-calf paired strain transmission analysis. PanPhlAn was used to track the dominant strain across samples by identifying a unique combination of genes in the pangenome of a species, and StrainEst was used to determine the number and identity of co-existing strains of a species (i.e., E. coli) in a metagenome. Because Enterobacteriaceae harbors the most ARGs (Fig. 3c) and E. coli represents the majority of sequences classified in this family (Supplementary Fig. 4), we elected to track the presence of strains belonging to this species in our cohort. The PanPhlAn results were visualized via a NMDS ordination and pairwise permutation MANOVAs (post-hoc test for multiple comparisons) was performed in R with the RVAideMemire package (version 0.9–69–3)72, and significant differences between groups were evaluated after FDR adjustment for α = 0.05. Statistical analysis of Shannon diversity estimated with StrainEst was performed with a Friedman’s test.

Resistance gene analysis

Sequencing reads were aligned to the ARG database MEGARes (version 1.0.1)73 to characterize the resistome structure following the AMR++ pipeline [] with minor modifications. Briefly, merged reads were mapped to the database using BWA with default settings74, and the SAM formatted alignment file was then analyzed through ResistomeAnalyzer (version 1) by setting the threshold to 80% identity for quantification of ARGs []. The AMR++ pipeline outputs data into gene, group, mechanism and class levels corresponding to the levels of the annotation in the database hierarchy73. The gene-level data (e.g., TEM-77, TEM-107, TEM-73, etc.) were used to calculate the ARG richness; normalized data aggregated from the gene-level output to the group (e.g., TEM, OXA, etc.) and class (e.g. beta-lactams resistance) levels were used for heatmap visualization in this study. MEGARes is a manually curated database that consists of a collection of 3824 ARGs with the reference sequences ranging in size from 211 to 4185 bp73. To avoid bias related to variation in ARG size, both ARG sequence length and sequencing depth were included in data normalization prior to statistical comparisons. We normalized the counts data by 16S rRNA gene and the ARG abundance was expressed as “copy of ARG per copy of 16S rRNA gene” as suggested by Li et al.35,75 using the formula:

$${\mathrm{Abundance}} = \mathop {\sum }\limits_1^n \frac{{{\mathrm{{N}}}\left({{{{\rm{ARG}}-{\rm{like}}\,{\rm{sequence}}}}} \right) \ast {\mathrm{{L}}}\left( {{\mathrm{reads}}} \right)/{{{\rm{L}}({\rm{ARG}}\,{\rm{reference}}\,{\rm{sequence}})}}}}{{{\mathrm{{N}}}\left( {{\mathrm{{16Ssequence}}}} \right) \ast {{\rm{L}}({\rm{reads}})/{\rm{L}}({\rm{16Ssequence}})}}}$$

where n represents each individual ARG (defined by different sequences), N(ARG-like sequence) is the number of reads annotated as n specific ARG mapped to MEGARes database, L(reads) is the length of the sequencing reads matching ARG n, L(ARG reference sequence) is the length of ARG n in the MEGARes database, N(16S sequence) is the number of reads mapping to 16S rRNA bacterial gene determined by METAXA2 (version 2.1.3)76, and L(16S sequence) is the average length (1432 bp) of a 16S rRNA gene sequence in the Greengenes database. To visualize dissimilarity between samples, NMDS was performed using a Bray-Curtis dissimilarity calculation.

Bacterial origin of ARGs were predicted by assigning taxonomy to metagenomic-assembled contigs harboring antibiotic resistance genes. Specifically, the ARG-aligned sequencing reads (see AMR++ pipeline) were used to align to assembled contigs (from MEGAHIT) with BWA-MEM74, and contigs which contain ARG sequences were kept for taxonomic assignment. taxator-tk (version 1.3.3)77, software designed to perform taxonomic analysis of assembled metagenomes, was applied to predict the bacterial origin of specific contigs. In particular, we used taxator-tk with our custom database which includes both RefSeq68 and 4,941 metagenome-assembled genomes69 with parameters -a megan-lca -t 0.3 -e 0.01 to assign taxonomy of ARG-containing contigs at the family level.

In addition to the evaluation of all sequencing data described above, an independent analysis was performed on metagenomic reads obtained from dairy calves that were predicted to fall within Enterobacteriaceae (by alignment to RefSeq genomes68), The AMR++ pipeline was implemented separately for these reads in order to study the prevalence of ARGs in this particular family.

Transferrable ARGs are typically of greater concern clinically. To specifically assess these genes, a separate ARG database, ResFinder (version 2.1)46, focusing on acquired ARGs, was used based on assembled contigs. Briefly, contigs were submitted to the ResFinder webpage while the identity threshold was set to 90% with 60% minimum length match. A custom script ( was used to predict the bacterial origin of contigs possessing ARGs and the top candidate was chosen for further analysis.

Resistance to antibacterial biocides and metals were also included as part of the resistome analysis to assess the co-occurrence potentials of BMRGs and ARGs. To examine this, merged reads were aligned to the BacMet database (version 1.1)78 using DIAMOND79 with an E-value cutoff ≤10−10. Since resistance genes with transfer potentials are of greater interest than chromosomal genes, analysis of antibacterial biocide and metal resistance protein sequences was restricted to plasmid-borne sequences. A total of 161 metal resistance genes and 37 biocide resistance genes from the BacMet database78 were detected in the samples and included in this analysis. Data were normalized by 16S rRNA gene as performed with ARGs counts prior to comparisons.

In summary, three independent databases were implemented in this resistome analysis pipeline to assess the profile of all resistance genes, transferrable genes and heavy metal/biocidal resistance genes, respectively. Taxonomy prediction of ARGs was summarized at the family level of bacteria to obtain better accuracy.

Functional capacity analysis

To study the functional composition of fecal microbial communities, merged metagenomic sequence reads were annotated using DIAMOND (cutoff E-value ≤10−10)79 against two reference databases, the Carbohydrate-Active EnZymes database (CAZy)80 and the Clusters of Orthologous Groups of proteins database (COG)81. Data were normalized using the total number of trimmed reads, and normalized counts were used to calculate the Bray-Curtis dissimilarity between samples. The Bray-Curtis dissimilarity matrix was then used to perform NMDS. In addition, DESeq282 was used to estimate fold-change and dispersion over time. Sequencing reads that were predicted to encode CAZy families and identified to be differentially distributed over time (padj  <0.01 with Benjamini–Hochberg correction), were aligned to metagenomic-assembled contigs (see above) by using BWA-MEM83. Contigs carrying sequences which encode differentially distributed CAZy enzymes were further used to map our custom database including RefSeq68 and 4941 metagenome-assembled genomes69 using taxator-tk (version 1.3.3)77 with parameters -a megan-lca -t 0.3 -e 0.01 to predict the bacterial origin. The most abundant predicted taxon at the family level for each CAZy family was chosen for further analysis.

Absolute quantification (qPCR) of Enterobacteriaceae and ARGs

In addition to metagenomic sequencing, quantitative PCR was conducted for two purposes: (1) to determine the absolute abundance of Enterobacteriaceae and (2) to validate the ARG results obtained with sequencing. This independent approach will help to generalize our resistome analyses by assessing more samples (n = 41). E. coli strain sldp 38-1 was used to generate standard curve for Enterobacteriaceae. Standard curve was prepared using a ten-fold dilution series of DNA isolated from a late exponential phase liquid cultures for which cell numbers were determined by quantitative culture. For validation of ARG results, tetQ, one highly abundant tetracycline resistance gene (Supplementary Fig. 6), was chosen to represent the ARGs that gradually increased over time. Ct and delta-Ct values were calculated to assess the dynamic change in the abundance of tetQ over time. Primers used for quantitative PCR are listed in Supplementary Table 1. A one-way ANOVA was applied to assess the statistical significance of qPCR results after checking normality.

Shotgun metagenomic sequencing statistical and network analysis

Statistical significance for time-series data of ARG/BMRG abundance and richness, and of CAZy family richness was assessed by using a Friedman’s test followed by multiple pairwise comparisons using Nemenyi post-hoc test within the PMCMR package (version 4.3) in R. Differences in beta-diversity of fecal resistome and community function (i.e., CAZy and COG analysis) based on a Bray-Curtis dissimilarity calculation were tested using adonis2 in the vegan package after checking for differences in dispersion using betadisper84.

ARGs predicted from the AMR++ pipeline and BMRGs predicted with the BacMet database were used to model the co-occurrence patterns. Resistance genes with transfer potential that were present in at least 6 (of 12) dairy fecal samples were included in this analysis. A correlation matrix was calculated based on normalized abundance data using Spearman’s rank correlation between resistance genes. Only correlations that were strong (rho > 0.8) and significant after Benjamini–Hochberg correction (padj <0.01)35 were kept in the matrix. The correlation network was visualized using Gephi (0.9.2).

Ethics approval

All animal work was approved by the University of California, Davis Animal Care and Use Committee prior to beginning of the experiment under protocol #18540.

Reporting summary

Further information on research design is available in the Nature Research Reporting Summary linked to this article.

Data availability

Sequencing data generated from both amplicon and shotgun metagenomes in this study have been deposited with the NCBI SRA (PRJNA438833) and are publicly available. The source data underlying Figs. 2a, 6b and 10b and Supplementary Fig. 2c are provided as a Source Data file. Other data that support the findings of this study are available from the corresponding author upon request.

Code availability

A python custom script,, based on BLAST, which was used to predict the bacterial origin of metagenomic contigs possessing ARGs estimated from ResFinder database, is freely available at [].


  1. 1.

    CDC. Antibiotic Resistance Threats in the United States. (U.S. Department of Health and Human Services, Centers for Disease Control and Prevention, 2013).

  2. 2.

    Bolan, G. A., Sparling, P. F. & Wasserheit, J. N. The emerging threat of untreatable gonococcal infection. New Engl. J. Med. 366, 485–487 (2012).

    Article  Google Scholar 

  3. 3.

    Pichichero, M. E. & Casey, J. R. Emergence of a multiresistant serotype 19A pneumococcal strain not included in the 7-valent conjugate vaccine as an otopathogen in children. JAMA-J. Am. Med. Assoc. 298, 1772–1778 (2007).

    CAS  Article  Google Scholar 

  4. 4.

    Yong, D. et al. Characterization of a new metallo-beta-lactamase gene, bla (NDM-1), and a novel erythromycin esterase gene carried on a unique genetic structure in Klebsiella pneumoniae sequence type 14 from India. Antimicrob. Agents Chemother. 53, 5046–5054 (2009).

    CAS  Article  Google Scholar 

  5. 5.

    Liu, Y. Y. et al. Emergence of plasmid-mediated colistin resistance mechanism MCR-1 in animals and human beings in China: a microbiological and molecular biological study. Lancet Infect. Dis. 16, 161–168 (2016).

    Article  Google Scholar 

  6. 6.

    Bonnie, M. Marshall, D. J. O. & Stuart, B. Levy. Commensals: underappreciated reservoir of antibiotic resistance. Microbe. 4, 231–238 (2009).

  7. 7.

    Sommer, M. O. A., Dantas, G. & Church, G. M. Functional characterization of the antibiotic resistance reservoir in the human microflora. Science 325, 1128–1131 (2009).

    ADS  CAS  Article  Google Scholar 

  8. 8.

    Landers, T. F., Cohen, B., Wittum, T. E. & Larson, E. L. A review of antibiotic use in food animals: perspective, policy, and potential. Public Health Rep. 127, 4–22 (2012).

    Article  Google Scholar 

  9. 9.

    Phillips, I. et al. Does the use of antibiotics in food animals pose a risk to human health? A critical review of published data. J. Antimicrob. Chemother. 53, 28–52 (2004).

    CAS  Article  Google Scholar 

  10. 10.

    Noyes, N. R. et al. Resistome diversity in cattle and the environment decreases during beef production. eLife 5, e13195 (2016).

  11. 11.

    Wichmann, F., Udikovic-Kolic, N., Andrew, S. & Handelsman, J. Diverse antibiotic resistance genes in dairy cow manure. mBio 5, e01017 (2014).

    PubMed  PubMed Central  Google Scholar 

  12. 12.

    Hoyle, D. V. et al. Age-related decline in carriage of ampicillin-resistant Escherichia coli in young calves. Appl. Environ. Microbiol. 70, 6927–6930 (2004).

    CAS  Article  Google Scholar 

  13. 13.

    Khachatryan, A. R., Hancock, D. D., Besser, T. E. & Call, D. R. Role of calf-adapted Escherichia coli in maintenance of antimicrobial drug resistance in dairy calves. Appl. Environ. Microbiol. 70, 752–757 (2004).

    CAS  Article  Google Scholar 

  14. 14.

    Khachatryan, A. R., Besser, T. E., Hancock, D. D. & Call, D. R. Use of a nonmedicated dietary supplement correlates with increased prevalence of streptomycin-sulfa-tetracycline-resistant Escherichia coli on a dairy farm. Appl. Environ. Microbiol. 72, 4583–4588 (2006).

    CAS  Article  Google Scholar 

  15. 15.

    Berge, A. C., Hancock, D. D., Sischo, W. M. & Besser, T. E. Geographic, farm, and animal factors associated with multiple antimicrobial resistance in fecal Escherichia coli isolates from cattle in the western United States. JAVMA-J. Am. Vet. Med A 236, 1338–1344 (2010).

    Article  Google Scholar 

  16. 16.

    Baker-Austin, C., Wright, M. S., Stepanauskas, R. & McArthur, J. V. Co-selection of antibiotic and metal resistance. Trends Microbiol. 14, 176–182 (2006).

    CAS  Article  Google Scholar 

  17. 17.

    Seiler, C. & Berendonk, T. U. Heavy metal driven co-selection of antibiotic resistance in soil and water bodies impacted by agriculture and aquaculture. Front. Microbiol. 3, 399 (2012).

    Article  Google Scholar 

  18. 18.

    Zhu, Y. G. et al. Diverse and abundant antibiotic resistance genes in Chinese swine farms. Proc. Natl Acad. Sci. USA 110, 3435–3440 (2013).

    ADS  CAS  Article  Google Scholar 

  19. 19.

    Jami, E., Israel, A., Kotser, A. & Mizrahi, I. Exploring the bovine rumen bacterial community from birth to adulthood. ISME J. 7, 1069–1079 (2013).

    Article  Google Scholar 

  20. 20.

    Li, R. W., Connor, E. E., Li, C. J., Baldwin, R. L. & Sparks, M. E. Characterization of the rumen microbiota of pre-ruminant calves using metagenomic tools. Environ. Microbiol. 14, 129–139 (2012).

    Article  Google Scholar 

  21. 21.

    Dill-McFarland, K. A., Weimer, P. J., Breaker, J. D. & Suen, G. Diet influences early microbiota development in dairy calves without long-term impacts on milk production. Appl. Environ. Microbiol. 85, e02141-18 (2018).

  22. 22.

    Auffret, M. D. et al. The rumen microbiome as a reservoir of antimicrobial resistance and pathogenicity genes is directly affected by diet in beef cattle. Microbiome 5, 159 (2017).

  23. 23.

    Mao, S. Y., Zhang, M. L., Liu, J. H. & Zhu, W. Y. Characterising the bacterial microbiota across the gastrointestinal tracts of dairy cattle: membership and potential function. Sci. Rep. 5, 6116 (2015).

  24. 24.

    Liu, J., Zhao, Z., Orfe, L., Subbiah, M. & Call, D. R. Soil-borne reservoirs of antibiotic-resistant bacteria are established following therapeutic treatment of dairy calves. Environ. Microbiol. 18, 557–564 (2016).

    CAS  Article  Google Scholar 

  25. 25.

    Oikonomou, G. et al. Fecal microbial diversity in pre-weaned dairy calves as described by pyrosequencing of metagenomic 16S rDNA. Associations of Faecalibacterium species with health and growth. PLoS ONE 8, e63157 (2013).

    ADS  CAS  Article  Google Scholar 

  26. 26.

    Dill-McFarland, K. A., Breaker, J. D. & Suen, G. Microbial succession in the gastrointestinal tract of dairy cows from 2 weeks to first lactation. Sci. Rep. 7, 40864 (2017).

  27. 27.

    Fecteau, G., Baillargeon, P., Higgins, R., Pare, J. & Fortin, M. Bacterial contamination of colostrum fed to newborn calves in Quebec dairy herds. Can. Vet. J. 43, 523–527 (2002).

    PubMed  PubMed Central  Google Scholar 

  28. 28.

    Lima, S. F. et al. The bovine colostrum microbiome and its association with clinical mastitis. J. Dairy Sci. 100, 3031–3042 (2017).

    CAS  Article  Google Scholar 

  29. 29.

    Ayling, M., Clark, M. D. & Leggett, R. M. New approaches for metagenome assembly with short reads. Brief Bioinform, bbz020, (2019).

  30. 30.

    Breitwieser, F. P., Lu, J. & Salzberg, S. L. A review of methods and databases for metagenomic classification and assembly. Brief Bioinform. bbx120, (2017).

  31. 31.

    Scholz, M. et al. Strain-level microbial epidemiology and population genomics from shotgun metagenomics. Nat. Methods 13, 435–438 (2016).

    CAS  Article  Google Scholar 

  32. 32.

    Albanese, D. & Donati, C. Strain profiling and epidemiology of bacterial species from metagenomic sequencing. Nat. Commun. 8, 2260 (2017).

    ADS  Article  Google Scholar 

  33. 33.

    Wang, Y. et al. A novel gene, optrA, that confers transferable resistance to oxazolidinones and phenicols and its presence in Enterococcus faecalis and Enterococcus faecium of human and animal origin. J. Antimicrob. Chemother. 70, 2182–2190 (2015).

    CAS  Article  Google Scholar 

  34. 34.

    Pal, C., Bengtsson-Palme, J., Kristiansson, E. & Larsson, D. G. J. Co-occurrence of resistance genes to antibiotics, biocides and metals reveals novel insights into their co-selection potential. BMC Genom. 16, 964 (2015).

  35. 35.

    Li, B. et al. Metagenomic and network analysis reveal wide distribution and co-occurrence of environmental antibiotic resistance genes. ISME J. 9, 2490–2502 (2015).

    CAS  Article  Google Scholar 

  36. 36.

    Zhang, F. S., Li, Y. X., Yang, M. & Li, W. Content of heavy metals in animal feeds and manures from farms of different scales in northeast China. Int. J. Environ. Res. Public Health 9, 2658–2668 (2012).

    CAS  Article  Google Scholar 

  37. 37.

    Tasse, L. et al. Functional metagenomics to mine the human gut microbiome for dietary fiber catabolic enzymes. Genome Res. 20, 1605–1612 (2010).

    CAS  Article  Google Scholar 

  38. 38.

    Krause, D. O. et al. Opportunities to improve fiber degradation in the rumen: microbiology, ecology, and genomics. FEMS Microbiol. Rev. 27, 663–693 (2003).

    CAS  Article  Google Scholar 

  39. 39.

    Malmuthuge, N. & Guan, L. L. Understanding the gut microbiome of dairy calves: opportunities to improve early-life gut health. J. Dairy Sci. 100, 5996–6005 (2017).

    CAS  Article  Google Scholar 

  40. 40.

    Donaldson, S. C. et al. Molecular epidemiology of ceftiofur-resistant Escherichia coli isolates from dairy calves. Appl. Environ. Microbiol. 72, 3940–3948 (2006).

    CAS  Article  Google Scholar 

  41. 41.

    Pal, C., Bengtsson-Palme, J., Kristiansson, E. & Larsson, D. G. The structure and diversity of human, animal and environmental resistomes. Microbiome 4, 54 (2016).

    Article  Google Scholar 

  42. 42.

    Forsberg, K. J. et al. Bacterial phylogeny structures soil resistomes across habitats. Nature 509, 612–616 (2014).

    ADS  CAS  Article  Google Scholar 

  43. 43.

    Hu, Y. et al. The bacterial mobile resistome transfer network connecting the animal and human microbiomes. Appl. Environ. Microbiol. 82, 6672–6681 (2016).

    CAS  Article  Google Scholar 

  44. 44.

    FDA. Antimicrobials Sold or Distributed for Use in Food-Producing Animals (The Food and Drug Administration’s Center for Veterinary Medicine, 2016).

  45. 45.

    FDA. Evaluating the Safety of Antimicrobial New Animal Drugs with Regard to Their Microbiological Effects on Bacteria of Human Health Concern (U.S. Department of Health and Human Services; Center for Veterinary Medicine, 2003).

  46. 46.

    Zankari, E. et al. Identification of acquired antimicrobial resistance genes. J. Antimicrob. Chemother. 67, 2640–2644 (2012).

    CAS  Article  Google Scholar 

  47. 47.

    Meletis, G. Carbapenem resistance: overview of the problem and future perspectives. Ther. Adv. Infect. Dis. 3, 15–21 (2016).

    CAS  PubMed  PubMed Central  Google Scholar 

  48. 48.

    Jud Heinrichs, C. M. J. Composition and Hygiene of Colostrum on Modern Pennsylvania Dairy Farms. Reviewed by: Sandy Costello and Virginia Ishler (Penn State Dairy and Animal Science (DAS), 2011).

  49. 49.

    Doyle, C. J., Gleeson, D., O’Toole, P. W. & Cotter, P. D. Impacts of seasonal housing and teat preparation on raw milk microbiota: a high-throughput sequencing study. Appl. Environ. Microbiol. 83, e02694-16 (2017).

  50. 50.

    Pal, C. et al. Metal resistance and its association with antibiotic resistance. Adv. Microb. Physiol. 70, 261–313 (2017).

    Article  Google Scholar 

  51. 51.

    Carattoli, A. Resistance plasmid families in Enterobacteriaceae. Antimicrob. Agents Chemother. 53, 2227–2238 (2009).

    CAS  Article  Google Scholar 

  52. 52.

    Blokesch, M. Natural competence for transformation. Curr. Biol. 26, 3255 (2016).

    CAS  Article  Google Scholar 

  53. 53.

    Khan, M. A. et al. Starch source evaluation in calf starter: I. Feed consumption, body weight gain, structural growth, and blood metabolites in Holstein calves. J. Dairy Sci. 90, 5259–5268 (2007).

    CAS  Article  Google Scholar 

  54. 54.

    Obermajer, T. et al. Colostrum of healthy Slovenian mothers: microbiota composition and bacteriocin gene prevalence. PLoS ONE 10, e0123324 (2014).

    Article  Google Scholar 

  55. 55.

    Frese, S. A., Parker, K., Calvert, C. C. & Mills, D. A. Diet shapes the gut microbiome of pigs during nursing and weaning. Microbiome 3, 28 (2015).

    Article  Google Scholar 

  56. 56.

    Zhang, J., Kobert, K., Flouri, T. & Stamatakis, A. PEAR: a fast and accurate Illumina Paired-End reAd mergeR. Bioinformatics 30, 614–620 (2014).

    Google Scholar 

  57. 57.

    Lab H. FASTX Toolkit. 

  58. 58.

    Caporaso, J. G. et al. QIIME allows analysis of high-throughput community sequencing data. Nat. Methods 7, 335–336 (2010).

    CAS  Article  Google Scholar 

  59. 59.

    Mahe, F., Rognes, T., Quince, C., de Vargas, C. & Dunthorn, M. Swarm: robust and fast clustering method for amplicon-based studies. PeerJ 2, e593 (2014).

    Article  Google Scholar 

  60. 60.

    R Core Team. R: A Language and Environment for Statistical Computing (R Foundation for Statistical Computing, 2016).

  61. 61.

    Halekoh, U., Højsgaard, S. & Yan, J. The R package geepack for generalized estimating equations. J. Stat. Softw. 15, 1–11 (2006).

    Article  Google Scholar 

  62. 62.

    Lozupone, C. & Knight, R. UniFrac: a new phylogenetic method for comparing microbial communities. Appl. Environ. Microbiol. 71, 8228–8235 (2005).

    CAS  Article  Google Scholar 

  63. 63.

    Kurtz, Z. D. et al. Sparse and compositionally robust inference of microbial ecological networks. PLoS. Comput. Biol. 11, e1004226 (2015).

    Article  Google Scholar 

  64. 64.

    Bolger, A. M., Lohse, M. & Usadel, B. Trimmomatic: a flexible trimmer for Illumina sequence data. Bioinformatics 30, 2114–2120 (2014).

    CAS  Article  Google Scholar 

  65. 65.

    Magoc, T. & Salzberg, S. L. FLASH: fast length adjustment of short reads to improve genome assemblies. Bioinformatics 27, 2957–2963 (2011).

    CAS  Article  Google Scholar 

  66. 66.

    Stewart, R. D. et al. Assembly of 913 microbial genomes from metagenomic sequencing of the cow rumen. Nat. Commun. 9, 870 (2018).

  67. 67.

    Wood, D. E. & Salzberg, S. L. Kraken: ultrafast metagenomic sequence classification using exact alignments. Genome. Biol. 15, R46 (2014).

  68. 68.

    O’Leary, N. A. et al. Reference sequence (RefSeq) database at NCBI: current status, taxonomic expansion, and functional annotation. Nucleic Acids Res. 44, D733–D745 (2016).

    Article  Google Scholar 

  69. 69.

    Stewart, R. D. et al. The genomic and proteomic landscape of the rumen microbiome revealed by comprehensive genome-resolved metagenomics. Preprint at (2018).

  70. 70.

    Lu J., Breitwieser F. P., Thielen P. & Salzberg S. L. Bracken: estimating species abundance in metagenomics data. Peerj Comput. Sci. 3, e104 (2017).

    Article  Google Scholar 

  71. 71.

    Li, D., Liu, C. M., Luo, R., Sadakane, K. & Lam, T. W. MEGAHIT: an ultra-fast single-node solution for large and complex metagenomics assembly via succinct de Bruijn graph. Bioinformatics 31, 1674–1676 (2015).

    CAS  Article  Google Scholar 

  72. 72.

    Harvé, M. Package “RVAideMemoire” (2015).

  73. 73.

    Lakin, S. M. et al. MEGARes: an antimicrobial resistance database for high throughput sequencing. Nucleic Acids Res. 45, D574–D580 (2017).

    CAS  Article  Google Scholar 

  74. 74.

    Li, H. & Durbin, R. Fast and accurate short read alignment with Burrows-Wheeler transform. Bioinformatics 25, 1754–1760 (2009).

    CAS  Article  Google Scholar 

  75. 75.

    Taft, D. H. et al. Bifidobacterial dominance of the gut in early life and acquisition of antimicrobial resistance. mSphere 3, e00441-18 (2018).

  76. 76.

    Bengtsson-Palme, J. et al. METAXA2: improved identification and taxonomic classification of small and large subunit rRNA in metagenomic data. Mol. Ecol. Resour. 15, 1403–1414 (2015).

    CAS  Article  Google Scholar 

  77. 77.

    Droge, J., Gregor, I. & McHardy, A. C. Taxator-tk: precise taxonomic assignment of metagenomes by fast approximation of evolutionary neighborhoods. Bioinformatics 31, 817–824 (2015).

    CAS  Article  Google Scholar 

  78. 78.

    Pal, C., Bengtsson-Palme, J., Rensing, C., Kristiansson, E. & Larsson, D. G. BacMet: antibacterial biocide and metal resistance genes database. Nucleic Acids Res. 42, D737–D743 (2014).

    CAS  Article  Google Scholar 

  79. 79.

    Buchfink, B., Xie, C. & Huson, D. H. Fast and sensitive protein alignment using DIAMOND. Nat. Methods 12, 59–60 (2015).

    CAS  Article  Google Scholar 

  80. 80.

    Cantarel, B. L. et al. The Carbohydrate-Active EnZymes database (CAZy): an expert resource for Glycogenomics. Nucleic Acids Res. 37, D233–D238 (2009).

    CAS  Article  Google Scholar 

  81. 81.

    Tatusov, R. L., Galperin, M. Y., Natale, D. A. & Koonin, E. V. The COG database: a tool for genome-scale analysis of protein functions and evolution. Nucleic Acids Res. 28, 33–36 (2000).

    CAS  Article  Google Scholar 

  82. 82.

    Love, M. I., Huber, W. & Anders, S. Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2. Genome Biol. 15, 550 (2014).

  83. 83.

    Li, H. & Durbin, R. Fast and accurate long-read alignment with Burrows-Wheeler transform. Bioinformatics 26, 589–595 (2010).

    Article  Google Scholar 

  84. 84.

    Anderson, M. J. & Walsh, D. C. I. PERMANOVA, ANOSIM, and the Mantel test in the face of heterogeneous dispersions: What null hypothesis are you testing? Ecol. Monogr. 83, 557–574 (2013).

    Article  Google Scholar 

Download references


We thank Alice Yu, Karen Kalanetra, Steve Frese, Samir Akre, Nick Jensen, Shannon Snook, Douglas Gisi, and James Moller for helpful discussions and guidance in samples collection, DNA sequencing methodologies and analysis. This work used the Vincent J. Coates Genomics Sequencing Laboratory at UC Berkeley, supported by NIH S10 Instrumentation Grants S10RR029668 and S10RR027303. This work has been supported by National Institutes of Health awards R01AT007079 and R01AT008759 and the Peter J. Shields Endowed Chair in Dairy Food Science. DGL is funded by the U.S. Department of Agriculture (USDA) project 2032-53000-001-00-D. The USDA is an equal opportunity employer.

Author information




J.L., D.J., E.D., and D.A.M. designed experiments; J.L. and D.J. executed experiments; J.L., D.H.T., M.X.M., M.L.T., and D.G.L. analyzed the data. J.L. and D.A.M. wrote the paper, with input from all authors. All authors read and approved the final manuscript.

Corresponding author

Correspondence to David A. Mills.

Ethics declarations

Competing interests

D.A.M. is a co-founder of Evolve Biosystems, a company focused on diet-based manipulation of the gut microbiota. Evolve Biosystems had no role in the conceptualization, design, data collection, analysis, or preparation of this manuscript. The remaining authors declare no competing interests.

Additional information

Peer review information Nature Communications thanks the anonymous reviewers for their contribution to the peer review of this work. Peer reviewer reports are available.

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary information

Source data

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Liu, J., Taft, D.H., Maldonado-Gomez, M.X. et al. The fecal resistome of dairy cattle is associated with diet during nursing. Nat Commun 10, 4406 (2019).

Download citation

Further reading


By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.


Quick links

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing