Algorithm and Software to Type Stx Operons Accurately from Assembled Genomic Sequence
Abstract
1. Introduction
2. Materials and Methods
2.1. Stx Operon Analysis and Algorithm Development
2.2. StxTyper and Operon Detection
Algorithm for Determining If Operons Are Complete
- FRAME_SHIFT is when there are two consecutive BLAST hits to the same reference with distance < 10 bp in different reading frames. Note that because these blast matches to the whole reference protein are split into multiple alignments, the numbers for percent identity and alignment length are calculated from the identified alignments and may differ from expectations.
- INTERNAL_STOP is called when there is a ‘*’ character (stop codon) at any place in the query portion of the alignment other than at the last position of the reference sequence.
- PARTIAL_CONTIG_END is used to differentiate operons that may be split by assembly or sequencing issues at the end of a contig, versus PARTIAL operons internal to contigs that are more likely to be incomplete in the source genome. PARTIAL_CONTIG_END operons are identified by alignments that terminate internal to the reference sequences < 3 bp from the end of a contig and thus might be full length sequences in a higher quality assembly or sequence. A single-subunit operon is also identified as PARTIAL_CONTIG_END if the length of the unmatched portion of the contig in the same orientation as the missing subunit is <36 bp (maximum allowed intergenic region) + 60 bp (minimum coding length to determine a subunit alignment has been missed) from the end of the contig.
- EXTENDED is when the whole reference protein aligns, but the stop codon is not present at the end of the alignment to the reference sequence.
- PARTIAL is for the remaining cases where <100% of the reference sequences of both subunits align or the A and B subunits are >36 bp apart or have incorrect order or orientation.
2.3. Datasets and Comparison of Results
2.3.1. Danish Public Health Surveillance Dataset
2.3.2. Real-Time PCR Dataset from the California Department of Public Health (CDPH)
2.3.3. NCBI Pathogen Detection WGS Assemblies
3. Results
3.1. Survey of Publicly Available Stx Sequences
- The full-length protein sequences of subunits A and B were extracted and then concatenated.
- For Stx2a-Stx2e subtypes, the positions below correspond to the positions in the consensus holotype in Figure 2 and were used to distinguish subtypes stx2a-Stx2e, note identity thresholds are not sufficient to discriminate between Stx2 subtypes (Table 2). See Table 3 for signature residues in the Stx2 holotype alignment.
- For non-Stx2a-Stx2e subtypes, the concatenated sequences were compared to the reference alignment provided in section “Stx2”.
3.1.1. Establishment of Criteria for Stx1 Operon Identification
3.1.2. Establishment of Criteria for Stx2 Operon Identification
3.2. Reference Sequences and Reference Collection
3.3. Typing Algorithm
- First, compute the combined percent identity as the sum of identities of both proteins/sum of reference lengths of both proteins. Both subunits must be full-length, otherwise only the type is called (i.e., Stx1 vs. Stx2).
- A subtype is declared if:
- ○
- Both subunits are of the same Stx type, considering Stx2a, Stx2c, and Stx2d as one generalized type “stx2acd”.
- ○
- Intergenic region between subunit A and subunit B is <=36 bp.
- ○
- The combined percent identity >= the cutoff which is:
- ▪
- 98.3% for Stx1 types.
- ▪
- 98.5% for Stx2k and Stx2l.
- ▪
- 98.0% for the other Stx types.
- If both subunits are full-length and none of the above rules agree to define a sub-type, then it is deemed a novel Stx type (Table 4).
3.4. StxTyper Software
3.5. Interpreting StxTyper Output
- COMPLETE—This operon that can be fully typed to subtype level using the above algorithm.
- PARTIAL—These are partials internal to a contig and, unless there is an error in assembly, likely to not be functional.
- PARTIAL_CONTIG_END—This operon could be a complete operon split across contig boundaries in the assembly, Stx operons are often difficult to assemble, and this could represent a full operon in the source genome that was difficult to sequence and assemble.
- FRAMESHIFT—One (or both) of the subunits has a frame shift detected by StxTyper and is less likely to be a functional operon.
- INTERNAL_STOP—One (or both) of the subunits has an internal stop codon detected by StxTyper.
- COMPLETE_NOVEL—The two subunit genes are fully aligned as described above but do not fit into the typing scheme above, and could represent a novel subtype of Stx. To have a subtype designation assigned, please refer to the Assignment of New Subtypes section below.
- AMBIGUOUS—Coding sequences that contain IUPAC ambiguity codes that lead to ambiguities in amino acid translation cannot be fully subtyped. These would otherwise be COMPLETE or COMPLETE_NOVEL.
- All operons with values other than COMPLETE are only resolved to the type level (i.e., Stx1 or Stx2).
3.6. Validation Using the Danish Stx Surveillance Set
3.6.1. Comparison to the Danish Surveillance Stx Typing Protocol
3.6.2. Comparison to VirulenceFinder Results on NCBI Pathogen Detection Assemblies
3.7. Comparison to California Department of Public Health PCR Results
3.8. StxTyper Analysis of Stx-Gene-Containing Isolates in NCBI Pathogen Detection
Combinations of Operons
4. Discussion
Assignment of New Stx Subtypes
Supplementary Materials
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Scallan Walter, E.J.; Cui, Z.; Tierney, R.; Griffin, P.M.; Hoekstra, R.M.; Payne, D.C.; Rose, E.B.; Devine, C.; Namwase, A.S.; Mirza, S.A.; et al. Foodborne Illness Acquired in the United States—Major Pathogens, 2019. Emerg. Infect. Dis. 2025, 31, 669–677. [Google Scholar] [CrossRef] [PubMed]
- Melton-Celsa, A.R. Shiga Toxin (Stx) Classification, Structure, and Function. Microbiol. Spectr. 2014, 2, EHEC-0024-2013. [Google Scholar] [CrossRef] [PubMed]
- Wang, X.; Yu, D.; Chui, L.; Zhou, T.; Feng, Y.; Cao, Y.; Zhi, S. A Comprehensive Review on Shiga Toxin Subtypes and Their Niche-Related Distribution Characteristics in Shiga-Toxin-Producing E. coli and Other Bacterial Hosts. Microorganisms 2024, 12, 687. [Google Scholar] [CrossRef] [PubMed]
- Gill, A.; Dussault, F.; McMahon, T.; Petronella, N.; Wang, X.; Cebelinski, E.; Scheutz, F.; Weedmark, K.; Blais, B.; Carrillo, C. Characterisation of Atypical Shiga Toxin Gene Sequences and Description of Stx2j, a New Subtype. J. Clin. Microbiol. 2022, 60, e02229-21. [Google Scholar] [CrossRef] [PubMed]
- Lindsey, R.L.; Prasad, A.; Feldgarden, M.; Gonzalez-Escalona, N.; Kapsak, C.; Klimke, W.; Melton-Celsa, A.; Smith, P.; Souvorov, A.; Truong, J.; et al. Identification and Characterization of Ten Escherichia coli Strains Encoding Novel Shiga Toxin 2 Subtypes, Stx2n as Well as Stx2j, Stx2m, and Stx2o, in the United States. Microorganisms 2023, 11, 2561. [Google Scholar] [CrossRef] [PubMed]
- Bai, X.; Scheutz, F.; Dahlgren, H.M.; Hedenström, I.; Jernberg, C. Characterization of Clinical Escherichia coli Strains Producing a Novel Shiga Toxin 2 Subtype in Sweden and Denmark. Microorganisms 2021, 9, 2374. [Google Scholar] [CrossRef] [PubMed]
- Probert, W.S.; McQuaid, C.; Schrader, K. Isolation and Identification of an Enterobacter Cloacae Strain Producing a Novel Subtype of Shiga Toxin Type 1. J. Clin. Microbiol. 2014, 52, 2346–2351. [Google Scholar] [CrossRef] [PubMed]
- Jackson, M.P.; Neill, R.J.; O’Brien, A.D.; Holmes, R.K.; Newland, J.W. Nucleotide Sequence Analysis and Comparison of the Structural Genes for Shiga-like Toxin I and Shiga-like Toxin II Encoded by Bacteriophages from Escherichia coli 933. FEMS Microbiol. Lett. 1987, 44, 109–114. [Google Scholar] [CrossRef]
- Gensheimer, K.; Allard, M.W.; Timme, R.E.; Brown, E.; Hintz, L.; Pettengill, J.; Strain, E.; Tallent, S.M.; Vélez, L.F.; King, E.; et al. Genomic Surveillance of Foodborne Pathogens: Advances and Obstacles. J. Public Health Manag. Pract. 2025, 31, 351. [Google Scholar] [CrossRef] [PubMed]
- Ashton, P.M.; Perry, N.; Ellis, R.; Petrovska, L.; Wain, J.; Grant, K.A.; Jenkins, C.; Dallman, T.J. Insight into Shiga Toxin Genes Encoded by Escherichia coli O157 from Whole Genome Sequencing. PeerJ 2015, 3, e739. [Google Scholar] [CrossRef] [PubMed]
- Malberg Tetzschner, A.M.; Johnson, J.R.; Johnston, B.D.; Lund, O.; Scheutz, F. In Silico Genotyping of Escherichia coli Isolates for Extraintestinal Virulence Genes by Use of Whole-Genome Sequencing Data. J. Clin. Microbiol. 2020, 58. [Google Scholar] [CrossRef] [PubMed]
- Feldgarden, M.; Brover, V.; Gonzalez-Escalona, N.; Frye, J.G.; Haendiges, J.; Haft, D.H.; Hoffmann, M.; Pettengill, J.B.; Prasad, A.B.; Tillman, G.E.; et al. AMRFinderPlus and the Reference Gene Catalog Facilitate Examination of the Genomic Links among Antimicrobial Resistance, Stress Response, and Virulence. Sci. Rep. 2021, 11, 12728. [Google Scholar] [CrossRef] [PubMed]
- Strockbine, N.A.; Jackson, M.P.; Sung, L.M.; Holmes, R.K.; O’Brien, A.D. Cloning and Sequencing of the Genes for Shiga Toxin from Shigella dysenteriae Type 1. J. Bacteriol. 1988, 170, 1116–1122. [Google Scholar] [CrossRef] [PubMed]
- Camacho, C.; Coulouris, G.; Avagyan, V.; Ma, N.; Papadopoulos, J.; Bealer, K.; Madden, T.L. BLAST+: Architecture and Applications. BMC Bioinform. 2009, 10, 421. [Google Scholar] [CrossRef] [PubMed]
- Feldgarden, M.; Brover, V.; Fedorov, B.; Haft, D.H.; Prasad, A.B.; Klimke, W. Curation of the AMRFinderPlus Databases: Applications, Functionality and Impact. Microb. Genom. 2022, 8, 000832. [Google Scholar] [CrossRef] [PubMed]
- Joensen, K.G.; Scheutz, F.; Lund, O.; Hasman, H.; Kaas, R.S.; Nielsen, E.M.; Aarestrup, F.M. Real-Time Whole-Genome Sequencing for Routine Typing, Surveillance, and Outbreak Detection of Verotoxigenic Escherichia coli. J. Clin. Microbiol. 2014, 52, 1501–1510. [Google Scholar] [CrossRef] [PubMed]
- Clausen, P.T.L.C.; Aarestrup, F.M.; Lund, O. Rapid and Precise Alignment of Raw Reads against Redundant Databases with KMA. BMC Bioinform. 2018, 19, 307. [Google Scholar] [CrossRef] [PubMed]
- Scheutz, F.; Teel, L.D.; Beutin, L.; Piérard, D.; Buvens, G.; Karch, H.; Mellmann, A.; Caprioli, A.; Tozzoli, R.; Morabito, S.; et al. Multicenter Evaluation of a Sequence-Based Protocol for Subtyping Shiga Toxins and Standardizing Stx Nomenclature. J. Clin. Microbiol. 2012, 50, 2951–2963. [Google Scholar] [CrossRef] [PubMed]
- Mingle, L.A.; Garcia, D.L.; Root, T.P.; Halse, T.A.; Quinlan, T.M.; Armstrong, L.R.; Chiefari, A.K.; Schoonmaker-Bopp, D.J.; Dumas, N.B.; Limberger, R.J.; et al. Enhanced Identification and Characterization of Non-O157 Shiga Toxin–Producing Escherichia coli: A Six-Year Study. Foodborne Pathog. Dis. 2012, 9, 1028–1036. [Google Scholar] [CrossRef] [PubMed]
- Patterson, Q.; Kirvida-McGowan, T.; Zhao, Y.; Shiozaki, M.; Zhu, J.; Kaneko, B.; Abromaitis, S. Implementation of Molecular Screening for a More Efficient Shiga Toxin-Producing Escherichia coli Testing Workflow. Diagn. Microbiol. Infect. Dis. 2026, 116, 117426. [Google Scholar] [CrossRef] [PubMed]
- Bai, X.; Fu, S.; Zhang, J.; Fan, R.; Xu, Y.; Sun, H.; He, X.; Xu, J.; Xiong, Y. Identification and Pathogenomic Analysis of an Escherichia coli Strain Producing a Novel Shiga Toxin 2 Subtype. Sci. Rep. 2018, 8, 6756. [Google Scholar] [CrossRef]
- Lacher, D.W.; Gangiredla, J.; Patel, I.; Elkins, C.A.; Feng, P.C.H. Use of the Escherichia coli Identification Microarray for Characterizing the Health Risks of Shiga Toxin–Producing Escherichia coli Isolated from Foods. J. Food Prot. 2016, 79, 1656–1662. [Google Scholar] [CrossRef] [PubMed]
- Meng, Q.; Bai, X.; Zhao, A.; Lan, R.; Du, H.; Wang, T.; Shi, C.; Yuan, X.; Bai, X.; Ji, S.; et al. Characterization of Shiga Toxin-Producing Escherichia coli Isolated from Healthy Pigs in China. BMC Microbiol. 2014, 14, 5. [Google Scholar] [CrossRef]
- Sayers, E.W.; Beck, J.; Bolton, E.E.; Brister, J.R.; Chan, J.; Comeau, D.C.; Connor, R.; DiCuccio, M.; Farrell, C.M.; Feldgarden, M.; et al. Database Resources of the National Center for Biotechnology Information. Nucleic Acids Res. 2024, 52, D33–D43. [Google Scholar] [CrossRef] [PubMed]
- Souvorov, A.; Agarwala, R.; Lipman, D.J. SKESA: Strategic k-Mer Extension for Scrupulous Assemblies. Genome Biol. 2018, 19, 153. [Google Scholar] [CrossRef]
- Souvorov, A.; Agarwala, R. SAUTE: Sequence Assembly Using Target Enrichment. BMC Bioinform. 2021, 22, 375. [Google Scholar] [CrossRef] [PubMed]
- Monteiro, L.; Bonnemaison, D.; Vekris, A.; Petry, K.G.; Bonnet, J.; Vidal, R.; Cabrita, J.; Mégraud, F. Complex Polysaccharides as PCR Inhibitors in Feces: Helicobacter Pylori Model. J. Clin. Microbiol. 1997, 35, 995–998. [Google Scholar] [CrossRef] [PubMed]
- Greig, D.R.; Do Nascimento, V.; Gally, D.L.; Gharbia, S.E.; Dallman, T.J.; Jenkins, C. Re-Analysis of an Outbreak of Shiga Toxin-Producing Escherichia coli O157:H7 Associated with Raw Drinking Milk Using Nanopore Sequencing. Sci. Rep. 2024, 14, 5821. [Google Scholar] [CrossRef]
- Castro, V.S.; Ortega Polo, R.; Figueiredo, E.E.d.S.; Bumunange, E.W.; McAllister, T.; King, R.; Conte-Junior, C.A.; Stanford, K. Inconsistent PCR Detection of Shiga Toxin-Producing Escherichia coli: Insights from Whole Genome Sequence Analyses. PLoS ONE 2021, 16, e0257168. [Google Scholar] [CrossRef]
- Scheutz, F.; Joensen, K.G.; Schjørring, S.; Olesen, B.; Engberg, J.; Holt, H.M.; Nielsen, H.L.; Lemming, L.; Pedersen, M.; Lützen, L.; et al. Shiga Toxin-Producing E. coli (STEC) from Danish Patients, 1997–2023: Diagnostic Trends and Bacteriological Findings. Microorganisms 2025, 13, 2342. [Google Scholar] [CrossRef]
- Nakamura, K.; Ogura, Y.; Gotoh, Y.; Hayashi, T. Prophages Integrating into Prophages: A Mechanism to Accumulate Type III Secretion Effector Genes and Duplicate Shiga Toxin-Encoding Prophages in Escherichia coli. PLoS Pathog. 2021, 17, e1009073. [Google Scholar] [CrossRef] [PubMed]
- Pinto, G.; Sampaio, M.; Dias, O.; Almeida, C.; Azeredo, J.; Oliveira, H. Insights into the Genome Architecture and Evolution of Shiga Toxin Encoding Bacteriophages of Escherichia coli. BMC Genom. 2021, 22, 366. [Google Scholar] [CrossRef] [PubMed]



