Introduction

Minimizing food loss and food waste are one of the major sustainable development goals of the United Nations. Reducing food losses along the production and supply chains are essential aspects, by virtue of estimations that about 31% of the food produced in the US is lost before it even reaches the consumers1. A key component in the reduction of food loss is the prevention of microbial spoilage of food, which is estimated to account for one-fourth of global food waste2. In addition, microbial spoilage of food also poses a key public health concern. The World Health Organization (WHO) reported 600 million foodborne illnesses causing 420,000 deaths worldwide in 2010 alone, indicating that the global burden of food-borne diseases is comparable to those of major infectious diseases3. Indeed, the food industry faces major and continuing challenges in trying to lower the extent to which food products become contaminated with pathogenic or spoilage bacteria during primary processing. This is especially true for animal-derived products like poultry, eggs, milk, and pork, which are main vehicles of food-borne diseases4. Thus, microbial meat spoilage is a global health and economic challenge, yet little is known about the microbial diversity in slaughterhouses and meat-cutting plants. Pork provides an ecosystem with high water content and nutrient availability for diverse microorganisms, particularly psychrotolerant organisms, which can then grow during storage and lead to spoilage and a reduced shelf life5. The formation of biofilms on processing equipment is also of great concern and can lead to continuous dispersal of microorganisms on the meat6. To date, transmission routes of microorganisms during meat processing have been difficult to track and monitor and therefore remained largely elusive7,8. The main reason for this is that the meat industry is still relying on ISO reference methods applying microbiological techniques to monitor hygiene aerobic colony counts (ISO 4833) and Enterobacteriacae (ISO 21528-2)9. Indeed, culture-dependent techniques can be useful in determining the overall hygiene status of a facility, but they fail in describing complex microbial communities and population flows10. Just recently, first efforts have been made to characterize the microbiome of food processing environments with next-generation sequencing techniques, demonstrating the suitability of these tools to map microbial ecosystems in different sectors of food industry11,12,13,14. In a previous study, we found that many bacteria in musculature samples of slaughter pigs are not animal-associated15. Thus, we hypothesize, that a large part of the microbial community is transmitted during cutting via personnel, from the equipment, or from the machine and slaughter environment. Our approach was to investigate the abundances as well as the types of microorganisms present at different stages along the meat-processing chain and explore the possible sites of microbial transmission in a slaughterhouse to effectively reduce the risk of cross-contamination. Specifically, we took samples from 12 pigs at different stages during processing as well as from multiple sites throughout the facility environment. Using full-length 16S rRNA gene sequencing, we were able to identify key carrier points of bacterial contamination and create a facility-specific transmission map of bacterial flows that exposed unique transmission patterns for individual taxa. Although this study primarily aids to optimize slaughter processes to systematically avoid contamination of microbes throughout meat processing, the techniques we applied can also be extended to other food-processing environments. In this way, we can expand our knowledge about microbial transmission routes, thereby improving hygiene standards in food-related industry to increase food safety while minimizing food waste.

Results

Bacterial cell counts strongly differ between sampling positions and surface locations

In order to get an initial basic understanding of the microbiological status along the processing line of the facility we determined total bacterial cell equivalents (BCE) using 16S rRNA gene qPCR, as well as aerobic mesophilic (AMC), Enterobacteriaceae (EB), and Pseudomonadaceae (PS) counts by applying ISO reference methods (ISO 4833, ISO 21528-2) (Fig. 1). The animals entered the facility with a high microbial load on skin (Fig. 1, “Sticking”), which was reduced significantly after singeing. In the next step (“Polishing”), AMC and PS counts were increased significantly, while EB counts were not detected until that point, but were found at low levels at the evisceration and classification step and in environmental samples (Gloves, knives, aprons, etc.). Total aerobic mesophilic counts along the slaughter line ranged from 4.14 × 103 CFU/cm2 after singeing to 5.21 × 106 CFU/cm2 at sticking. The highest levels of bacteria in the environment were found at the whips of the polishing tunnel (2.19 × 107 CFU/cm2). BCE counts ranged from 1.64 × 102 BCE/cm2 after singeing to 1.20 × 105 BCE/cm2 at sticking and were not significantly higher after polishing. We found that BCE and AMC numbers correlate in skin samples taken at the beginning of the processing line (R: 0.76, p < 0.01), but not on meat samples from the end of the processing line (R: 0.38, p = 0.32) and from environmental samples taken in the facility (e.g., Polishing tunnel whips R: 0.74, p = 0.26).

Fig. 1: Microbial numbers at the different sampling positions.
figure 1

