Skip to main content

Prospective modeling and estimating the epidemiologically informative match rate within large foodborne pathogen genomic databases

Abstract

Objectives

Much has been written about the utility of genomic databases to public health. Within food safety these databases contain data from two types of isolates—those from patients (i.e., clinical) and those from non-clinical sources (e.g., a food manufacturing environment). A genetic match between isolates from these sources represents a signal of interest. We investigate the match rate within three large genomic databases (Listeria monocytogenes, Escherichia coli, and Salmonella) and the smaller Cronobacter database; the databases are part of the Pathogen Detection project at NCBI (National Center for Biotechnology Information).

Results

Currently, the match rate of clinical isolates to non-clinical isolates is 33% for L. monocytogenes, 46% for Salmonella, and 7% for E. coli. These match rates are associated with several database features including the diversity of the organism, the database size, and the proportion of non-clinical BioSamples. Modeling match rate via logistic regression showed relatively good performance. Our prediction model illustrates the importance of populating databases with non-clinical isolates to better identify a match for clinical samples. Such information should help public health officials prioritize surveillance strategies and show the critical need to populate fledgling databases (e.g., Cronobacter sakazakii).

Peer Review reports

Objectives

With the advent of genomics and the increasing accessibility to the technology associated with it (e.g., second- and third-generation DNA sequencers), large ‘big data’ genomic databases now exist for many pathogens. These databases are ever growing because of surveillance efforts. The necessity and utility of such databases continue to be trumpeted [1]. The discussion is often focused on how to increase the size of the database via facilitating access to the technology, promoting open sharing of the data, and that equitable data use and acknowledgement practices are followed [2,3,4]. Often lacking from the discussion are measures of the information content of such databases and how likely they are to return actionable information regarding new samples. Some understanding of this is crucial to setting expectations and identifying gaps for improvement.

Within food safety, the NCBI Pathogen Detection Project; [5] includes large heterogenous databases for a number of pathogens such as Salmonella enterica spp. enterica, Listeria monocytogenes, and Escherichia coli to which whole-genome sequence (WGS) data is submitted, curated to ensure quality, and clustered. These databases are populated daily with new isolates from numerous public health agencies, academic institutions, and others throughout the world (e.g., [6]). For public health, these databases are routinely surveilled to detect signals of interest such as recent clinical isolates matching food or environmental isolates; this match between WGS data from different isolates generates the hypothesis that the source of the food or environmental isolates is the source of human illness. Such a hypothesis may then be confirmed via additional data sources and follow-up including epidemiological and traceback [7].

Here, we investigated the characteristics of large genomic databases of E. coli, Salmonella, and L. monocytogenes and the relatively small Cronobacter spp. database that support food safety and public health. Our primary objective is to explore the behavior of match rate over time and determine whether we can forecast and predict the match rate under certain circumstances. In doing so, we investigated the characteristics of the database, such as database size, the proportion represented by non-clinical isolates and the inherent genetic diversity of the pathogen. We also evaluated a logistic regression model to predict future database behavior.

Data description

Data collection and calculation of match rate

We investigated four genomic databases (L. monocytogenes, Escherichia coli, Salmonella, and Cronobacter spp.) that are part of NCBI’s Pathogen Detection project; the data analyzed here were downloaded on Feb 28, 2023 (Table 1). Based on the epi_type metadata attribute, BioSamples were assigned as either “clinical” or “environmental” (“environmental” also includes isolates from products and other non-clinical sources). Data with epi_type NULL were excluded from the analyses. For each of the taxonomic groups, historical datasets were created for each quarter by including all clinical BioSamples with target_creation_date in that period and all environmental BioSamples with target_creation_date within and before that period; target_creation_date is a metadata attribute that represents the date that an isolate’s WGS data showed up in the Pathogen Detection database. It is important to note that the genomic data in the database are from numerous global public health agencies, academic institutions, and other groups throughout the world. They are not a random sample of the pathogens present in the built and natural environment or found within the food products; the clinical data are predominantly from patients who visited a clinic as a result of being infected with a foodborne pathogen.

Table 1 Number of BioSamples per taxon, source (clinical or env.) and the match rate in the database at the end of year 2022

