Multi-proxy analyses of a mid-15th century Middle Iron Age Bantu-speaker palaeo-faecal specimen elucidates the configuration of the ‘ancestral’ sub-Saharan African intestinal microbiome

Background The archaeological incidence of ancient human faecal material provides a rare opportunity to explore the taxonomic composition and metabolic capacity of the ancestral human intestinal microbiome (IM). Here, we report the results of the shotgun metagenomic analyses of an ancient South African palaeo-faecal specimen. Methods Following the recovery of a single desiccated palaeo-faecal specimen from Bushman Rock Shelter in Limpopo Province, South Africa, we applied a multi-proxy analytical protocol to the sample. The extraction of ancient DNA from the specimen and its subsequent shotgun metagenomic sequencing facilitated the taxonomic and metabolic characterisation of this ancient human IM. Results Our results indicate that the distal IM of the Neolithic ‘Middle Iron Age’ (c. AD 1460) Bantu-speaking individual exhibits features indicative of a largely mixed forager-agro-pastoralist diet. Subsequent comparison with the IMs of the Tyrolean Iceman (Ötzi) and contemporary Hadza hunter-gatherers, Malawian agro-pastoralists and Italians reveals that this IM precedes recent adaptation to ‘Western’ diets, including the consumption of coffee, tea, chocolate, citrus and soy, and the use of antibiotics, analgesics and also exposure to various toxic environmental pollutants. Conclusions Our analyses reveal some of the causes and means by which current human IMs are likely to have responded to recent dietary changes, prescription medications and environmental pollutants, providing rare insight into human IM evolution following the advent of the Neolithic c. 12,000 years ago. Video Abtract.


Background
The human gastrointestinal tract (GI) harbours a dynamic population of bacteria, archaea, fungi, protozoa and viruses; the intestinal microbiota. This collection of microorganisms, comprising the human intestinal microbiome (IM) [1], performs critical functions in digestion, development, behaviour and immunity [2,3]. Modifications of the core IM composition (dysbiosis) have been associated with the pathogenesis of inflammatory diseases and infections [3,4], including autoimmune and allergic diseases, obesity, inflammatory bowel disease and diabetes [5]. Despite its clinical importance, the factors that contribute to changes in IM taxonomic composition and functionality are not entirely understood [6,7]. This is attributed to the fact that most of what is known about the human IM is based on contemporary industrialised and 'traditional' human societies [8][9][10]. In evolutionary terms, our species have subsisted by hunting and gathering for > 90% of our existence [11]. Evidence derived from the analyses of the IMs of traditional societies, including the Tanzanian Hadza hunter-gatherers [8], the Venezuelan Yanomami Amerindians [5], the BaAka Pygmies in the Central African Republic [12] and the Arctic Inuit [13], is thus widely viewed as representing 'snapshots' of ancient human IM composition. However, as exposure to Western diets, medicines and microbes cannot be excluded, one must be cautious about the use of these ethnographic cohorts as proxies for prehistoric human IMs [14].
The transformation of the IMs of present-day humans to their current 'modernised' state commenced millennia ago, with the advent of the Neolithic, which, at c. 12,000 years ago (ya), resulted in the first major human dietary transition [15]. But precisely how our IMs changed following the advent of the Neolithic, and the Industrial Revolution after c. AD 1760, remains ambiguous [16][17][18]. In this regard, the analyses of ancient human IMs provide a unique view into the co-evolution of microbes and human hosts, host microbial ecology and changing human IM-related health states through time [2]. Indeed, over the past 15 million years, multiple lineages of intestinal bacterial taxa arose via co-speciation with African hominins and non-human primates, i.e. chimpanzees, bonobos and gorillas [19]. The departure of behaviourally 'fully-modern' Homo sapiens from Africa c. 75 thousand years ago (kya) resulted in the global dispersal of our species [20]. Significantly, various microbes accompanied these human dispersals 'out of Africa' [21,22]. Since the ancestral human IM is estimated to comprise a taxonomically and metabolically more diverse array of microbes than those found in contemporary societies [6,10], the IMs of pre-Clovis North Americas [23], pre-Columbian Puerto Rican Amerindians [24] and pre-Columbian Andeans [25] represent more accurate indications of ancient human IM composition. These studies have provided significant insight into the structure, function and evolution of the human IM, highlighting the influence of dietary changes on the intestinal microbial ecology of contemporary humans [2,6,7]. These have also provided essential baseline information for understanding the evolutionary processes implicated in the taxonomic configuration and metabolic capacity of both healthy and dysbiotic human IMs.
Despite the fact that African populations are not underrepresented in studies concerning 'traditional' human IMs [8,12,26], there is, currently, no information concerning the taxonomic diversity and metabolic capacity of 'ancestral' (i.e. archaeologically-derived) African IMs. To gain insight into the ancient African human IM, the prehistoric incidence of intestinal parasites, pathogenic microbes and antibiotic resistance genes, we performed shotgun metagenomic sequencing of a prehistoric (precolonial) faecal specimen recovered from an Iron Age (c. AD 1460) context at Bushman Rock Shelter (BRS) in Limpopo Province, South Africa. Comparison with ancient (Ötzi), traditional (Hadza and Malawian) and contemporary 'Western' (Italian) IM datasets indicate that the IM of the BRS individual represents a unique taxonomic and metabolic configuration observed in neither contemporary African, nor European, populations (see the 'Methods' section).