Bacterial cell equivalents (BCE) and colony forming units (CFU) of aerobic mesophilic counts (AMC), Enterobacteriaceae (EB), and Pseudomonadaceae (PS) for the different sampling positions. Boxes indicate the interquartile range (75th–25th) of the data. The median value is shown as a line within the box. Whiskers extend to the most extreme value within 1.5 * interquartile range. Levels of significance: ns: p > 0.05, *p ≤ 0.05, **p ≤ 0.01, ***p ≤ 0.001.

Microbial community structure changes throughout the processing line

On average, 1186 high quality full-length 16S rRNA gene sequences per sample remained after stringent quality filtering. A rarefaction curve indicated that one third, but not all samples, were sequenced deep enough to infer the full diversity of microorganisms in the samples (Supplementary Fig. 1). All analysed alpha diversity indices showed a similar pattern, where there is an overall decrease of microbial species diversity from start to end of the processing line, but with a transient increase after the polishing step (Fig. 2a). Beta diversity analysis revealed two major shifts in the microbial community structure (Fig. 2b). The differences in microbial composition between samples from the skin and rectum (Positions “Sticking” and “Anal Swab”) of the pigs was higher compared to samples later in the processing line. A shift occurred during the singeing step, which is also reflected by significantly reduced microbial numbers as well as species diversity. From that point on the microbial community stayed relatively constant until the end of the processing line between the stations “Classification” and “Truck” at which the communities dispersed from each other.

Fig. 2: Diversity of microbial communities associated with meat samples.
figure 2

a Change in alpha diversity indices of meat samples over time. Points represent individual samples, the trend lines connect the means, and shaded regions indicate the standard error. Levels of significance: *p ≤ 0.05, **p ≤ 0.01, ***p ≤ 0.005. b t-SNE plot of Bray–Curtis distances based on 16S rRNA gene libraries. Each point represents values from individual libraries with colors expressing meat samples from different positions along the processing line.

A majority (91%) of the full-length 16S rRNA gene sequences could be assigned to specific genera and 74% to the species level. The 50 most abundant ASVs show heterogeneous distributions and relative abundances across all meat samples (Fig. 3). The shift in the microbial community structure that was observed in beta diversity analysis can also be discerned by the relative abundances of ASVs. At the beginning of the slaughterline (Anal Swab and Sticking station), the 50 most abundant ASVs make up less than 20% of the total community and have higher levels of Helicobacter, and Curvibacter, compared to samples from the other positions. In contrast, the genera Anoxybacillus, Chryseobacterium, and Moraxella were the most abundant ASVs in the meat samples after the singeing step, making up more than 50% of the sequences. The same ASVs that were highly abundant on the meat samples were also frequently detected in the surface samples of the facility environment. However, the distribution of these ASVs throughout the facility was varied in terms of their location specificity and prevalence. For instance, ASVs belonging to the genus Bacillus_S or Moraxella were homogenously distributed across many different positions, whereas others were detected only at very specific locations e.g., Luteimonas_A and Helicobacter_F at the polishing tunnel or W16RD (NCBI taxonomy: Sphingomonas) at the wall of the cooling chamber (Fig. 3 and Supplementary Table 1).

Fig. 3: Genus-level classification of the 50 most abundant ASVs parted by type (meat or surface).
figure 3

Data represents average of ASV counts from replicate libraries for each category. Individual ASVs are separated by a black line within the bar graph. ASVs assigned to candidate genera that do not have a name assignment yet are indicated with “Family_”. Genera names with an alphabetic suffix indicate genera that are polyphyletic and were therefore subdivided in the genome taxonomy database.

The shorter sequences obtained with the Illumina Miseq had a lower classification rate (Genus: 80.6%, Species: 56.8%) compared to the dataset with the full-length 16S rRNA gene sequences. This constitutes an increase in species level taxonomic assignment of 30.3% with the long read sequencing technology. In terms of capturing the overall microbial community structure, both sequencing technologies revealed consistent transitions between the individual processing steps. The same genera were found to be highly abundant across the processing line although their relative abundances differed significantly between datasets (Fig. 3 and Supplementary Fig. 2).

Variances in spatial distribution of microorganisms throughout the facility result in distinct transmission routes for specific taxa