For estimates of the pairwise SNP distance among isolates to determine whether two isolates match or not, we used the delta_positions_unambiguous, the number of positions where two isolates have different states and those states are unambiguous, within the SNP_distance.tsv for each pathogen provided by the Pathogen Detection Project (see https://ftp.ncbi.nlm.nih.gov/pathogen/ReadMe.txt for more information). We used a SNP distance threshold of 20 to determine whether any clinical BioSamples were a match to environmental biosamples; 20 is a general SNP distance threshold used in the interpretation of WGS from foodborne pathogens [7]. We note that in practice a single threshold may not be appropriate where because of taxon specific differences in genetic diversity and evolutionary dynamics (e.g., [8]) a more customized threshold could be used. The match rate of clinical samples to environmental samples in each quarter period was computed as the ratio of the number of matches to the total number of clinical BioSamples.

Match rate variability

In the past decade, the numbers of BioSamples in the NCBI Pathogen Detection database has grown rapidly for Salmonella, E. coli, and L. monocytogenes (Fig. 1a). At the end of 2022 (data before then constitutes what was analyzed here), Salmonella was the largest database (N = 506,936) followed by E. coli (N = 285,547) and L. monocytogenes (N = 54,555) (Table 1). Noticeably, there are only 1,140 Cronobacter spp. BioSamples in the database with more than half of the records created after 2018. As the database size growth rate increased rapidly from year 2014 to 2018 there was a corresponding increase in the match rate of each species (Fig. 2). This may be an artifact of how various public health agencies populated the database where, perhaps, a large collection of clinical isolates was deposited, and non-clinical isolates followed and gained pace of submission. Taking all BioSamples deposited in the database before Dec 31, 2022 into account, 46% Salmonella clinical BioSamples and 33% L. monocytogenes BioSamples matched non-clinical BioSamples, and surprisingly E. coli, with the second largest database size, only has a match rate of 7%.

Fig. 1
figure 1

a The growth of sequence data for four foodborne pathogens within NCBI’s pathogen detection database. b Fraction of the total number of clusters that are “common” clusters (i.e., those containing both clinical and environmental BioSamples)

Fig. 2
figure 2

Fluctuations in match over time for four species. A simple moving average (taking average of previous 2 data points, current data point, and next 2 data points) curve in orange was added for Salmonella, E. coli, and Listeria to accentuate the variation of match rate over the years. Note differences in the scale of the y-axis

We found that there were drastic fluctuations in match rates, except for Cronobacter spp., during the primary stage when the databases were small (Fig. 2; see Supplemental Table S1 for more information). This was especially pronounced when the database size was less than 1000 samples. With still only 1140 Cronobacter spp. BioSamples in the database, it is not surprising that the match rate has varied greatly since it was created over 10 years ago.

Genetic diversity

To help explain why there are differences in the match rate among the taxa, we explored the number of total clusters in each database and the number of clusters that contain both environmental and clinical isolates (i.e., heterogenous sources) (Fig. 1b). The percent of clusters with isolates from heterogenous sources for Salmonella (19%) and L. monocytogenes (21%) look to still be increasing (Fig. 1b). In contrast, only about 5% of E. coli clusters contain both clinical and environmental isolates despite it having about three times as many clinical to non-clinical samples in the database that is similar to Salmonella (L. monocytogenes is the opposite and has 1.6 as many non-clinical samples to clinical samples). This suggests that for E. coli either the putative source of clinical samples has not been sampled or the non-clinical isolates have not contributed to illness. Another potential contributing factor to the low match rate for E. coli is that there are clinical isolates with an isolation source of “urine” or similar suggesting that they are not the result of foodborne pathogens but rather urinary tract infections. However, those isolates are only 6.7% of the clinical isolates. Also of note with respect to E. coli is that we did not consider pathogenicity differences among E. coli in analyzing the data, which is complex but incorporating such information (i.e., virulence) in future work may also explain in part the low match rate. Additionally, E. coli does seem to have a higher genetic diversity and more genetic substructure than the other taxa investigated making matches less likely.

Modeling and prediction of match rate

First, simple logistic regressions were applied to explore relationship between quarterly match rate and seven database feature variables respectively in the following form:

$$\text{log}\left(\frac{p}{1-p}\right)={\beta }_{0}+{\beta }_{1}{x}_{1}$$

where \(p\) is the probability of clinical match, \({x}_{1}\) is a predictor variable (one of the database features), \({\beta }_{0}\) and \({\beta }_{1}\) are the regression coefficients. A positive \({\beta }_{1}\) implies that increasing \({x}_{1}\) is associated with higher \(p\). The fitted models were evaluated by the Akaike information criterion (AIC). Lower AIC and RSE suggest better fitting. In addition, pseudo-R square by McFadden was calculated as an indicative of improvement from the null model to the current model.

Seven database features we studied are: database size (number of total BioSamples in database), number of environmental biosamples, number of clinical biosamples, number of heterogenous clusters (those that contain both environmental and clinical BioSamples), percentage of environmental biosamples, percentage of clinical biosamples, and cluster ratio(heterogenous clusters/total). Quarterly match rates were calculated for observations ending on December 31, 2021, and data with database size less than 1000 were excluded from model fitting due to instability. All variables were significantly related to match rate (p < 0.001). Cluster ratio ranks highest with the lowest AIC values and highest McFadden’s R squared (Table 2). An increase of 0.5% in heterogeneity is associated with an increase of 10% in the odds of getting matched clinical BioSamples.

Table 2 Logistic regression and the variables related to match rate

After identifying match rate related variables through logistic regression, we built multiple logistic regression models with all pairwise possible combinations of variables in the following form:

$$\text{log}\left(\frac{p}{1-p}\right)={\beta }_{0}+{\beta }_{1}{x}_{1}+{\beta }_{2}{x}_{2}+{\beta }_{3}{x}_{1}{x}_{2}$$

where \(p\), \({\beta }_{0}\), \({\beta }_{1}\), and \({x}_{1}\) have the similar meaning in simple logistic regression, \({x}_{2}\) is the second predictor variable, \({\beta }_{2}\) and \({\beta }_{3}\) are other two regression coefficients. If coefficient (\({\beta }_{3})\) of an interaction term \({x}_{1}{x}_{2}\) is significant, it indicates that the effect of \({x}_{1}\) on \(p\) depends on \({x}_{2}\).

The best fitting model (Table 3) included database size and percentage of environmental BioSamples with a McFadden’s R squared value of 0.939, which indicates a good prediction accuracy. Due to multicollinearity when adding more factors into the model, we selected the two-factor model with an interaction term as the final prediction model.

Table 3 Multiple logistic regression estimates

Positive coefficients for the environmental percentage factor and interaction term indicated that with the same database size a higher percentage of environmental BioSamples is associated with higher match rate. Regarding the relationship between database size and the match rate, when environmental percentage is fixed and higher than 15%, larger database size is correlated with higher match rate (Fig. 3). For instance, under hypothetical conditions, when environmental percentage reaches 70%, the odds of getting matched clinical BioSamples was predicted to rise 4% with every 1000 isolates deposited into database(Fig. 3b). However, if the environmental percentage is lower than 15% and fixed, with larger database size, the tendency of match rate decreases.

Fig. 3
figure 3

a Utilizing logistic regression for quarterly match rate prediction, with corresponding confidence intervals shaded in grey. b Employing logistic regression models to forecast hypothetical database performance across varying percentages of environmental BioSamples. Please note the distinct scales on the y-axis. Shaded areas represent confidence intervals of predicted values

To evaluate our prediction model, which was built upon data before December 31, 2021, we compared predicted match rates with actual quarterly rates in 2022. We found that the average absolute difference between predicted match rate and the actual match rate are 5% and 1% for Salmonella and E. coli respectively. The model was not as good for L. monocytogenes where the average absolute difference is 14%, due to the big jump of actual match rate in the first quarter.

Discussion

The results presented here show that for the database sizes we investigated the match rate of clinical isolates to non-clinical isolates is 33% for L. monocytogenes, 46% for Salmonella, and 7% for E. coli. While comparisons to other studies are difficult given the estimate of a match rate is highly dependent on the composition and size of the database and the genetic threshold (SNP distance) at which a match is defined, our results are in line with what has been seen by others. For example, Sanaa et al. [9] based on NCBI Pathogen Detection data from 2018 and a SNP distance threshold of 20 (the same value used here) found the probability that a new clinical would match an existing food or environmental isolate was relatively low ~ 30% for Salmonella and ~ 12% for L. monocytogenes. Although lower than the values we observed, the authors note that the probability of a match appeared to be increasing.

In modeling the match rate, we found that variation exists overtime within and among foodborne pathogens in the epidemiologically informative match rate. The drastic variation is likely the primary reason that prospective modeling to estimate the probability that any future clinical sample will be a match to a non-clinical isolate is currently difficult. Although studies have found there is a seasonality to the prevalence of certain Salmonella serovars [10], our tests of models incorporating seasonality showed no consistent relationship, which is also likely due to the variation and erratic pattern to the match rate overtime. Perhaps this is a surprising result where even after 10 plus years of populating such databases and 750,000 isolates, as is the case with Salmonella, the information content and probability of a match have not stabilized. However, modeling the match rate had good performance and provides a means for estimating whether future clinical samples will match non-clinical samples in the database. Such databases will continue to routinely provide actionable information where they are a critical tool for foodborne disease surveillance and outbreak detection and resolution.

Limitations

Limitations are discussed throughout and include, but are not limited to, the data that we analyzed do not represent a random sample and results will vary depending on the SNP threshold used to determine a match.

Data availability

The data described in this Research Note can be freely and openly accessed at https://ftp.ncbi.nlm.nih.gov/pathogen/Results/Salmonella/, https://ftp.ncbi.nlm.nih.gov/pathogen/Results/Listeria/, https://ftp.ncbi.nlm.nih.gov/pathogen/Results/Cronobacter/, and https://ftp.ncbi.nlm.nih.gov/pathogen/Results/Escherichia_coli_Shigella/.

References

  1. Carter LL, Yu MA, Sacks JA, Barnadas C, Pereyaslov D, Cognat S, Briand S, Ryan MJ, Samaan G. Global genomic surveillance strategy for pathogens with pandemic and epidemic potential 2022–2032. Bull World Health Organ. 2022;100(4):239–239a.

    Article  PubMed  PubMed Central  Google Scholar 

  2. Black A, MacCannell DR, Sibley TR, Bedford T. Ten recommendations for supporting open pathogen genomic analysis in public health. Nat Med. 2020;26(6):832–41.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  3. Helmy M, Awad M, Mosa KA. Limited resources of genome sequencing in developing countries: challenges and solutions. Appl Transl Genom. 2016;9:15–9.

    PubMed  PubMed Central  Google Scholar 

  4. Atutornu J, Milne R, Costa A, Patch C, Middleton A. Towards equitable and trustworthy genomics research. EBioMedicine. 2022;76: 103879.

    Article  PubMed  PubMed Central  Google Scholar 

  5. Sayers EW, Bolton EE, Brister JR, Canese K, Chan J, Comeau DC, Farrell CM, Feldgarden M, Fine AM, Funk K, et al. Database resources of the National Center for Biotechnology Information in 2023. Nucleic Acids Res. 2022. https://doi.org/10.1093/nar/gkac1032.

    Article  PubMed  PubMed Central  Google Scholar 

  6. Timme RE, Sanchez Leon M, Allard MW. Utilizing the public Genometrakr database for foodborne pathogen traceback. Methods Mol Biol. 2019;1918:201–12.

    Article  CAS  PubMed  Google Scholar 

  7. Pightling AW, Pettengill JB, Luo Y, Baugher JD, Rand H, Strain E. Interpreting whole-genome sequence analyses of foodborne bacteria for regulatory applications and outbreak investigations. Front Microbiol. 2018;9:1482.

    Article  PubMed  PubMed Central  Google Scholar 

  8. Pightling AW, Rand H, Pettengill J. Using evolutionary analyses to refine whole-genome sequence match criteria. Front Microbiol. 2022;13: 797997.

    Article  PubMed  PubMed Central  Google Scholar 

  9. Sanaa M, Pouillot R, Vega FG, Strain E, Van Doren JM. GenomeGraphR: a user-friendly open-source web application for foodborne pathogen whole genome sequencing data integration, analysis, and visualization. PLoS ONE. 2019;14(2): e0213039.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  10. Smith BA, Meadows S, Meyers R, Parmley EJ, Fazil A. Seasonality and zoonotic foodborne pathogens in Canada: relationships between climate and Campylobacter, E. coli and Salmonella in meat products. Epidemiol Infect. 2019;147: e190.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

Download references

Acknowledgements

We appreciate the feedback provided by H. Rand and A. Pightling during the writing of this manuscript. We also appreciate the guidance in working with the NCBI data and computing provided by Y. Luo. We thank L. Katz, J. Chen, and M. Bazaco for reviewing the manuscript. We also acknowledge all persons, laboratories, and organization that deposit the whole-genome sequence data analyzed here into the public databases in support of global public health.

Funding

Not applicable.

Author information

Authors and Affiliations

Authors

Contributions

J.B.P. conceived of the study. L.Y. performed the statistical analyses. J.B.P. and L.Y. wrote and reviewed the manuscript.

Corresponding author

Correspondence to James B. Pettengill.

Ethics declarations

Ethics approval and consent to participate

Not applicable.

Consent for publication

Not applicable.

Competing interests

The authors declare no competing interests.

Additional information

Publisher's Note

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

Supplementary Information

Rights and permissions

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

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Yin, L., Pettengill, J.B. Prospective modeling and estimating the epidemiologically informative match rate within large foodborne pathogen genomic databases. BMC Res Notes 17, 191 (2024). https://doi.org/10.1186/s13104-024-06847-z

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s13104-024-06847-z

Keywords