Specimen provenience and ancient subsistence reconstruction
The palaeo-faecal specimen was recovered in situ from an exposed stratigraphic section at BRS [27] (Fig. 1a, Fig.  S1). This large dolomitic rock-shelter is situated on the edge of the Great Escarpment in the Drakensberg chain. The occupation level from which the specimen derives comprises the uppermost archaeological unit of the rock-shelter, designated 'Angel' in 'Block A'. This layer includes deeply incised ceramic fragments of the 'Lydenburg' cultural complex, as well as stone artefacts and material of recent (European) origin. Layer 1 ('Angel') dates to the arrival of Bantu-speaking Iron Age agro-pastoralists in the region after c. 1800 years ago (ya) (Fig. S1). This occupation therefore reflects the advent of the Neolithic in South Africa, which entailed the introduction of domesticated taxa such as sorghum (Sorghum bicolor), cattle (Bos taurus) and various other Iron Age-related species and cultural practices (e.g. ceramic and iron-smelting technologies) into the region [28]. All the preceding archaeological layers at BRS are representative of occupations by Holocene (e.g. the Oakhurst and Robberg techno-complexes~10 kya and~20 kya, respectively) and Pleistocene (i.e. the Pietersburg techno-complex~70 kya) hunter-gatherers [27,29]. Following recovery of the specimen using latex gloves and stainless steel forceps, whilst wearing a biologically impervious bodysuit and surgical face mask, it was sealed in a sterile plastic ziplock bag and stored at~4°C . Sediment control sample BRS1 ('SC1') was collected from the surface of the rock-shelter (~25 cm above the specimen) and BRS5 ('SC2') from the levels preceding the Iron Age (~25 cm below the specimen) in the Oakhurst occupation dated to c. 10 kya [27,29]. These were used as 'controls' to assess ecological and faecal community composition for biological plausibility, and also the likelihood of sedimentary aDNA (sedaDNA) leaching. Sub-sampling was performed in ancient DNA (aDNA) laboratories at the Centre for GeoGenetics, University of Copenhagen (Denmark), using established protocols [30] (Fig. S2). Prior to sub-sampling, the outer surface or cortex (~5 mm) of the specimen was removed with a scalpel and excluded from further analyses, primarily as it was in contact with surrounding sediment, and could therefore have been contaminated by soil-derived microbes (Fig. S2). To address withinsample variability, three faecal sub-samples (i.e. BRS2, BRS3 and BRS4) were taken from different sites within the specimen. From the remaining one-third of the specimen, four sub-samples were taken for radiocarbon ( 14 C) dating, isotopic analysis and microscopic intestinal parasitic and scanning electron microscopy (SEM) analyses. One-sixth of the specimen was preserved (at -20°C ) as a voucher sample (Fig. 1b).
To ascertain whether the palaeo-faecal specimen derives from a human individual, all other potential source species were systematically excluded, as per the following procedure. Given the limited number (1967) of aDNA sequence reads mapped to H. sapiens, likely due to the removal of the exterior cortex prior to subsampling (in which most human-derived (nuclear and mitochondrial) DNA would be expected to reside), metagenome assembly could not be performed. Note that, as discussed below, differences in taxonomic composition between the cores and cortices of ancient faecal specimens have been documented, with larger proportions of soil-derived taxa present in the cortices [24]. This provided the impetus for the removal of the faecal specimen's cortex prior to sub-sampling and DNA extraction . Morphologically, the specimen resembles several candidate species [31], although no DNA sequence reads for indigenous felids (e.g. leopard (Panthera pardus), caracal (Caracal caracal) etc.), mustelids (honey badger (Mellivora capensis) and polecat (Ictonyx striatus)), jackal (Canis mesomelas) or domestic dogs (Canis lupus familiaris), and none for the indigenous primates, i.e. vervet monkeys (Cercopithecus aethiops) or baboon (Papio ursinus), were detected. Reads related to nonhuman primates, i.e. Pan troglodytes (common chimpanzee) and Macaca mulatta (rhesus macaque), are likely the result of false-positive identifications, as these taxa do not currently occur in the region, nor would they have in the past [32]. As discussed below, the presence (See figure on previous page.) Fig. 1 Provenience of sub-sampling protocol applied to and microbial taxa detected in the BRS palaeo-faecal specimen. a The location of Bushman Rock Shelter (BRS) in Limpopo Province, South Africa. b Lateral (left) and cross-sectional (right) views of the specimen indicating the sub-sampling protocol applied to facilitate DNA extraction, including 'sedimentary control' sample 1 ('SC1'); faecal samples 2, 3 and 4 and sedimentary control sample 5 (SC2); 14 C AMS dating ( 14 C); isotope analyses (Iso); intestinal parasitic analyses (Ipa); scanning electron microscopy (Sem); and the preservation of a voucher sample (indicated in green shading). c Non-metric multi-dimensional scaling (NMDS) plot comparing the taxonomic community structure (by weighted Bray-Curtis dissimilarity analysis) of the BRS specimen (i.e. BRS2, BRS3 and BRS4) and the sediment controls (SC1 and SC2) with the ancient (Ötzi) (indicated as SI 'small intestine', LPLI 'lower part of the lower intestine' and UPLI 'upper part of the lower intestine'), traditional (Hadza and Malawian) and modern (Italian) IM datasets (taxa were filtered for the occurrence of > 3 in at least 20% of the samples resulting in the inclusion of 371 taxa) (R = 0.6110 indicates ANOSIM analysis which revealed significant differences (p = < 0.001) between the ancient and modern IM samples). d Box-and-whisker plot indicating the relative abundance of intestinal bacterial phyla detected in the BRS specimen (i.e. BRS2, BRS3 and BRS4) ('other' comprises phyla with < 0.6% relative abundance). e Bar chart providing an overview of all environmental, commensal and pathogenic genera identified in the BRS specimen (BRS2, BRS3 and BRS4) and information concerning the DNA extraction and library preparation negative controls (E-LPCs) and modern and ancient sedimentary controls (SC1 and SC2) (data derived from Tables 1 and 2 and Table S1) (see the 'Methods' section) of specific authenticated ancient subsistence-related aDNA reads appears to be indicative of a diet typical of human individuals, and not of indigenous nonhuman omnivores. Similarly, the incidence of authenticated ancient intestinal taxa resembling the typical composition of the human IM, supports this conclusion. The incidence of statistically significant (i.e. verified ancient) C-T p values for the 1967 reads mapped to H. sapiens further supports the conclusion that the faecal specimen derives from a human individual (Table S1).
To confirm the association of the faecal specimen with the archaeological context from which it was recovered, two direct radiocarbon ( 14 C) accelerator mass spectrometry (AMS) dates were generated from two sub-samples taken from within the specimen (Fig. 1b) (see the 'Methods' section). The calibrated dates of 470 ± 44 years BP (IT-C-1020) and 460 ± 35 years BP (IT-C-1077) indicate that the sample was deposited c. AD 1460, within the errors of radiocarbon dating (Table S2) (see the 'Methods' section) and with the calibration medians (cal. AD) of AD 1461 and AD 1464. This date falls within the South African Middle Iron Age (spanning AD 1300-1840), closely follows the demise of the nearby Kingdom of Zimbabwe at c. AD 1450 [33] and precedes first contact with European seafarers after AD 1488 [34].
Prior to the identification of environmental and subsistence-related taxa, all exotic taxa, including kiwi (Apteryx), carp (Cyprinus), salmon (Oncorhynchus), pig (Sus), chicken (Gallus) and rice (Oryza) were identified and excluded from further analyses. The evaluation of taxa present in the DNA extraction (n = 1) and library preparation (n = 1) negative controls (E-LPCs) indicated that instances of environmental contamination were restricted largely to taxa widely cited as either 'contaminants' or as derived from false-positive identifications [35,36]. The authenticity of microbial and macrobial sequence-derived taxa was determined by statistical aDNA sequence damage estimation [37], comparison to E-LPCs, DNA read-length characteristics and ecological conformity. Using high-quality filtered reads for DNA damage estimation analyses with PMDtools [37], this process facilitated the validation of forty-seven taxa represented by 1,470,662 reads as 'ancient' (Fig. 2, Tables 1  and 2, Table S1) (see the 'Methods' section). Subject to the availability of sufficient numbers of high-quality 'mappable' aDNA sequence reads, we employed map-Damage [38,39] to validate the authenticity of taxa by determining the incidence of C-T and G-A substitution rates at the 5′-ends and 3′-ends of strands (see the 'Methods' section). DNA damage analyses of sequence reads derived from the genera Bacteroides and Shigella (Fig. 2b, c) and also Bos taurus and Sorghum bicolor (Fig. 2d, e) indicate that the nucleotide composition at the ends of the analysed reads exhibits the typical pattern expected for ancient DNA [38,39].
In dietary terms, the Bantu-speaker agro-pastoralist diet comprised not only domesticated animal and plant taxa, but also various hunted and gathered indigenous species, including antelope, fish, plants and fruits [40]. The presence of subsistence-related reads derived from sorghum (S. bicolor), cluster figs (Ficus sur), goat (Capra hircus), sheep (Ovis aries) and beef (B. taurus) is indicative of taxa that were consumed shortly before stool deposition by the BRS individual. Based on bulk untreated δ 13 C and δ 15 N values obtained from isotopic analyses, the individual had a predominantly C4-based meal, with a minor C3-based contribution (see the 'Methods' section). This concurs with the aDNA evidence indicating the presence of sorghum, wild figs and beef. Sorghum is a C4 plant with published δ 13 C values of − 14.0 to − 11.0‰, and cattle are grazers (i.e. C4 consumers). The δ 13 C values (− 16.79‰) are higher than − 18‰, which is considered the threshold for a predominantly terrestrial diet. These values do not however preclude the occasional consumption of freshwater resources, including fish and freshwater mussels, given the close proximity (~1.5 km) of the shelter to the perennial Ohrigstad River [27] (Table S3, Fig. S4). The incidence of cattle (B. taurus), cattle-specific microbes, i.e. Lactococcus lactis (a component in fermented milks) and Babesia bovis (the causative agent of babesiosis) are also representative of a Bantu-speaker pastoralist subsistence economy. The non-authenticated (i.e. lacking the damage patterns typical of aDNA) incidence of Podospora anserina (a dung-colonising fungus) is interpreted as symptomatic of post-depositional saprophytic processes, likely resulting from the recent (i.e. historical) use of the rock shelter as a livestock enclosure.