Presumptive transfer of microorganisms from environmental samples to meat samples was inferred using the software SourceTracker. Samples collected from pork carcasses were designated as sinks for testing against the communities of samples from the anal region, the skin, and from the equipment and material surface (source). Alpha diversity indices had already indicated transfer of new species onto the meat at the polishing step (Fig. 2a). This was confirmed by SourceTracker analysis showing a high contribution of polishing tunnel samples (nozzles, water, and especially whips) to the microbial community of meat samples (Fig. 4, Supplementary Fig. 3). Anal swab and sticking positions were not identified as one of the major sources of bacterial contamination despite having shown high alpha diversity and bacterial cell count values. Hence, the decontamination processes, e.g., singeing, likely eliminated most of the bacteria that were initially on the pork carcass when pigs entered the facility. Furthermore, the small contribution of anal swab samples validates the effectiveness of the general practice in the analyzed facility to seal off the rectum with a small plastic bag before evisceration to avoid contamination with fecal matter. The evisceration step is usually considered to be a critical point of re-contamination if cutting processes are not executed with high hygiene standards. In this case, transfer of microorganisms from aprons and knives was low but a high proportion (11.4%) of microorganisms detected on meat samples taken from the last position (Truck) originated from the gloves of employees performing the evisceration. Gloves of employees were also identified as major contamination sources at other positions (Truck (8.3%), classification (2.8%)). Furthermore, a railing that all carcasses touched while passing the classification contributed to the microbial composition of the meat samples (4.4%). Environmental samples without direct contact to the carcasses (Lock and wall samples) were also not identified as major contamination sources, suggesting that most bacteria are transferred through direct contact with the surface and that air transfer is marginal. One third (31.6%) of the bacteria on meat could not be linked to a specific source and was therefore attributed to an unknown source. Possible reasons for this are that the sequencing depth for some samples was too low or that the primary source of these bacteria was missed during sampling. This could potentially lead to overfitting of the SourceTracker analysis. Thus, future studies should also consider soil and human skin samples as possible sources.

Fig. 4: Source environment proportions for meat samples.
figure 4

Source environment proportions for meat samples estimated using SourceTracker and visualized as a Sankey flow diagram. Environmental source samples are represented on the left and meat samples, as sinks, are shown on the right. The line width of individual flows between them illustrates the average predicted contribution/proportion of microorganisms from source samples to the microbial community of respective sink samples. The height of the individual bars of sink samples on the right (Singeing to Truck) sums up to 100%. The height of individual bars of source samples on the left represents the sum of proportions to each of the five sink samples.

Finally, we were interested if certain microbial species were transmitted from specific sources or if they were spread throughout the whole facility. We investigated the distribution of all detected genera by determining their relative abundances across all meat and environmental positions. This was done for each individual genus (Supplementary Figs. 4 and 5). Many genera were unique to specific sites demonstrating that they occupy particular environmental niches in the facility. In addition, we predicted the relative contribution of genera that are associated with meat spoilage or that include relevant pathogens based on the SourceTracker results (Fig. 5). Indeed, some of the microorganisms could be pinpointed to a specific location from where they disseminated, whereas others were found to have multiple possible origins. For example, the genus Escherichia originated almost exclusively from the anal swab samples. On the other hand, Lactococcus, Staphylococcus, Chryseobacterium, and Moraxella species were predicted to be transmitted from various different positions. In general, several taxa clustered together based on shared-source similarity in the heatmap, suggesting that they have the same presumed source, e.g., Flavobacterium and Lactobacillus_H from the gloves at the evisceration step or Lactococcus and Bacillus_L, which shared the splitting saw as a common source. A closer look at the phylogenetic relationship of ASVs assigned to the polyphyletic genus Chryseobacterium revealed that different populations were transferred from respective sources (Supplementary Fig. 6). An ASV classified as Chryseobacterium sp. Leaf405 in NCBI taxonomy (GCF_001425355.1 in GTDB), was spread across the polishing tunnel and evisceration positions, whereas others have been found exclusively at the polishing tunnel (Chryseobacterium indoltheticum) or at the locks (genus Chryseobacterium; no species verification). Other prominent meat spoilage microorganisms, for example Moraxella spp., which was also one of the most abundant ASVs on the meat, was most likely transferred from the polishing tunnel whips, gloves of employees as well as from the railing at the classification step. Overall, we were able to identify transmission routes for the majority of the genera that include relevant meat spoilage organisms or pathogens. However, the origin of some taxa (e.g., Fusobacterium_C and Pseudomonas_E) remains elusive since their contribution to the meat microbiota was attributed to an unknown source.

Fig. 5: Heatmap showing the predicted relative contribution of specific genera from different source environments.
figure 5

Only taxa that are associated with meat spoilage or include relevant pathogens are shown. Non-relevant taxa were grouped into a single group called “Other”. The relative contribution of each genus (columns) from each source (rows) is indicated by the color of the intersecting tile. Taxa are clustered by shared-source similarity. BCE: bacterial cell equivalents as determined by 16S rRNA gene qPCR.