| stx1a | stx1c | stx1d | stx1e | |
|---|---|---|---|---|
| Stx1a | 98.7/98.5 | 95.7–97 | 91.3–91.9 | 85.9–86.3 |
| Stx1c | 96.8–98.3 | 98.3/99.1 | 92.3–92.6 | 86.6–87.1 |
| Stx1d | 95.4–96.1 | 95–96 | 100 | 86.8 |
| Stx1e | 91.1–91.6 | 91.1–92.1 | 91.9 | 100 |
| Stx2a | Stx2b | Stx2c | Stx2d | Stx2e | Stx2f | Stx2g | Stx2h | Stx2i | Stx2j | Stx2k | Stx2l | Stx2m | Stx2n | Stx2o | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Stx2a | 98.8 | ||||||||||||||
| Stx2b | 96.8 | 98.1 | |||||||||||||
| Stx2c | 99.9 | 96.7 | 98.7 | ||||||||||||
| Stx2d | 99.7 | 97.6 | 99.7 | 98.6 | |||||||||||
| Stx2e | 95.9 | 95.0 | 95.6 | 96.1 | 98.2 | ||||||||||
| Stx2f | 82.3 | 81.4 | 82.2 | 82.4 | 84.1 | 98.8 | |||||||||
| Stx2g | 97.5 | 97.4 | 96.9 | 97.4 | 96.0 | 82.4 | 98.9 | ||||||||
| Stx2h | 95.7 | 95.9 | 95.5 | 95.9 | 94.6 | 81.8 | 95.5 | N/A | |||||||
| Stx2i | 96.4 | 94.3 | 95.9 | 96.4 | 97.9 | 82.4 | 96.5 | 95.5 | 99.7 | ||||||
| Stx2j | 94.2 | 93.6 | 94.5 | 94.7 | 93.0 | 83.2 | 93.0 | 94.1 | 93.0 | 98.5 | |||||
| Stx2k | 97.7 | 96.0 | 97.8 | 98.2 | 97.2 | 82.3 | 96.8 | 95.9 | 97.9 | 94.3 | 99.9 | ||||
| Stx2l | 97.4 | 94.7 | 96.8 | 97.5 | 97.6 | 82.8 | 96.2 | 94.7 | 97.9 | 94.1 | 98.1 | 99.7 | |||
| Stx2m | 96.3 | 95.2 | 95.6 | 96.1 | 94.4 | 82.4 | 96.1 | 94.8 | 94.5 | 92.3 | 95.0 | 93.8 | N/A | ||
| Stx2n | 93.6 | 93.3 | 95.5 | 96.0 | 92.7 | 84.0 | 93.5 | 95.0 | 93.2 | 91.8 | 93.9 | 92.4 | 93.2 | N/A | |
| Stx2o | 94.9 | 94.5 | 95.3 | 95.3 | 94.0 | 82.0 | 94.9 | 97.1 | 94.7 | 93.2 | 95.5 | 94.1 | 93.8 | 94.8 | 99.7 |
| Stx Subtype | 313 | 319 | 325 | 353 | 354 | 355 |
|---|---|---|---|---|---|---|
| Stx2a | F/S | K/E | M | E | D | D |
| Stx2b | S | K/E/- | V | E | N | D |
| Stx2c | F | K/E | M | E | N | D |
| Stx2d | S | E | M | E | N | D |
| Stx2e | P/S | E | I | E | D | N |
| Stx Subype | Subunit A | Subunit B | |
|---|---|---|---|
| Position | 313 | 319 | 35 (354 in Holotoxin Alignment) |
| Stx2a | F/S | K/E | D |
| Stx2c | F | K/E | N |
| Stx2d | S | E | N |
| Stx Type | Number of Isolates |
|---|---|
| stx1a | 61,836 |
| stx2a | 39,687 |
| stx2c | 21,903 |
| stx2b | 6739 |
| stx1c | 6441 |
| stx2d | 3517 |
| stx2e | 1529 |
| stx2f | 1057 |
| stx2g | 483 |
| stx2j | 388 |
| stx1d | 305 |
| stx2k | 271 |
| stx2n | 144 |
| stx2l | 88 |
| stx2i | 81 |
| stx2* | 15 |
| stx2o | 11 |
| stx2h | 7 |
| stx2m | 6 |
| stx1 * | 2 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Prasad, A.B.; Abromaitis, S.; Brover, V.; Feldgarden, M.; Joensen, K.G.; Kapsak, C.J.; Lindsey, R.L.; Li, L.; Michelacci, V.; Schjørring, S.; et al. Algorithm and Software to Type Stx Operons Accurately from Assembled Genomic Sequence. Microorganisms 2026, 14, 1607. https://doi.org/10.3390/microorganisms14081607
Prasad AB, Abromaitis S, Brover V, Feldgarden M, Joensen KG, Kapsak CJ, Lindsey RL, Li L, Michelacci V, Schjørring S, et al. Algorithm and Software to Type Stx Operons Accurately from Assembled Genomic Sequence. Microorganisms. 2026; 14(8):1607. https://doi.org/10.3390/microorganisms14081607
Chicago/Turabian StylePrasad, Arjun Balmiki, Stephanie Abromaitis, Vyacheslav Brover, Michael Feldgarden, Katrine Grimstrup Joensen, Curtis James Kapsak, Rebecca L. Lindsey, Linlin Li, Valeria Michelacci, Susanne Schjørring, and et al. 2026. "Algorithm and Software to Type Stx Operons Accurately from Assembled Genomic Sequence" Microorganisms 14, no. 8: 1607. https://doi.org/10.3390/microorganisms14081607
APA StylePrasad, A. B., Abromaitis, S., Brover, V., Feldgarden, M., Joensen, K. G., Kapsak, C. J., Lindsey, R. L., Li, L., Michelacci, V., Schjørring, S., Scheutz, F., & Klimke, W. (2026). Algorithm and Software to Type Stx Operons Accurately from Assembled Genomic Sequence. Microorganisms, 14(8), 1607. https://doi.org/10.3390/microorganisms14081607