Identifying commensal intestinal microbiota
It is estimated that the human IM harbours~150 to4 00 species [41], most of which belong to the phyla Actinobacteria, Bacteroidetes, Firmicutes and Proteobacteria [6]. The variability of microbial taxonomic abundance, however, influences the identification of the common core IM [42]. As many microbes are capable of transient integration into the IM, where they influence the composition and metabolic activity of resident IM communities [43], essentially environmentally derived genera, i.e. Bacillus, Dietzia, Microbacterium, Paracoccus, Pseudomonas, Staphylococcus and Streptomyces, were omitted from further analyses. This was performed largely as a precautionary measure and does not preclude the occasional or variable occurrence of these taxa in the human IM [42,43].
On the basis of taxa detectable at sequencing depth, metagenomic comparison of the shotgun reads with the National Center for Biotechnology Information (NCBI) BLASTn non-redundant nucleotide (nt) database using MEGAN Community Edition (CE) v6.10.10, and the Burrows-Wheeler Aligner (BWA) facilitated the identification of 722,094 reads (1.48% of all sequence reads) representing thirty-six ancient commensal IM genera. Subsequent statistical DNA damage estimation resulted in the elimination of 29,012 sequence reads, derived from 12 non-authenticated bacterial genera, from the dataset, including Bifidobacterium, Coprococcus, Dorea, Faecalibacterium, Mollicutes, Neisseria, Parabacteroides, Phascolarctobacterium, Romboutsia, Roseburia, Ruminiclostridium, Tissierellia and Treponema (see the 'Methods' section) (Table S4). These taxa could not be authenticated as truly 'ancient', given the very low numbers of sequence reads generated. Since these have been found to inhabit contemporary human IMs, their respective low sequence read counts suggest that their limited detection in the ancient BRS faecal specimen likely reflects their corresponding depletion in the BRS IM. Based on the remaining authenticated (i.e. 'ancient') 688, 089 sequence reads exhibiting an average read-length of  Table 1 DNA sequence reads for twenty-four authenticated commensal IM taxa detected in the BRS palaeo-faecal specimen. Statistically significant (i.e. verified ancient) C-T p values are indicated in bold. BWA mapping was performed using high-quality filtered reads for DNA damage estimation analyses using PMDtools ('C-T p-values') (see the 'Methods' section). Additional read-length information for individual taxa is provided in Actinobacteria Mycobacterium Tuberculosis, leprosy, atypical  Table S5 66.83 base pairs (bp), twenty-four ancient commensal IM taxa (Table 1) were identified. It is of interest to note that, whereas the BRS1 'surface control' sample (SC1) yielded authenticated reads derived from ancient microbial IM taxa (i.e. Enterobacter, Enterococcus and Slackia), the much older BRS5 control (SC2) (i.e. the Oakhurst occupation dated to c. 10 kya) did not (Tables 1 and 2,  Table S1). The IM of the BRS individual, including only the interior sub-samples that is BRS2, BRS3 and BRS4, was determined to be dominated by the phyla Proteobacteria (41.73%) and Bacteroidetes (31.25 %), followed by Firmicutes (13.44%), Actinobacteria (8.89%) and Euryarchaeota (4.68%) ( Table 1, Fig. 1d). At genus level, the bulk (71.82%) of reads was ascribed to Enterobacter (34.45%), Bacteroides (22.36%), Cellulomonas (8.68%) and Flavobacterium (6.33%). In addition to Clostridium (4.93%) and Methanobrevibacter (4.68%), all other genera exhibit < 5% relative abundance. We note that the use of 'relative abundance' as a measure of taxonomic representation has been a standard means by which differences in taxonomic composition or 'abundance' in IM datasets is analysed, verified and compared, and that various notable IM studies have adhered to the use of 'relative abundance' as standard analytical protocol [6,8,9,12,24,25,44]. In addition, while cognisant of the compositional complexity of microbiome samples [44] and the possible influence of the fragmented nature of ancient microbial DNA on taxonomic classification [45], we note that ancient DNA damage has been revealed to exert a minimal influence on species detection and on the 'relative abundance' of IM taxa in both simulated ancient and modern datasets [46].

Identification of ancient pathogenic microbial taxa
There is an estimated 1407 recognised species of human pathogens [47], many of which influence not only health and immune responses [48], but also cognitive development [49] and social behaviour [50]. On the basis of taxa detectable at sequencing depth, metagenomic comparison of the shotgun reads with the NCBI BLASTn nonredundant nucleotide (nt) database using MEGAN and BWA, facilitated the identification of 625,001 'mappable' reads (1.34% of all sequence reads) representing twelve ancient potentially pathogenic taxa (Table 2). Only authenticated ancient taxa were retained (exhibiting an average read-length of 67.55 bp), the authenticity of which was determined by assessing the incidence of statistically significant (p = < 0.05) C-T substitutions at the 5′-ends of sequence reads ( Table 2). The occurrence of authenticated ancient reads homologous to Listeria and restricted to BRS1 (SC1) suggests that this taxon, although ancient, is most likely environmental (i.e. sedimentary) and that it does not derive from the faecal specimen. Conversely, the incidence of authenticated DNA reads for Mycobacterium in BRS2, BRS3 and BRS4, and not in SC1 or SC2, is indicative of the ancient intestinal presence of this genus, although it is also commonly found in environmental (i.e. sedimentary) contexts. While Mycobacterium is not a known member of the intestinal microbiota, and given that not all species are pathogenic, the presence of authenticated 'ancient' reads derived from Mycobacterium within the faecal specimen can neither be confirmed, nor precluded, as symptomatic of an infection. Some species, particularly M. avium, is known to invade intestinal epithelial cells and has been implicated in ulcerative colitis [51]. Similarly, the incidence of authenticated reads for the genera Comamonas, Lysobacter and Shigella in BRS2, BRS3 and BRS4, Aeromonas in BRS2 and BRS4, and Vibrio in BRS4 confirms that these taxa derive from the faecal specimen. Given that not all species of these genera are pathogenic, their presence is not necessarily symptomatic of an ancient gastro-intestinal infection.
Achromobacter occurs in all sub-samples except for the ancient (c. 10 kya) control (BRS5/SC2) which did not yield any authenticated microbial pathogenic taxa. The notable abundance of commensal (41.73 %) ( Table 1) and pathogenic (87.67%) ( Table 2) members of the Proteobacteria in the BRS IM are of interest as it has been established that an increase in Proteobacteria is indicative of IM dysbiosis and metabolic disease [52]. Compared to primary human IM phyla, i.e. Actinobacteria, Bacteroidetes and Firmicutes, the relative abundance of Proteobacteria in the IM is, however, highly variable. While an increase in the abundance of Proteobacteria, especially members of the Enterobacteriaceae (i.e. Klebsiella, Salmonella and Shigella) [53] is a feature of bacterial dysbiosis, the human IM also contains members of commensal Proteobacteria, i.e. Enterobacter, Klebsiella, Sphingobium and Variovorax. Under 'healthy' conditions, the relative abundance of Proteobacteria in the human IM can increase to~45% without observable clinical implications [51].
Microscopic analysis aimed to determine the presence of intestinal parasites, namely helminths and protozoa, did not yield conclusive results as no physical evidence (e.g. eggs and larvae) of an intestinal parasitic infection could be found (see the 'Methods' section). Although this concurs with the aDNA results, the analyses of a single sub-sample might not have been sufficient to detect intestinal parasitic remains. Conversely, not all members of a population would necessarily be infected by intestinal parasites, possibly because of either natural resistance or limited exposure to contaminant sources. Similarly, while SEM analyses did not result in the detection of parasitic remains, it did facilitate the detection of desiccated bacterial cells, degraded plant fragments and plant stellate hair (Fig. S5).