Sequencing depth has little effect on the performance of sourcetracker

To test whether the shallow sequencing depth (avg.: 1186 sequences/sample) of the “Pacbio” dataset was sufficient for a comprehensive analysis with SourceTracker, we additionally sequenced a subset of the samples on an Illumina Miseq machine. This dataset was then rarefied to different sizes and SourceTracker analysis was performed several times in order to simulate the effect of sequencing depth. Results from all randomly generated datasets correlated with the original dataset (spearman’s rho ranged from 0.95 to 0.99). The variation around the line of the best fitting original dataset increased with smaller dataset sizes (Fig. 6a) and thus, the mean squared differences decreased with dataset size (Supplementary Table 2). The Kruskal–Wallis rank sum test shows significant differences between the different rarefied datasets regarding to the squared differences (χ2 = 125.9, p-value <0.0001). Supplementary Table 3 shows that the datasets with 200 and 500 random sequences were significantly different to the larger dataset sizes with 5000 and 7712 sequences (p-value ≤ 0.0034), whereas datasets with 1000, 5000, and 7712 showed no significant differences to each other (Supplementary Table 3). The lowest average hit ratio of 53.6% was reached in the datasets with 200 random sequences and the highest average hit ratio of 89.8% was determined for the datasets with 7712 random sequences (Supplementary Table 2; Fig. 6b). A significant difference between all the datasets with regards to the hit ratio was identified (χ2 = 90.9, p-value <0.0001). The hit ratio for the dataset with 200 and 500 random sequences is significantly different to the larger dataset sizes with 5000 and 7712 sequences (p-value ≤ 0.0079). The average unknown classification rate of contamination decreased with increasing number of sequences used i.e., from 45.4% for the dataset with 200 sequences to 28.4% with 7712 sequences (Fig. 6b). The average difference of unknown classified contamination compared to the original dataset ranged from 18.2% (dataset size 200) to 1.5% (dataset size 7712; Supplementary Table 2). The Kruskal–Wallis test detected significant differences between the variations of unknown classified contaminations among the dataset sizes (χ2 = 93.9, p-value < 0.0001), which can be mainly assigned to the difference between datasets with 200 and 500 sequences vs. 5000 and 7712 sequences (Supplementary Table 3). In addition to a similar classification rate, the datasets with less sequences per sample also revealed comparable general shifts in microbial community structure (Supplementary Fig. 7).

Fig. 6: Simulation of the effect of sequencing depth on SourceTracker performance.
figure 6

a The correlation of the different dataset sizes compared to the original dataset. b The hit ratio (red points) and unknown classified sequences (green points) for the different used dataset sizes, with extrapolation values for not tested dataset sizes shown as solid lines. Dotted lines presented the min–max values and the dashed lines indicated the 25th and 75th percentile of-hit ratio and unknown classified sequences.

Discussion

High-throughput sequencing technologies have proven to be a powerful approach to explore microbial communities in a large variety of natural habitats as well as in built environments. The decreasing costs of these tools now also offer new perspectives to implement them in food production in order to investigate the impact of a given shift on the microbiota and their roles in a food system, which is directly correlated to food safety, food shelf life, flavor, and many other aspects16. For example, Bridier et al. investigated the impact of disinfection procedures on the microbial ecology and Salmonella prevalence in a pig slaughterhouse using a combination of traditional culturing techniques and 16S rRNA gene sequencing17. Metagenomic and 16S rRNA gene profiling has been used in a variety of other meat and food-processing facilities to describe the spoilage associated microbiota and resistome in different facilities18,19,20. Here, we advance our knowledge about microbial diversity and biogeography along the pig meat processing chain by utilizing the high-throughput, long-read sequencing capability of the PacBio technology to obtain thousands of full-length 16S rRNA gene sequences. Although PacBio sequencing is not as cost-effective as some of the available short-read platforms such as Illumina, it is able to produce longer read lengths, resulting in higher resolution for taxonomic classification and microbial source tracking21.

First, we determined bacterial cell numbers with current standard techniques (Aerobic mesophilic and Enterobacteriaceae counts) and with additional methods (Pseudomonadaceae and BCE counts) to get a framework of the overall microbiological status of the slaughterhouse. This initial assessment revealed similar trends along the processing line as past investigations, and showed high microbial numbers for several surface samples22,23. The high bacterial numbers on the polishing tunnel equipment and the significant increase of AMC, and Pseudomonadaceae counts on the meat from singeing to after polishing already indicate transfer of bacteria at this step. A significant increase in bacterial contamination after polishing was also reported by Wheatley et al.24. It is likely that the bacteria that survived the singeing treatment get spread over the carcass during polishing in addition of transfer of bacteria that persist in the polishing equipment25. Basic community analysis of the 16S rRNA gene sequencing data also exposed a higher microbial diversity after the polishing step when compared to after singeing, further indicating the same step as a possible transmission event.

When the pigs entered the facility, they had a high variation of the microbial community composition on the skin, which points out large differences of the individual pig skin microbiota. However, this variation is greatly reduced after the singeing step. Thus, the initial microbial community structure on the carcass surface has little impact on the effectiveness of decontamination measures like singeing, resulting in the establishment of a similar community on each carcass. The community then remains relatively stable until the loading station, where it starts to diversify again. This can be explained by the cooling period (16 h at 7 °C) between the classification and truck step, which could lead to higher attachment and differences in recovery of bacteria. Small variations in the psychrotolerant part of the microbial community could also cause disparate alterations during the cooling period.

The 50 most abundant ASVs that were detected are associated to genera that have been previously found within the meat processing environment and some of them, e.g. Bacillus, Chryseobacterium, Flavobacterium, Lactococcus, Microbacterium, and Moraxella are considered to have spoilage potential11,26,27,28. Interestingly, the meat samples were dominated by a number of ASVs associated to the genus Anoxybacillus after the singeing step. This genus consists of 22 species that were isolated from hot springs or manure, but were also regularly detected in dairy and meat-processing environments11,29,30,31. Anoxybacillus are aerobic or facultative anaerobic spore-formers, with an optimum growth at 50–65 °C and neutral pH, are alkalitolerant, and are able to form biofilms32,33. Thus, they are able to survive the heat treatment (Scalding and singeing), explaining their high relative abundance on the meat after the singeing step. Overall, the microbial community on the meat samples (Singeing–Truck) was vastly different from the community on the skin of the animals when they entered the facility (Sticking). Hence, we hypothesized that the majority of the microorganisms were transferred onto the meat during processing and that only a smaller portion of the skin microbiota persists on the meat surface.

We then used the software SourceTracker, which applies a Bayesian framework to estimate the proportion of each source contributing to a designated sink sample, to trace transmission routes and track down the sources of these microorganisms34. This tool has been widely used to map microbial populations or gene flows in a variety of ecosystems, from coastal waters and drinking water systems to ATM keypads in New York, neonatal intensive care units, and to global antibiotic resistance gene pollution over diverse environmental types35,36,37,38,39. Surprisingly, only one study applied SourceTracker to a dataset obtained from a food environment (Brewery) so far14. Here, we use SourceTracker on full-length 16S rRNA gene sequencing data in the scope of a meat processing environment. Our analysis indicates key microbial transmission sites throughout the facility that were not identified with the current standard techniques. The main contamination sources contributing to the microbial community found on meat were the polishing tunnel equipment, gloves of employees, and a railing at the classification step. The polishing tunnel was identified as a critical operation during pork slaughtering in the past40,41. However, the gloves and railings are generally not considered as such and had low microbial levels indicating good hygiene practices. Still a lot of microorganisms were transferred from these positions, albeit it is also possible that the transfer happened the other way around. It is important to note that we presume source/sink relationships in the SourceTracker analysis and can therefore not account for directionality, meaning that transfer of microorganisms could occur in both ways. A closer look at the taxonomy of the transferred bacteria exposed unique transmission patterns for individual taxa. Noticeably, particular species occupy different environmental niches across the facility showing the importance of high taxonomic resolution for microbial source tracking in food processing plants. In fact, whole genome sequencing (WGS) or metagenomic shotgun sequencing have been proposed to achieve strain-level resolution and are thought to be necessary to track microbes during food processing42,43,44. WGS has been widely adopted as a surveillance tool for specific pathogens and outbreak investigations across the world in recent years45,46. Related to our study, Nastasijevic et al. have successfully applied WGS to track the main entry routes of L. monocytogenes in a meat establishment47. However, all these studies state costs as one of the major drawbacks of the use of WGS, especially for developing countries. While we were not able to identify potential pathogens or specific spoilage organisms on a strain level, our results show that full-length 16S rRNA gene sequencing delivers a deep enough resolution for environmental monitoring within a facility. The source/sink relationships predicted by sourcetracker can be used to infer consistent contamination events. Thus, strain-level tracking using metagenomics is still essential for molecular epidemiology and diagnostics, but our approach could be a more cost effective solution for regular monitoring systems and the identification of general transmission routes.