Ancient and modern IM taxonomic comparisons
In terms of taxonomic composition, the ancient samples (BRS and Ötzi) exhibit spatial separation from the 'traditional' (Hadza, Malawian) and modern (Italian) comparative cohorts. Our selection of the ancient Alpine (Tyrolean) Iceman (Ötzi) as a comparative IM dataset relates to his prominence as a well-studied individual representative of an ancient, i.e. authenticated and securely dated pre-industrial, human IM. As there is currently no comparatively ancient datasets available from indigenous African contexts, we selected available IM datasets of contemporary 'traditional' African (i.e. Hadza and Malawian) and also one contemporary European (i.e. Italian) comparative dataset.
Hierarchical clustering using complete-linkage based on Spearman's correlations, produced a clear separation of ancient and modern populations. ANOSIM analysis revealed significant differences between the ancient and modern IM samples (R = 0.9098, p = < 0.001) for 371 taxa (Fig. S6) (see the 'Methods' section). As stated, and bearing in mind the compositional complexity of IM samples [44] and the conceivable influence of fragmented DNA on taxonomic classification [45], ancient DNA damage results in minor differences in species detection and in comparisons concerning the 'relative abundance' of microbial taxa identified in ancient and modern IM datasets [46]. As with weighted Bray-Curtis analysis based on the relative abundance of all identified IM taxa (Fig. 1c), we note that unweighted Bray-Curtis analyses based on the 'presence-absence' of IM taxa exhibits correspondingly evident differences between the sedimentary controls (SC1 and SC2) and the ancient (i.e. BRS and Ötzi), 'traditional' (Hadza, Malawian) and modern (Italian) comparative IM cohorts (ANOSIM R = 0.8361, p = < 0.001) (Fig. S7). With regards potential contamination derived from the surrounding archaeological sedimentary matrix in the BRS palaeo-faecal specimen, comparison of the incidence of the twenty-four authenticated ancient IM taxa (Table 1) indicates that the surrounding sedimentary matrix (BRS1, 'SC1' and BRS5, 'SC2') and the DNA extraction and library preparation negative controls (E-LPCs) are not significant sources of microbial taxa identified in the palaeo-faecal specimen (BRS2, BRS3 and BRS4) (Fig. S8).
Metagenomic comparison of all analysed shotgun reads revealed that the IM of the BRS individual (i.e. BRS2, BRS3 and BRS4) is characterised by a Firmicutes/ Bacteroidetes (F/B) ratio significantly skewed towards Bacteroidetes (at 31.25%), as opposed to Firmicutes (at 13.44%) (Fig. 1d, Table 1). The F/B ratio [54] is widely considered as significant in human IM composition, with dysbiosis associated with inflammation, obesity and metabolic diseases [55]. Although this significance is controversial [56], we note that the BRS F/B ratio (0.4) does not resemble those reported for modern 'traditional' Bantu-speaking Africans in Burkina Faso (2.8) [57] nor that calculated here for the East African Hadza (2.6) [8]. This can likely be attributed to the fact that 'traditional' diets rich in starches (e.g. potatoes, yams and sweet potatoes) have been shown to increase the F/ B ratio, including increases in relative abundance of Firmicutes and enzymatic pathways and metabolites involved in lipid metabolism [58].
The IMs of modern humans have furthermore been stated to comprise one of three 'enterotypes', based on prevailing genera, i.e. Bacteroides, Prevotella or Ruminococcus [59]. Some taxa relate to long-term diets, such as Bacteroides, which is associated with the consumption of large amounts of protein and animal fat, and Prevotella, which is indicative of a high plant-derived carbohydrate intake [60]. Similarly, Ruminococcus prevails in individuals who consume significant amounts of polyunsaturated fats, e.g. marine fish, vegetable oils and nuts and seeds. The enterotypic composition of the BRS IM diverges from that reported for 'traditional' Africans [8,12,15,26,57,61]. In relation to Ruminococcus (1.57%) and Prevotella (0.63%), the BRS IM is characterised by a predominance of Bacteroides (22.36%) (i.e. 'Enterotype 1') which concurs with a diet rich in protein and animal fat, and which lends support our interpretation of the BRS Bacteroidetes-dominated F/B ratio. While this corresponds to data reported for the West African BaAka [12], it differs from the IM taxonomic composition reported for modern African cohorts, including the Tanzanian Hadza [8] and children in Burkina Faso [57], which exhibits higher abundance of Prevotella (Fig. 1e). The sizable incidence of Flavobacterium (6.33%) in the BRS IM likely relates to the fact that members of this genus are resistant to dietary phenolic compounds derived from largely 'medicinal' plant taxa, including phenolic acids, flavonoids, tannins, curcuminoids, coumarins, lignans and quinones [62]. This genus also occurs in the IMs of non-human primates, including baboons (P. ursinus) and gorillas (Gorilla gorilla) [63]. In relation to its substantial presence in the BRS IM, members of this genus might also have played a role in the elimination of aflatoxins present in milk, cheese, grains and figs. Methanobrevibacter (4.68%) is the most abundant archaeon in the human IM [64]. Besides consuming fermentation products produced by saccharolytic bacteria, archaeal methanogenesis also improves the efficiency of polysaccharide fermentation.