Moreover, we were able to show that it is not necessary to deeply sequence the amplicon libraries, but that datasets with 1000 sequences/sample provide a comparable result to deeper sequenced datasets in terms of beta diversity assessment and sourcetracker classification rate in the analysed facility. Additional studies are necessary to investigate whether this is generally true or is specific only to the analysed facility. Thus, it is feasible to multiplex many samples on a single sequencing run substantially decreasing costs, which essentially accomplishes affordability for regular monitoring checks. However, several challenges and limitations remain before we can realize the full potential of NGS techniques as food safety applications. Currently, bioinformatics workflows are implemented and executed based on ad hoc lab specific experiences. Each lab uses different protocols and the documentation of the actual process is rarely well recorded or presented. Hence, it is paramount to expose, formalize, and standardize sampling techniques, as well as workflows for bioinformatics pipelines, processing, and data management48,49,50. In that way, it would be possible to compare datasets and leverage systematic authentication of the microbiome and its variation throughout the supply chain to understand microbial contamination during food production on a broader scale.

Since we observed only one significant increase in microbial numbers along the slaughter line, we consider AMC as good general hygiene indicators that can reflect substantial contamination incidents, but they fail in describing more complex population flows. Thus, AMC and EB determination by microbiological reference methods is not sufficient to detect the full extent of microbial transmission events. This study showcases that high-throughput full-length 16S rRNA gene sequencing can reveal valuable information about the microbial communities in pork production plants and expose critical contamination steps during slaughtering. We were able to pinpoint many taxa to specific sources, facilitating targeted combat of potential pathogens or meat-spoilage organisms in the analysed facility. Our findings contribute to improve or optimize hygiene standards in the meat industry to further minimize the risk of microbial cross-contamination. Furthermore, the methods used in this study can be applied to any other food-related industry to universally promote our knowledge about microbial transfer during food processing. Continuing advances in long-read sequencing technologies like the release of the Sequel II system and the development of full rRNA operon sequencing strategies will further increase the throughput and taxonomic resolution, offering great potential to implement them in monitoring systems51.

Methods

Facility structure and sampling

Samples for this study were taken from an Austrian slaughterhouse with a capacity of 200–250 pigs per hour. Figure 7 illustrates the structural design of the production chain and the sampling positions. Antemortem inspection took place during the offload and holding. The pigs were herded through a series of gates in small groups until they were finally presented for stunning one by one. After electrocution to the head, each pig’s main throat vasculature was cut with a knife and the bodies hanged up to exsanguinate (Position Sticking). Then the carcasses were scalded for 3 min by steam condensation, after which the claw shoes were manually removed. Before the carcasses entered the singeing tunnel for approximately 6 seconds, they were dehaired by rotating whips and manually pre-singed. Polishing was then performed in another tunnel with rotating whips and water spray (Position Polishing). Eyes and external ear canal were removed from the bodies as they were moved from the “dirty area” to the “clean area”. Operators were not allowed to move from one area to the other. To avoid contaminations from feces, the rectum was sealed off with a small plastic bag. Evisceration was the first step in the clean area, followed by splitting the carcasses in halves with a saw, post mortem inspection, removal of the spinal cord with an aspirator, and classification. After classification, the carcasses passed a shock shower with 4 °C cold water and entered the cooling chamber, where they were held for up to 16 h at 7 °C. The chilled carcasses were then transported on a refrigerated truck to a meat cutting facility.

Fig. 7: Schematic map of the slaughterhouse depicting the whole processing line.
figure 7

Red shaded boxes indicate locations where skin/meat was sampled. Red text specifies environmental samples taken at corresponding positions. Human sketches point out non-automated locations with working employees.

Twelve pigs from three different farms (four pigs each) were used for this study. Carcass and environmental samples were taken with sterile polyurethane sponges (SampleRight™ Sponge Sampler, World Bioproducts, Woodinville, USA), which recover significantly higher amounts of bacteria compared to sponges made from cellulose, reaching a similar recovery rate as excision methods52. The sampling area was 100 cm2 at the back of the carcasses. The back was chosen based on the results of a preliminary test already conducted prior the start of this study, which showed that samples taken from the back harbor similar levels of relevant microorganisms compared to samples taken from the belly or the musculature along the cutting area53. In total, 84 swabs were taken from carcass surfaces at different processing positions. When the pigs entered the facility (Position Sticking), their skin was sampled, while at the other positions their meat was sampled. The carcasses chosen for sampling were ear tagged and followed throughout the entire processing chain so that the same carcasses could be sampled at each position. In addition, 75 swabs were taken from equipment, staff, and infrastructure of the facility, resulting in 159 samples overall. The sampling was done over a period of one day. For a detailed list of samples and sampling positions see supplementary Table 4. For sampling, the sponge was swabbed for 10 s horizontally, then flipped and swabbed again for 10 s in vertical direction. Then, the sponge was placed back into the sterile plastic bag, which was sealed and chilled in a container placed in the cooling chamber of the facility (4 °C) until sampling was finished. A fresh polyurethane sponge, a new sterile template of 100 cm2 and new gloves were used for each new sample. All the samples were transported back to the lab on ice (Transport time: 2 h). Back in the laboratory, each sponge was squeezed thoroughly, and the obtained liquid was split into two 15 ml falcon tubes, one of which was directly used for cultivation experiments, while the other one was stored at −20 °C until further processing (Molecular analysis).

Microbiological investigation

The enumeration of aerobic mesophilic counts (AMC) (ISO 4833-2:2013), Enterobacteriaceae (EB) (ISO 21528-2:2017) and Pseudomonadaceae (PS) was performed after preparing a ten-fold serial dilution in buffered peptone water (BPW) (Thermo Fisher Scientific Inc., Oxoid Ltd., Basingstoke, UK) up to dilution −108. The dilutions were plated in duplicates on Plate Count Agar (PCA, Thermo Fisher Scientific Inc., Oxoid Ltd.), Violet Red Bile Glucose (VRBG, Thermo Fisher Scientific Inc., Oxoid Ltd.) and Glutamate Starch Phenol Red Agar (GSP, Merck KGaA; Darmstadt, Germany) by surface plating technique. GSP and VRBG agar were incubated at 25 and 37 °C for 24–48 h. PCA was incubated at 30 °C for a maximum of 72 h. To determine the AMC/EB and PS counts/cm2, microbial colonies between 10 and 300 colony forming units (CFU) were included in the calculation. Presumptive EB and PS isolates (n = 5 each) were confirmed by Oxidase reaction and biochemical profiling up to genus level for PS and up to species level for EB (API 20E, bioMérieux Marcy-l'Étoile, France).

DNA-extraction, qPCR, and 16S rRNA gene sequencing

In order to increase microbial cell density, samples were centrifuged at 3220× rcf for 20 min and the pellet was resuspended in 400 µl of 1× phosphate buffered saline (PBS). The DNA was then extracted from 200 µl with the QIAamp DNA Stool Mini Kit (Qiagen GmbH, Hilden, Germany) according to manufacturer instructions. The elution step of the protocol was modified; instead of 200 µl AE buffer, two times 25 µl DEPC treated water was used. Negative controls (DEPC treated water), one for each used kit, were also extracted together with the regular samples. The DNA concentration of the samples was measured with the Qubit dsDNA HS Assay Kit and Qubit 2.0 Fluorometer (Invitrogen, Thermo Fisher Scientific, Oregon, USA).

The 16S rRNA gene was amplified by qPCR to enumerate total bacterial cell equivalents (BCE) as previously described (Supplementary Table 553,54). All qPCR samples and standards were run in duplicates and negative controls were included in each run (Mx3000P qPCR thermocycler, analyzed with MxPro v.4.10 (Stratagene, San Diego, USA)). Total BCE were extrapolated with an average of four 16S rRNA gene copies as estimated by rrnDB, a database for ribosomal RNA operon variation in bacteria and archaea55,56. Statistics for qPCR and plate count data were tested for normal distribution using the Shapiro–Wilk normality test and with visual assessment of qqplots and histograms. The not normal distributed groups were tested using the Wilcoxon-test for connected samples. We applied Benjamini–Hochberg procedure to reduce the false discovery rate. To investigate correlations between BCE and AMC counts, spearman rank correlation coefficients were calculated for individual sampling positions. Data are considered significant at p ≤ 0.05.

Amplicon library generation, quality control, and sequencing were performed at the Vienna Biocenter Core Facilities NGS Unit (www.vbcf.ac.at). Full-length 16S rRNA gene libraries of 133 samples (including three negative controls) were prepared using bacteria specific primers 27F (5′-AGRGTTYGATYMTGGCTCAG-3′) and 1492R (5′-RGYTACCTTGTTACGACTT-3′). Barcodes were added during a second round of amplification with Pacbio Barcoded Universal primers, so that the amplicons could be multiplexed on three SMRT cells. Sequencing was carried out on a Pacbio Sequel machine with 2.1 chemistry. Detailed library preparation and sequencing procedure is available online https://www.pacb.com/wp-content/uploads/Procedure-Checklist-Full-Length-16S-Amplification-SMRTbell-Library-Preparation-and-Sequencing.pdf. Each SMRT cell generated approximately 50 GB of raw data producing 641,939 sequences/cell on average.

In addition to the full-length 16S rRNA gene of 133 samples sequenced on a Pacbio Sequel machine, the V3–V4 region of the 16S rRNA gene from 52 of these samples was also sequenced on an Illumina MiSeq sequencing platform with a 300 bp paired-end read protocol. The PCR reactions were performed as described in Klindworth et al. using the forward primer 341f (5′-TCGTCGGCAGCGTCAGATGTGTATAAGAGACAG) and the reverse primer 785r (5′-GTCTCGTGGGCTCGGAGATGTGTATAAGAGACAG)57.

Sequence processing and analysis

Accurate full-length 16S rRNA gene sequences were generated using Pacbio’s single-molecule circular consensus sequencing. The circular consensus reads (ccs) were determined with a minimum predicted accuracy of 0.99 and the minimum number of passes set to three in the SMRT Link software package 5.158. After demultiplexing, the ccs were further processed with DADA2 (version 1.9.1) to obtain amplicons with single-nucleotide resolution59,60. Similarly, sequences generated on Illumina's MiSeq platform were also processed with DADA2 and equivalent parameters in order to achieve a maximum comparability between the two datasets. Amplicon sequence variants (ASVs) were assigned a taxonomy using a DADA2 formatted version of the genome taxonomy database release 03-RS8661,62. After initial quality filtering, samples with less than 200 reads and ASVs with less than five reads were removed. Additionally, contaminant ASVs were detected and removed with the R package “decontam” using a prevalence-based contaminant identification with a threshold value cutoff of 0.563. Microbial community analysis was performed within the “phyloseq” and “tsnemicrobiota” packages and visualized with ggplot2 in R64,65,66. Alpha diversity indices were calculated with a dataset rarefied to the minimum sample size. Normal distribution of individual alpha diversity indices was tested with the Shapiro–Wilk normality test and with visual assessment of qqplots and histograms. The not normal distributed groups were tested using the Wilcoxon-test and normal distributed groups were tested using a t-test for connected samples. We applied Benjamini–Hochberg procedure to reduce the false discovery rate.

Microbial source tracking was achieved with the software SourceTracker (version 1.0.0) and default parameters34. Samples taken from the facility environment and from the skin of the animals were assigned as sources whereas meat samples were assigned as sinks. The Illumina dataset (min: 7712; mean: 19,119; max: 30,340 sequences per sample) was rarefied to 7712, 5000, 1000, 500, and 200 reads per sample prior to SourceTracker analysis in order to infer the influence of sequencing depth on the performance of SourceTracker. To investigate the variation of same sized datasets this procedure was repeated three times for the larger datasets and ten times for the dataset with 200 sequences, because we expected a higher variance when using 200 random sequences. For each dataset size the goodness of fit was determined. In detail, the squared difference between randomly generated datasets and the original dataset (i.e., including all sequences) was calculated and the match rate for both, rarefied and original dataset were checked for correlation with spearman correlation coefficient and correlation plots. The normal distribution of the squared differences for each dataset size was investigated by using the Shapiro–Wilks test and the homoscedasticity was analysed by applying the Levene test. Due to non-normal distribution of the data, a Kruskal–Wallis rank sum test, followed by a Dunn test with Benjamini–Hochberg alpha-adjustment for post-hoc analysis was applied in order to compare the goodness of fit of the different dataset sizes. Additionally, the hit ratio of each dataset size was calculated. The hit ratio is defined as percentage of correctly assigned contamination sources (including ASVs with an unknown source), whereby the original dataset was used as reference. Further a comparison of amounts of unknown classified ASVs (unknown classification rate) was accomplished. Due to differences between the production steps regarding to the correctly assigned samples in the unknown sources, the differences between the amounts of unknown classified ASVs for each randomly generated dataset and the original dataset were separately calculated. The significant differences between the hit ratios and the rate of unknown classified ASVs were also analysed with Kruskal–Wallis rank sum test and Dunn test for post-hoc analysis. To further test the consistency of results at different rarefaction depths, beta diversity was calculated for each of the rarefied datasets. In addition, the R package “BAT” was used to check the reliability of beta diversity results according to sequencing depth67. Detailed parameters of our sequence processing workflow and all statistical analysis can be found in the supplements (Supplementary Note 1) and are freely available as an R markdown script at GitHub (github.com/FFoQS90).

Reporting summary

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