Ancient and modern IM metabolic comparisons
Despite having highly divergent IM taxonomic compositions, functional gene profiles are relatively similar amongst different contemporary human populations. Accordingly, microbial community (i.e. taxonomic) composition does not afford a thorough understanding of microbial IM community function (i.e. metabolic capacity) [69]. To ascertain statistically significant differences between the metabolic capacities of ancient (preindustrial) and modern 'Westernised' human IMs, we explored and compared the functional IM capacities of two ancient (BRS and Ötzi), two traditional (Hadza and Malawian) and one modern 'Western' (Italian) human cohorts (see the 'Methods' section). This was performed only for the twenty-four ancient authenticated IM taxa indicated in Table 1. ANOSIM analysis revealed significant difference (R = 0.5395, p = 0.001) in the metabolic capacity of twenty-four authenticated ancient taxa for the ancient and modern cohorts. Spearman's correlation was performed on the taxa linked to the KEGG categories (i.e. 1487 KO gene categories linked to specific IM taxa). Although not contiguous to the faecal specimen, the considerable differences in the incidence of particular KEGG Orthology (KO) genes in BRS1 (SC1) and BRS5 (SC2) (the younger surface-derived and the ancient Oakhurst (c. 10 kya) sediment samples), and BRS2, BRS3 and BRS4 eliminate the sedimentary matrix as a source for the greater proportion of KO genes identified in the faecal specimen (Fig. 3). The differential distribution of the 24 authenticated ancient IM taxonomic categories (Table 1), particularly in terms of the taxa detected in SC1 and SC2 vs. those detected in the BRS specimen (BRS2, BRS3 and BRS4) (R = 0.8361, p = < 0.001), lends support to this conclusion (Fig. S7).
ANOSIM analysis revealed significant differences (R = 0.4840, p = < 0.001) in the metabolic capacity of the ancient and modern comparative cohorts (Fig. 4a). Based on the analyses of the KO gene categories occurring only in the twenty-four authenticated ancient taxa (i.e. 1487) (Table 1), 72 taxa-specific KO genes are identified as unique to the BRS IM (Fig. 4b). Metagenomic comparison of the shotgun reads with the BLASTx NCBI non redundant protein (nr) database using DIAMOND v0.8.36.98, and MEGAN CE v6.10.10 revealed that 117 taxa-specific KO genes (7.86%) are shared between all (i.e. ancient and modern) IM cohorts. While this is indicative of the relative temporal stability of a core commensal human IM community, it also reflects the variable (i.e. adaptable) and transient nature of human commensal IM community composition and metabolic capacity [3,39,70]. This responsive adaptability is echoed by the variable co-abundance of several relevant metabolic pathways identified in the BRS IM and the ancient and modern cohorts (Fig. 4c, Tables S6, S7, S8, S9).
In our comparison of the functional IM capacities of the two ancient, two traditional and one modern 'Western' human IM cohorts, we also focussed our analyses only on the twenty-four authenticated ancient IM taxa indicated in Table 1 (see also Table S8 (Table S10). K00568 and K00457 are also implicated in the biosynthesis of terpenoid quinones. The capacity to biosynthesise toxic secondary metabolites (e.g. polyketides, isoprenoids, aromatics (phenylpropanoids) or alkaloids) is essential when dietary sources comprise largely natural and unprocessed foods. The BRS IM also exhibits enrichment of genes implicated in glyoxylate and dicarboxylate metabolism  (Table S8). Soybeans are primary dietary sources of raffinose and stachyose, and melibiose occurs in coffee, cacao and processed soy [71]. Deglycosylation by intestinal epithelial cell beta-glucosidases is a critical step in the   Table 1 (Table S10). The heat map is based on Spearman's correlation coefficients comparing differences in metabolic functionality for the BRS IM (i.e. BRS2, BRS3 and BRS4) with the ancient, traditional and contemporary comparative IM datasets While it appears that the depletion of KO genes related to fructose and mannose metabolism can be attributed to the depletion of bacterial taxa harbouring these genes, we cannot exclude the possibility that this might also be due to the differential preservation of aDNA derived from these bacterial taxa. Whereas the Hadza IM is enriched in genes involved in fructose and mannose metabolism, the Italian IM is enriched in genes involved in the metabolism of simple sugars, e.g. glucose, galactose and sucrose [26]. KO genes involved in the degradation of toxic pollutants (i.e. chloroalkane, chloroalkene and naphthalene) and butanoate metabolism (K04072: H = 13.468, p = 0.036 and K00128: H = 15.970, p = 0.013) are also depleted in the BRS IM. This is noteworthy, as there are no known natural sources of chlorinated paraffins (CPs) [72]. CPs, including chloro-alkanes (C 10-13 ), are widely used in the production of refrigerants, solvents, plasticisers and fireretarding agents [73]. Naphthalene (C 10 H 8 ), a polycyclic aromatic hydrocarbon, is derived from petroleum distillation and is used in the manufacture of plastics, resins, fuels and insecticides. In addition, the depletion of KO genes involved in galactose, glycerolipid and sphingolipid metabolism and glycosphingolipid biosynthesis (K07407: H = 14.352, p = 0.026) (alpha-galactosidase) (K01190) (beta-galactosidase) is significant as it provides insight into the influence of exposure to modern environmental pollutants on IM composition and metabolic capacity.
Although it is challenging to infer ancient diet from ancient IM data, there is a growing understanding of the role of dietary choices on IM composition [2]. The enrichment, in the BRS IM, of genes serving specific metabolic processes (i.e. the biosynthesis of secondary metabolites, xenobiotic biodegradation, the metabolism of terpenoids and polyketides, propionate and butanoate and lysine degradation and the synthesis of ketone bodies) is noteworthy as it suggest that the BRS metabolic profile is indicative of a diet rich in unprocessed natural resources, conceivably comprising medicinal plant substances (given the capacity for biosynthesising secondary metabolites and biodegrading xenobiotics), and encompassing irregular dietary intake. In addition, and given the enrichment of KO genes implicated in the synthesis and degradation of ketone bodies (i.e. K00626), the metabolic profile of the BRS individual approximates that induced by a ketogenic diet [74], characterised by high-fat, adequate-protein and low-carbohydrate dietary consumption, and accompanied by prolonged exercise and periods of low dietary intake or unintentional 'fasting' (Fig. 4d, Table S9). Whether this metabolic profile resembles that generally referred to as a 'palaeo-diet' is unclear, as this would have entailed the exclusion of dairy, grains and legumes, nutritional categories which did indeed form part of the BRS diet. The BRS IM, and also that of Ötzi, are furthermore characterised by depletion of KO genes involved in the metabolism of antibiotics (e.g. K11358: H = 15.320, p = 0.017), including aminocoumarin antibiotics, and the metabolism of isoquinoline alkaloids, including the opiates morphine and codeine, as well as the antibiotic berberine.
In contrast to the ancient IMs, the modern (Hadza, Malawian and Italian) IMs are characterised by enrichment of KO genes involved in raffinose, stachyose and melibiose transport (e.g. K10119, K10118 and K10117) indicative of a diet comprising soy, coffee, cacao and dietary flavonoid glycosides derived from tea, citrus and wine (K05349) ( Table S10). This group also exhibits enrichment in genes concerning galactose metabolism, i.e.  Fig. 4 Graphic summary of dietary and environmentally induced differences in the metabolic capacities of the ancient and modern IM datasets analysed in this study. a Principal coordinates analysis (PCoA) and comparison of the metabolic (functional) capacity of the BRS specimen (i.e. BRS2, BRS3 and BRS4) and the sediment controls (SC1 and SC2) with the ancient (Ötzi) (SI 'small intestine', LPLI 'lower part of the lower intestine' and UPLI 'upper part of the lower intestine'), traditional (Hadza and Malawian) and modern (Italian) IM datasets (KEGG categories were filtered for occurrence of > 3 in at least 20% of the samples). b Venn diagram indicating the relative abundance of IM taxa-linked KO genes identified in the ancient, traditional and modern comparative cohorts, calculated as based on the twenty-four authenticated ancient IM taxa indicated in Table 1. c Bubble charts indicating the co-abundance (log 10 ) of eighteen (labelled '1' to '18') metabolic IM capacities for the ancient, traditional and modern IM cohorts (bubble sizes are representative of the relative abundance of KEGG categories (see scale on right) and comprise (1) glycolysis/ gluconeogenesis, (2) citrate cycle, (3) fructose/mannose metabolism, (4) galactose metabolism, (5) starch/sucrose metabolism, (6) amino sugar and nucleotide sugar metabolism, (7) pyruvate metabolism, (8) glyoxylate/dicarboxylate metabolism, (9) propanoate metabolism, (10) butanoate metabolism, (11) synthesis and degradation of ketone bodies, (12) sphingolipid metabolism, (13) biosynthesis of unsaturated fatty acids, (14) nglycan biosynthesis, (15) glycosphingolipid biosynthesis (-globo), (16) glycosphingolipid biosynthesis (-ganglio), (17) chloroalkane/chloroalkene degradation and (18) naphthalene degradation) (Table S7). d Dissimilarities in ancient and modern IM metabolic capacities are related to recent (historical) changes in human dietary composition and exposure to toxic environmental pollutants (as indicated by the icons and the blue and red arrow). e Differences in IM metabolic capacities are contrasted in terms of the up-and down-regulation of IM metabolic capacities as an 'ancient' vs. 'modern' comparative summary (see the 'Methods' section) glucose and galactose), the primary dietary source of which is milk and yoghurt. KO genes involved in starch and sucrose (K00705), and amino sugar and nucleotide sugar metabolism (K00965 and K00849: H = 15.553, p = 0.016) are also enriched, as are genes involved in glycine, serine, threonine, methane and antibiotic metabolism. The enrichment of genes involved in glycerolipid and sphingolipid metabolism, and glycosphingolipid biosynthesis (e.g. K01190 and K07407) (alpha-galactosidase), likely reflects the impact of modern environmental pollutants on IM composition and metabolic capacity. It would be of interest to determine whether this does in fact represent a 'population-wide' functional response to exposure to toxic compounds ubiquitous in modern industrialised urban environments.
In summary, significant differences between the ancient and modern IM metabolic capacity comprise the ability of the modern IMs to metabolise opiates (i.e. morphine and codeine), antibiotics (i.e. berberine), raffinose, stachyose and melibiose indicative of a diet comprising soy, coffee, cacao and dietary flavonoid glycosides derived from tea, citrus and wine and glycerolipid and sphingolipid metabolism. Since these compounds were not present at the time of deposition of the BRS specimen, our results document the pervasive evolutionary influence of dietary changes, medicinal treatments and environmental pollutants on the IM taxonomic composition and metabolic capacity of contemporary human populations (Fig. 4e, Table S8, S9).

Antibiotic resistance genes
Our results also confirm reports of antibiotic resistance genes (ARGs) previously recovered from ethnographic cohorts and archaeological faecal samples [5,25,75]. Following analysis of the ancient and modern resistomes using Resistome Analyser (https://github.com/cdeanj/ resistomeanalyzer) (see the 'Methods' section), we identified a total of 15 functional ARGs, four of which occur in the BRS IM. These include the prokaryotic protein synthesis elongation factor Tu (EF-Tu) (tufA and tufB), flouro-quinolene-resistant DNA topoisomerase (parE) and daptomycin-resistant rpoB (Table S11, Fig. S9). Note that ARGs were identified only in BRS4, and not in BRS1, BRS2 or BRS3, and is likely attributable to the variable sequencing depth of the Illumina platform used (see Supplementary Table 12). Several bacterial taxa (e.g. Escherichia coli, Staphylococcus aureus and Streptomyces collinus) have a duplicate of genes encoding EF-Tu (tufA and tufB) which confers resistance to the antibiotic kirromycin. These genes are also present in the Ötzi (sample UPLI), Hadza (H9 and H11) and Italian (IT6) datasets. In Pseudomonas aeruginosa and certain Salmonella serovars, parE confers resistance to fluoroquinolones, and in Staphylococcus aureus it confers resistance to fluoroquinolones and aminocoumarin. These genes are present in Ötzi (UPLI) and the Hadza (H11). The daptomycin-resistant rpoB gene encodes the β subunit bacterial RNA polymerase and is the site of mutations that confer resistance to the daptomycin antibacterial agents, which is synthesised by S. roseosporus. Daptomycin-resistant rpoB is present in the Ötzi (SI, LPLI and UPLI) and Hadza (H11) datasets, but absent from the Malawian and Italian cohorts. Certain mutations in the RNA polymerase β subunit have been found to reduce the susceptibility of methicillin-resistant S. aureus (MRSA) for the antibiotics daptomycin and vancomycin [76]. A number of ARGs are limited in occurrence to the modern comparative cohorts. Several ARGs, including gyrA, which confers fluoroquinolone resistance to Neisseria gonorrhoeae and Ureaplasma urealyticum, triclosan resistance to Salmonella enterica, and pbp4B, a penicillin-binding protein and the target of βlactam antibiotics and marA, are shared only with the Hadza cohort. Pbp2, a point mutation in N. meningitidis which confers resistance to β-lactam and a penicillinbinding protein found in Streptococcus pneumoniae, also occurs only in the Hadza dataset. Cat, which confers resistance to broad-spectrum phenicol antibiotics by antibiotic inactivation, occurs only in the Italian cohort and designates variants of the chloramphenicol acetyltransferase gene in Enterococcus faecium, Lactococcus lactis, Listeria monocytogenes, Salmonella typhi and S. aureus. Cat has also been detected amongst isolated Amerindians [5].

Conclusions
In this study, we performed a comprehensive analysis of an ancient palaeo-faecal specimen derived from a fifteenth century Middle Iron Age (Neolithic) South African Bantu-speaking hunter-agro-pastoralist. Although representative of the IM composition, metabolic capacity and ARG configuration of the distal (i.e. the colon including the cecum, rectum and anal canal) IM of a single human individual, following particular dietary consumption and excreted at a single point in time, the characterisation of an authenticated ancient African Bantu-speaker IM is an important step towards understanding the ancestral (i.e. pre-colonial African) state of the human IM. Our analyses designate a diet atypical of what is generally expected from a Neolithic (Iron Age) IM [17], instead comprising taxa indicative of a mixed forager-agro-pastoralist diet, supporting the role of dietary habits in shaping human IM composition.
It must be emphasised that the Neolithic of South Africa is different from the 'classic' Near-Eastern Neolithic, as foraging and hunting did play a prominent role in the subsistence configuration of southern African Iron Age communities [40]. It must also be emphasised that the samples derived from the interior of the BRS specimen (i.e. BRS2, BRS3 and BRS4) 'cluster' with the ancient comparative samples (i.e. those derived from Ötzi) in terms of both taxonomic composition (ANOSIM analysis revealed significant differences between the ancient and modern IM samples) (R = 0.8361, p = < 0.001) for 731 taxa (Fig. S7) and metabolic capacity (ANOSIM analysis revealed significant differences) (R = 0.4840, p = < 0.001) (Fig. 4a), and not with the sedimentary controls (SC1 and SC2) or the modern comparative (i.e., Hadza, Malawian and Italian) cohorts. In contrasting contemporary (Hadza, Malawian and Italian) and ancient (BRS and Ötzi) human IM taxonomic composition and metabolic capacity, it is evident that the changes brought about by modern human dietary composition, exposure to toxic pollutants and the excessive use of antibiotics, almost certainly resulted in positive selection for bacterial taxa involved in specific metabolic IM activities [69,77]. While this does not correlate directly with geography, it does exhibit a temporal trend towards the selection of KO genes in direct response to a number of specific changes in human dietary behaviour and environmental interaction and modification.
The IM of the BRS individual represents a unique taxonomic and metabolic configuration not observed in either contemporary African, or European, populations. Several studies have found that IM composition differs between Western urbanised and indigenous rural populations, and that these dissimilarities frequently correlate with dietary characteristics. In this instance, the diet of the BRS individual, based on hunting, foraging and also agricultural and pastoral resources, differs from the typical Western diet comprising preservatives and foodenhancers, as well as coffee, chocolate, soy, wine and citrus. In terms of modern human hygiene practices, it has been suggested that regular contact with 'old friends' (including both pathogenic and commensal environmental bacteria) is significantly diminished in Western countries [78] and that, given our extensive evolutionary history with microbes [19], this diminishes the capacity of the modern human IM to mediate allergic reactions and autoimmune and inflammatory diseases. It is evident that the ubiquitous use of antibiotics has altered the properties of formerly commensal bacteria, and of the human IM [79]. We therefore hypothesise that, by compelling commensal IM residents to respond to the introduction of antibiotics prescribed for pathogenic taxa, artificially introduced dysbiosis has significantly modulated the pathogenic potential of commensal taxa, resulting in long-term deleterious impacts on optimal human IM functioning.
The IM of the BRS individual also provides evidence for recent human IM adaptation to environmental pollutants. The emergence of xenobiotic degradation pathways involved in naphthalene, chloroalkane and chloroalkene, benzoate and xylene degradation is likely a population-wide functional response of the IM to exposure to toxic and foreign compounds that are so ubiquitous in industrialised urban environments. The respective enrichment and depletion of several KO genes implicated in the metabolism of morphine and codeine, as well as additives and supplements including pyruvate, l-arginine and beta-alanine, are also indicative of the adaptive capacity of the human IM. Given these modern influences, the contemporary human IM appears to be predisposed towards shifting to a state of dysbiosis. Such altered states of equilibrium frequently result in the pathogenesis of inflammatory diseases and infections, including autoimmune and allergic diseases, obesity and diabetes. The IM of the BRS individual also corroborates the premise that ARGs are a feature of the human IM, regardless of exposure to currently available commercial antibiotics.
The large number of taxonomically (92.63%) and metabolically (88.51%) unassigned reads in the BRS palaeo-faecal specimen analysed here, granting that this might, to some extent, be a result of aDNA damage and the inability to 'map' all reads to existing comparative sequences [44,45] is suggestive of substantial unknown IM taxonomic diversity and metabolic functionality (Table S12). In the future, the identification of these taxa and their respective metabolic capacities might have significant implications for identifying health risks specific to the sub-Saharan African Bantu-speaker population, which has increased in prevalence with the adoption of Western diets, medical treatments and exposure to modern pollutants. Given that sub-Saharan Africans living outside Africa exhibit a high prevalence of complex diseases, the comparison of ancient African IM data to those of modern Africans might facilitate not only retrospective disease diagnosis, but also the identification of IM-related risk factors that contribute to the onset of certain diseases.

Accelerator mass spectrometry dating
Two sub-samples derived from the interior of the specimen were subjected to accelerator mass spectrometry (AMS) dating. The samples were pre-treated using the standard acid-base-acid approach [80] performed at 70°C . Carbon was oxidised using off-line combustion in the presence of excess CuO and Ag, and the resulting CO 2 was reduced to graphite through Fe reduction at 600°C [81]. The graphite was measured at the iThemba LABS AMS facility using oxalic acid II and coal as the reference and background, respectively. We report 14 C ages in conventional radiocarbon years BP (i.e. before present refers to AD 1950). Dates were calibrated using 'Calib 7.1' [82] using the 'SHcal13' dataset [83] and are reported in years AD (anno domini).

Dietary isotope analyses
To investigate the dietary composition of the BRS individual, one sub-sample derived from the interior of the specimen was subjected to isotopic analyses. The sample was homogenised using a mortar and pestle and then divided in to three sub-samples. The first was left untreated, and the second was subjected to a lipid extraction process using a 2:1 chloroform/ethanol solution to remove any lipids present [84]. The sample was covered with 25 ml of the solution, and the mixture agitated in an ultra-sonic bath for 15 min and then left overnight. The solvent was then decanted, and the sample dried at 70°C prior to weighing for analysis. The third sample was covered with 25 ml 1% hydrochloric acid (HCl) to remove inorganic carbonates [78], agitated for 15 min and left overnight. The acid was then decanted, and the sample repeatedly washed (6 times) with distilled water before drying at 70°C. Aliquots of the samples weighing between 0.80 mg and 0.90 mg were weighed using a Mettler Toledo MX5 micro-balance. The weighed material was placed in tin capsules that had been precleaned in toluene. All the samples were run in triplicate. Samples for isotopic analyses were combusted at 1020°C using an elemental analyser (Flash EA 1112 Series) coupled to a Delta V Plus stable light isotope ratio mass spectrometer via a ConFlo IV system (Thermo Fischer, Bremen, Germany), housed at the Stable Isotope Laboratory, University of Pretoria. Two laboratory running standards (Merck Gel: δ 13 C = − 20.26‰, δ 15 N = 7.89‰, C% = 41.28, N% = 15.29 and DL-Valine: δ 13 C = − 10.57‰, δ 15 N = − 6.15‰, C% = 55.50, N% = 11.86) and a blank sample were run after every 11 unknown samples. Data corrections were performed using the values obtained for the Merck Gel during each run, and the values for the DL-Valine standard provide the ± error/precision for each run. The precision for the BRS analyses was > 0.04‰ and 0.05‰ for nitrogen and carbon, respectively. These running standards are calibrated against international standards, i.e. National Institute of Standards and Technology (NIST): NIST 1557b (bovine liver), NIST 2976 (muscle tissue) and NIST 1547 (peach leaves). All results are referenced to Vienna Pee-Dee Belemnite for carbon isotope values and to air for nitrogen isotope values. Results are expressed in delta notation using a per mille scale using the standard equation 'δX(‰) = ((R sample /R standard ) − 1)' where X = 15 N or 13 C and R represents 15 N/ 14 N or 13 C/ 12 C respectively.

Intestinal parasite detection
In addition to genomic taxonomic profiling, we also performed microscopic analysis to determine the incidence of intestinal parasitic helminths and protozoa. The extraction protocols applied in palaeo-parasitology used to extract parasitic markers (i.e. eggs or oocysts) typically entail rehydration, homogenisation and micro-sieving [85]. The sub-sample (~5 g) was placed in a rehydration solution comprising 50 ml 0.5% trisodium phosphate (TSP) solution and 50 ml 5% glycerinated water for 7 days, after which it was ground and passed through an ultrasonic bath for 1 min. The sample was then filtered in a sieving column comprising mesh sizes of 315 μm, 160 μm, 50 μm and 25 μm in aperture diameter. Because of the typical size of most intestinal parasite eggs range from 30 to 160 μm long and 15 to 90 μm wide, only the two last sieves (i.e. 50 μm and 25 μm) were subjected to microscopic analyses.

Scanning electron microscopy
We immobilised 0.5 g palaeo-faecal material on doublesided carbon tape (SPI supplies). Excess loose particles were blown off with compressed argon gas and coated with gold using an Emitech K450X sputter coater (Quorum Technologies, UK). Scanning electron microscopy (SEM) images were acquired on a Zeiss Ultra Plus Field Emission Scanning Electron microscopes (Carl Zeiss, Oberkochen, Germany), at an accelerating voltage of 1 kV.

Ancient DNA extraction and library preparation
All pre-PCR amplification steps were carried out in dedicated aDNA 'clean' laboratories at the Centre for GeoGenetics in Copenhagen, Denmark, applying strict aDNA practices and established aDNA protocols, as per Seersholm et al. [86] and Warinner et al. [87]. Extractions for shotgun metagenome sequencing were carried out using a phenol-chloroform-and kit-based extraction protocol optimised, by the Centre for GeoGenetics, for ancient sedimentary and faecal samples. This entailed dissolving~16 g of palaeo-faecal matter in 40-ml digestion buffer (18 mM EDTA, 100 μg ml −1 proteinase K, 7% N-lauryl-sarcosyl, 50 mM dithiothreitol and 3% mercaptoethanol) homogenised for 2 × 20 s on a FastPrep-24 (MP Biomedicals) and incubated overnight at 37°C. Following incubation, samples were spun down, and the supernatant transferred to a clean 15-ml tube. Next, samples were subjected to an inhibitor removal step using buffers C2 and C3 from PowerMax Soil DNA Isolation Kit (MO BIO Laboratories, Inc., Carlsbad, CA, USA) followed by DNA isolation using phenol and chloroform in a ratio of 1:2. Finally, extracts were concentrated and purified with a 15-ml 30-kDa Amicon Ultra-4 Centrifugal Filter (Millipore) using two wash steps with 750 μl buffer C6 from PowerMax Soil DNA Isolation Kit. Extracts were stored at -20°C in 50-100 μl C6 buffer. Seven libraries, comprising BRS1 (SC1), BRS2, BRS3, BRS4, BRS5 (SC2) and two negative controls (i.e. an extraction and library preparation control referred to as 'E-LPCs'), were constructed using the NEBNext DNA Library Prep Master Mix for 454 (E6070), with the following modifications: 1-20 μl extract was used for the end-repair step depending on the DNA concentration and inhibition level. End-repair reactions were incubated for 20 min at 12°C and 15 min at 37°C. At the adapter ligation step, reactions were incubated at 20°C for 15 min. The final fill-in reaction was performed at 60°C for 20 min followed by 80°C for another 20 min to inactivate the enzyme. Each reaction step was followed by a purification step with MinElute columns (Qiagen) using 400 μl buffer PB for each 25 μl reaction. Finally, libraries were pooled in equimolar concentrations and sequenced on an Illumina HiSeq 2500 platform at the Danish National High-Throughput DNA Sequencing Centre. The libraries were sequenced twice to improve DNA recovery, producing 14.563 Gbp of data (17, (Table S13).

Sequence processing and microbial taxonomic profiling
The potential for retrieving ancient IM data from palaeofaecal remains is confounded by technical and biological variables [14,44,45]. In technical terms, the detection of > 90 microbial genera in DNA extraction and library preparation controls suggests that reagent and laboratory contamination can influence sequence-based IM analyses [88][89][90]. The choice of DNA extraction protocols can also impact metagenomic compositional profiles [90,91]. In biological terms, IM research generally focuses on the microbial community of the large intestine as expressed in stools, despite the fact that the 6.5 m human digestive tract consists of three organs, i.e. the stomach, small intestine and large intestine [6]. Since microbial communities change along the length of the GI, differences exist between oral, intestinal and faecal taxonomic profiles in both modern [91,92] and ancient [25] instances. Moreover, and besides the influence on IM taxonomic composition of diet [57], age [61], seasonal variation [92] and host immuno-modulation [93], stool consistency also influence IM taxonomic composition [94]. Differences in taxonomic composition between the cores and cortices of specimens have also been documented, with larger proportions of soil-derived taxa present in the cortices [24]. In postdepositional terms, the retrieval of ancient IM data is confounded by on-going microbial activity and also environmental contamination [95][96][97]. Instances of reverse contamination, i.e. from a faecal specimen into the surrounding sediment, are also probable as the exchange of microbes between a stool, and the surrounding sediment would certainly occur.
With these concerns in mind, taxonomic profiling was preceded by several data pre-processing steps. First, raw sequence reads were processed to remove all Illumina PhiX spikes, human reads and all exact duplicate reads present in the extraction (n = 1) and library preparation (n = 1) negative controls (E-LPCs) using BBDuk [98]. Second, barcodes, adapters, reads shorter than 25 basepairs [bp], and 'quality score' < 25 were removed from the dataset [98,99] using AdapterRemoval V2 [100]. Taxonomic binning was then performed via comparison of the shotgun reads with the BLASTn v2.2.31 + NCBI nt database [101,102]. Taxa were identified using MEGAN CE v6.10.10 [103] by using the weighted lowest common ancestor ('wlca') option and the default percent-to-cover value setting ('80') with parameter values set as follows: min bit score 50, expect value (e value) 1.0e-10, top percent 10, min support 10 and min complexity 0.45. Species identifications were based on significant hits (bit score ≥ 50) and on MEGAN parameters established at 'identities' 97%, 'positives' 100% and no (0%) 'gaps'. Comparisons of BRS IM sequence reads with those derived from other (comparative) IMs were performed by the sub-sampling in of the reads to the lowest number of reads present in any sample (i.e. BRS1 (SC1) with 56,682 filtered sequence reads).

Ancient DNA authentication
Molecular damage following death is a standard feature of all aDNA molecules. The accumulation of deaminated cytosine [uracil] within the overhanging ends of aDNA templates results in increasing cytosine (C) to thymine (T) misincorporation rates toward read starts, with matching guanine (G) to adenine (A) misincorporations increasing toward read ends in double-stranded library preparations [104,105]. MapDamage [38,39] is widely used to determine the incidence of cytosine (C) to thymine (T) and guanine (G) to adenine (A) substitution rates at the 5′-ends and 3′-ends of strands. MapDamage is not however optimised for ancient samples lacking high genome coverage that would permit the identification of all possible misincorporations [105], and DNA damage patterns cannot be calculated for taxa with insufficient read counts, i.e. < 150 [105,106]. In addition, DNA fragmentation rates vary according to environmental conditions and the types of organisms involved [104][105][106], often resulting in 'alternative' damage patterns [103][104][105][106][107][108]. We therefore also validated the antiquity of putatively ancient taxa by a statistical method that compares post-mortem damage patterns indicative of the cytosine to thymine (C-T) substitutions at the 5′-ends of sequence reads [37,109]. High-quality filtered reads were aligned to comparative genomes (Table S13) using BWA (− n 0.02, − l 1024) [109], and duplicate sequence reads were removed using the Picard tools script Mark-Duplicates (https://broadinstitute.github.io/picard/). Resulting alignments were used to perform statistical DNA damage estimation analyses which entailed the calculation of goodness-of-fit p values (p = < 0.05) indicative of significant cytosine to thymine (C-T) substitutions at the 5′-ends of sequence reads using PMDtools (https://omictools.com/pmdtools-tool) [37].
The authentication of aDNA sequence reads was furthermore based on the comparison of reads derived from negative (i.e. extraction and library preparation) controls [87,96,97,103,104]. In addition to the detection of > 90 microbial taxa derived from reagents and laboratory contamination [88,89], the probability that negative controls can become cross-contaminated during sample processing [105] complicates the authentication process. To establish the antiquity of microbial taxa occurring in the E-LPCs (i.e. Arthrobacter, Blautia, Klebsiella, Lactobacillus, Prevotella and Ruminococcus), we compared the read yields in the BRS specimen with those in the E-LPCs. Since aDNA sequences are shorter than those derived from modern organisms, most frequently via contamination [88,89,107,108,[110][111][112], DNA read length was also used as criteria in the authentication process. This criterion is particularly relevant in instances that exclude the use of bleach for the removal of contaminants [86,87], as is the case here. Lastly, evaluating ecological conformity, i.e. excluding DNA reads that are derived from either non-indigenous taxa, foreign contaminants or false-positive identifications, such as Apteryx (kiwi), Cyprinus (carp), Oncorhynchus (salmon) and Oryza (rice), was used to assess taxonomic community composition for biological plausibility [96,97]. The authenticity (i.e. prehistoric provenience) of microbial and macrobial sequence-derived taxa was therefore evaluated according to (1) validating the existence of C-T and G-A substitution rates, (2) statistical aDNA sequence damage estimation, (3) comparison to negative DNA E-LPCs, (4) DNA read length characteristics and (5) ecological conformity.

Functional metabolic profiling
To discern the metabolic pathways associated with the dietary and environmental factors characteristic of the Bantu-speaking forager-agro-pastoralist in question, we identified reads assigned to functional genes in the shotgun metagenome dataset. To ascertain the presence of microbial groups either positively or negatively correlated with specific metabolic profiles, we determined functional categories based on DIAMOND v0.36.98 BLASTx comparisons to the NCBI non-redundant protein database. The GI accessions were used to identify the Kyoto Encyclopaedia of Genes and Genomes (KEGG) orthologies (https://www.genome.jp/kegg/) in MEGAN CE v6.10.10 [103] by using the weighted lowest common ancestor ['wlca'] option and the default percent-to-cover value setting ('80') with the parameters as follows: 'e value cut-off' 1.0e-4, 'top percent' 10, 'min support' 10, 'min complexity' 0.45 and 'identity' 97%. Comparisons of KEGG orthologies were performed following the sub-sampling to the lowest number of reads for any sample (i.e. BRS1 (SC1) with 56,682 sequence reads).

Detecting antibiotic resistance genes
The resistome is defined as the complete set of antibiotic resistant genes (ARGs) presented in a microbial community, which is important for understanding the proliferation of pathogen antibiotic resistance [26]. Sequence reads were aligned to the MEGARes database [113] using the Burrows-Wheeler Alignment tool (BWA) [109]. The BRS IM resistome was analysed using Resistome Analyser (https://github.com/cdeanj/resistomeanalyzer) by applying the default threshold of '80' to determine the gene significance and in order to decrease false positive gene identifications. Relative abundance for each of the resistance genes was calculated and subsampled to the lowest number of sequences (i.e. the Ötzi 'small intestine' (Ötzi_SI_F) comprising 2377 sequences) in any sample (i.e. 28,524 sequences for a total of twelve samples). Because of low numbers of gene assignments, seven samples were excluded from the analysis.

Statistical analyses
Statistical analysis of the ancient and modern IM samples was performed by filtering the taxa and KEGG orthologies for > 3 occurrences in at least 20% of the samples. The data was Hellinger transformed, and the Bray-Curtis dissimilarity matrix was used for the vegdist and anosim functions in the VEGAN (https://www.rdocumentation.org/packages/vegan/versions/2.4-2) package of R. The ordination plots were generated in the Phyloseq package [114] of R. Functional (metabolic) group significance tests were performed in Qiime v1.9.1 package [115] for the ancient and modern comparative cohorts, and only gene categories with significant p value (p < 0.05) were included in the analyses. The p values were corrected using false discovery rate (FDR) (q) [116], and Kruskal-Wallis values (H) were used to determine the significance of differences between samples. Hierarchical clustering using complete-linkage based on Spearman's correlations was performed and visualised in R using 'gplots' (https://www.rdocumentation.org/packages/gplots/versions/3.0.1). Heat maps were generated using Spearman's correlation and complete linkage method for microbial taxa and antibiotic resistance genes. Taxa were filtered for occurrence of > 3 in at least 20% of the samples, and ARG data was filtered for the occurrence of > 5 in at least 20% samples. The heat map for the KEGG orthologies linked to the twenty-four ancient IM taxa (1487 categories) was produced using Spearman's correlation and the Ward-linkage method.
Additional file 1: Figure S1. Additional information concerning the archaeological provenance of the BRS faecal specimen. Figure S2. Processing of the faecal specimen at the Centre for GeoGenetics, Copenhagen, Denmark. Figure S3. Dot-plot indicating the occurrence of statistically-significant C-T p-values. Figure S4. Biplot of δ13C and δ15N stable isotope values obtained for the BRS specimen. Figure S5. SEM analysis detected bacterial cells, plant fragments and saprophytic organisms. Figure S6. Heat-map indicating differences in taxonomic community structure for IM datasets. Figure S7. Comparing 'relative abundance' and 'presence-absence' as taxonomic representation. Figure S8. Comparison of the incidence of the twenty-four authenticated ancient IM taxa. Figure S9. Heat-map indicating the presence of fifteen functional ARGs identified.
Additional file 2: Table S1. Sequence reads for environmental-and subsistence-related taxa detected. Table S2. Information concerning 14C Accelerator Mass Spectrometry (AMS) dating. Table S3a. Processing protocol and results for isotope analyses. Table S3b. Results for isotope analyses (Merck standard). Table S3c. Results for isotope analyses (DL-Valine standard). Table S4. Abundance of bacterial taxonomic categories in the IM datasets. Table S5. Sequence read-length distribution for taxa identified in this study. Table S6. Significant KEGG pathways in the comparative IM datasets analysed. Table S7. Relative abundance of eighteen significant KEGG pathways in the IM cohorts. Table S8. Enrichment and depletion of KO metabolic gene categories in the comparative IM sample cohorts based on p-value (p=<0.05) designation. Table S9. Enrichment and depletion of KO metabolic gene categories in the comparative IM sample cohorts based on false discovery rate (FDR) corrected p-values (q=<0.05). Table S10. Enrichment and depletion of KO metabolic gene categories in the ancient and modern comparative IM sample cohort as calculated for the twenty-four authenticated ancient IM taxa. Table S11. Comparison of relative abundance of antibiotic resistance genes in the comparative IM cohorts. Table S12. Raw and filtered high-quality sequence read counts as related to the comparative IM datasets. Table   S13. Information concerning the comparative NCBI genomes used during this study.