Contents
pdf Download PDF
pdf Download XML
131 Views
67 Downloads
Share this article
Research Article | Volume 18 Issue 11 (November, 2026) | Pages 705 - 713
Lactose-Metabolism Genes in Enteric Bacteria of Forensic and Postmortem Interest: An in Silico Study of lac Operon Variation and lacZ PCR Specificity
 ,
 ,
 ,
 ,
1
Assistant Professor. Department of Forensic Medicine and Toxicology. Ayub Medical College. Abbottabad. Email ID:Mahwishasfand@gmail.com
2
Assistant Professor. Forensic Medicine. Multan Medical and Dental College. Multan. Email ID: dr.hamna.malik123@gmail.com
3
Associate Professor. Department of Forensic medicine and toxicology. Frontier Medical and Dental College. Abbottabad. Email ID: younaskhan411@gmail.com
4
Assistant Professor. Department of Forensic medicine and toxicology. Saidu Medical College. Swat. Email ID: drmiqbal52@gmail.com
5
Assistant Professor. Department of Forensic medicine and Toxicology. HBS Medical and Dental College. Islamabad. Email ID: drgul78@gmail.com
Under a Creative Commons license
Open Access
Received
Sept. 9, 2026
Revised
Nov. 12, 2026
Accepted
Nov. 16, 2026
Published
Nov. 30, 2026
Abstract

Background: Lactose fermentation is widely used to presumptively identify Escherichia coli and coliforms in forensic and public-health microbiology, but the phenotype can mislead. The gene content and sequence variation of the lac operon across related genera were examined here with marker design in mind. Methods: Thirty-six complete RefSeq genomes (six each of E. coli, Klebsiella pneumoniae, Enterobacter cloacae, Salmonella enterica, Shigella flexneri and Proteus mirabilis) were searched for lacZ, lacY and lacA by tblastn using E. coli K-12 proteins (55% identity cutoff). A maximum-likelihood lacZ tree was built and tested with patristic distances and a permutation test. A primer pair designed on K-12 lacZ was tested in silico with 0, 1 and 2 mismatches; exact 95% confidence intervals were calculated. Results: lacZ was present in all E. coli, Klebsiella and Enterobacter genomes and one Salmonella genome, but not in S. flexneri or P. mirabilis; the apparent S. flexneri hits were the paralog ebgA. Three Klebsiella genomes (plasmid-borne) and one Enterobacter genome (chromosomal) carried E. coli-like lacZ and lacY (96.7–96.8% and 99.3–99.5% identity), whereas relatives carried divergent copies (59.9–66.3%). lacZ similarity only partly tracked species: mean within-species distance was 0.319 versus 0.679 between species (permutation p = 0.0003), but K. pneumoniae within-species distances approached between-species values, and 4 of 10 sequences in the E. coli-like clade were not E. coli. The primer pair amplified 3/6 E. coli with exact matching (95% CI 11.8–88.2%) and 6/6 with one mismatch (54.1–100%), with no other genome amplified (30/30; 88.4–100%); at two mismatches specificity fell to 26/30 (69.3–96.2%). Conclusions: In this dataset, lacZ identified an E. coli-like allele rather than the species, and plasmid-borne lacZY could confound lactose-based identification. Primer specificity depended strongly on mismatch tolerance. The small, non-diversity-sampled genome set gives wide uncertainty and requires validation on larger panels and in the laboratory.

Keywords
INTRODUCTION

Lactose metabolism in enteric bacteria depends on the lac operon, in which lacZ encodes β-galactosidase, lacY encodes lactose permease and lacA encodes galactoside O-acetyltransferase [1]. Because lactose fermentation is easy to score, it has long served as a differential trait, and the coliform group itself has been defined largely by the ability to ferment lactose [2].

This trait also matters in forensic and legal medicine. Microorganisms are increasingly studied as evidence in death investigation, and the postmortem microbiome (the thanatomicrobiome) has been proposed as a source of markers for the time and circumstances of death [3,4]. Enteric bacteria are among the organisms that may be recovered in such work, and their identification often starts with simple phenotypic tests such as lactose fermentation.

The phenotype is not a perfect guide to species. Shigella lineages arose several times from E. coli, and the loss of lactose fermentation was historically used to separate them [5]. Lac plasmids have long been known to confer a strong lactose-positive phenotype in Klebsiella [6], and lactose-fermenting Salmonella enterica isolates carry lac operons on plasmids or integrated into the chromosome [7]. In addition, lacZ has a distant paralog, ebgA, which also encodes a β-galactosidase [8,9] and can be mistaken for lacZ in sequence searches.

 

PCR targeting lacZ has been used for coliform and E. coli detection, and recent work has evaluated lacZ primers against curated sequence databases and compared lacZ with 16S rRNA phylogeny [2,10]. Those studies were framed around water and food quality. Here we take a forensic framing and ask what the whole lac operon looks like across six related species, where its genes sit (chromosome or plasmid), how closely lacZ similarity follows species, and how a single-template lacZ primer pair behaves as mismatch tolerance changes.

 

Using public complete genomes, we asked three questions. (1) Which lac genes are present in each species? (2) Does lacZ sequence variation follow species boundaries? (3) How specific is a lacZ primer pair designed on E. coli K-12 across these genomes, with what statistical uncertainty? This is a computational feasibility study, and we state what laboratory validation would be required.

MATERIAL AND METHODS

2.1 Genome selection Complete RefSeq genome assemblies were retrieved with NCBI Datasets v18.33.1 [11] on 13 November 2026. For each of six species (E. coli, K. pneumoniae, E. cloacae, S. enterica, S. flexneri, P. mirabilis), the first six complete assemblies returned by the database were used (36 genomes; accessions in Supplementary Table S1). Assembly sizes were checked against expected ranges for each species. 2.2 Detection of lac genes Reference lacZ, lacY, lacA and ebgA coding sequences were extracted from E. coli K-12 MG1655 (GCF_000005845.2) and translated with genetic code 11 using SeqKit v2.13.0 [13,14]. A nucleotide search (blastn, default megablast, BLAST+ v2.17.0 [12]) was run first. Because it detected lacZ in only 15 genomes, protein queries were searched against six-frame translations of each genome with tblastn (E-value ≤ 1e-10). For each genome, the best hit by amino acid identity was kept after requiring a minimum alignment length (900 aa for lacZ, 300 for lacY, 120 for lacA). A gene was called present when the best hit had at least 55% identity to the K-12 protein. This cutoff lies between paralog-level hits (about 34–43%) and the lowest divergent lacZ/lacY hits (about 59–60%); it is operational and was not tested against alternatives. To separate lacZ from ebgA, the K-12 EbgA protein was searched in the same way. The contig carrying each best hit was classified as chromosome or plasmid from its FASTA header, and lacZ/lacY adjacency was assessed from hit coordinates. 2.3 Phylogenetic analysis Nucleotide sequences of the 19 lacZ hits above the cutoff were extracted with SeqKit, checked by translation (no internal stop codons), and aligned with MAFFT v7.505 [15] (–auto). A maximum-likelihood tree was inferred with IQ-TREE v2.0.7 [16]; the substitution model was selected by ModelFinder [17] under BIC (TIM3+F+G4) and support was estimated with 1,000 ultrafast bootstrap replicates [18]. The tree is unrooted; no outgroup was used. 2.4 Primer design and in silico specificity Primers were designed on the K-12 lacZ coding sequence with Primer3 v2.6.1 [19] (primer length 18–25 nt, Tm 58–62 °C, product 150–400 bp). The top-ranked pair was tested against all 36 genomes with SeqKit amplicon, allowing 0, 1 or 2 mismatches per primer. A genome was positive if at least one amplicon was predicted. Sensitivity and specificity were calculated with E. coli as the target species. SeqKit counts mismatches without regard to their position, so this is a permissive proxy for real PCR behavior. 2.5 Statistical analysis Exact (Clopper–Pearson) 95% confidence intervals [20] for sensitivity and specificity were calculated with SciPy [21]. Identity values were summarized per species and gene as mean, standard deviation and range, using only hits at or above the 55% cutoff. To ask whether lacZ similarity follows species, pairwise patristic distances between the 19 tips of the consensus tree were computed with Biopython [22]. The test statistic was the mean distance of same-species pairs minus the mean distance of different-species pairs, compared with a null distribution from 10,000 random permutations of species labels (one-sided: same-species pairs closer than expected). For each sequence we also recorded whether its nearest neighbor on the tree (counting ties as conspecific if any tied neighbor shared the species) was of the same species. Pairwise distances are not independent, and the genomes were not sampled at random, so these statistics describe this sample and are not estimates for the species as a whole. 2.6 Software and reproducibility Analyses ran in WSL (Ubuntu) under Miniconda, with pandas v3.0.3 for tabulation and matplotlib v3.11.2 for figures [add SciPy and Biopython versions]. Accessions and per-genome outputs are in the supplementary tables; commands should be deposited in a public repository with the manuscript.

RESULTS

3.1 Genome set

The 36 genomes ranged from 3.79 Mb (P. mirabilis) to 5.99 Mb (K. pneumoniae), within expected size ranges. Many assemblies included plasmids.

3.2 Detection of lac genes

Megablast detected lacZ in 15 of 36 genomes and missed divergent copies. Protein-level tblastn found a lacZ-sized hit (≥ 900 aa) in 25 genomes, of which 19 had ≥ 55% identities to K-12 LacZ and were called positive. The six remaining hits, all in S. flexneri, had only 33.9–34.4% identity. A search with K-12 EbgA matched all six S. flexneri genomes at 99.3–99.8% identity, so these hits were ebgA, and no S. flexneri genome carried a lacZ-like gene. Gene presence and per-genome identities are summarized in Table 1 and Figure 1.

Table 1. Genomes (of six per species) with each lac gene present (≥ 55% amino acid identity).

Species

lacZ

lacY

lacA

E. coli

6

6

6

K. pneumoniae

6

6

0

E. cloacae

6

5

0

S. enterica

1

1

1

S. flexneri

0

0

0

P. mirabilis

0

0

0

Figure 1. Amino acid identity to E. coli K-12 for lacZ, lacY and lacA in 36 genomes, grouped by species. Values in parentheses are below the 55% cutoff and were called absent; grey cells are no hit.

Within Klebsiella and Enterobacter, two levels of divergence were evident (Table 2). Three Klebsiella genomes and one Enterobacter genome (GCF_002982195.1) carried lacZ at 96.7–96.8% identity and lacY at 99.3–99.5%, while the other copies in these genera were far more divergent (lacZ 59.9–66.3%, lacY 58.9–61.2%). This mixture explains the large standard deviations for these genera in Table 2. One Enterobacter genome (GCF_004193715.1) had lacZ at 65.7% but no lacY above the cutoff (best hit 40.6%). lacA above the cutoff was found only in the six E. coli genomes (97.5–100%) and one Salmonella genome (72.4%); elsewhere the best lacA hits (40–43%) were at paralog level. P. mirabilis gave only a 42.7% lacY hit, below the cutoff. Among the 30 Salmonella, Shigella and Proteus genomes, only Salmonella GCF_001831555.2 carried lac genes (lacZ 78.8%, lacY 86.8%, lacA 72.4%).

 

Table 2. Amino acid identity (%) to E. coli K-12 for hits at or above the 55% cutoff (mean, SD, range).

Species

Gene

n present (of 6)

Mean

SD

Range

E. coli

lacZ

6

98.8

1.1

97.8–99.8

E. coli

lacY

6

100.0

0.0

100.0–100.0

E. coli

lacA

6

98.8

1.4

97.5–100.0

K. pneumoniae

lacZ

6

78.3

20.1

59.9–96.7

K. pneumoniae

lacY

6

80.3

20.9

61.2–99.5

E. cloacae

lacZ

6

71.1

12.6

65.7–96.8

E. cloacae

lacY

5

67.1

18.0

58.9–99.3

S. enterica

lacZ, lacY, lacA

1

78.8, 86.8, 72.4

–

–

  1. pneumoniae and E. cloacae lacA (none present), and all S. flexneri and P. mirabilis genes, are omitted because no hit passed the cutoff.

 

3.3 Genomic context

In the three E. coli-like Klebsiella genomes, lacZ and lacY were adjacent (about 55 bp apart, same orientation) on contigs annotated as plasmids (pPMK1-A, p34618-207.543kb and plasmid II); the gap in K-12 is about 52 bp. The E. coli-like Enterobacter lacZY pair was adjacent on the chromosome. In none of these four genomes was lacA found next to lacZY. In Salmonella GCF_001831555.2, lacZ, lacY and lacA were consecutive on one chromosomal contig (gaps of 60 and 24 bp), forming a complete, divergent lacZYA cluster.

3.4 lacZ phylogeny

The 19 sequences were aligned over 3,098 columns, and 17 unique sequences entered the tree (model TIM3+F+G4). A clade supported at 100% contained the six E. coli, the three plasmid-borne Klebsiella sequences and the Enterobacter copy with E. coli-like lacZ (Figure 2). The Salmonella sequence was its sister lineage (100%). The three divergent Klebsiella copies formed one group (95%) and the five divergent Enterobacter copies another (100%), joined by a long internal branch. Supports on short within-clade branches ranged from 54% to 100% and are not shown in Figure 2 for legibility; the weaker ones (54–64%) were not interpreted. Because the tree is unrooted, ancestral relationships cannot be inferred.

Figure 2. Maximum-likelihood tree of 19 lacZ sequences. Numbers on branches are ultrafast bootstrap values, shown for branches longer than 0.02 substitutions per site (supports on shorter within-clade branches are in the supplementary tree file); the tree is unrooted and shown midpoint-rooted for display only. Plasmid-borne sequences are labeled and tip labels are colored by species.

3.5 Does lacZ similarity follow species?

Of 171 tip pairs, 45 were same-species. Mean patristic distance was 0.319 within species and 0.679 between species; the observed difference (−0.360) was larger than expected under random labels (permutation p = 0.0003, one-sided, 10,000 permutations). The pattern was uneven (Table 3, Figure 3). E. coli pairs were very close (mean 0.017), K. pneumoniae within-species pairs were almost as distant as between-species pairs (0.587 versus 0.679; maximum 0.978), and E. cloacae was intermediate (0.354). The K. pneumoniae and E. cloacae values are mixtures of near-zero distances between sequences of the same lacZ type and large distances between types (up to 0.98 and 0.83, with an intermediate cluster near 0.28 in E. cloacae), so the means alone understate the split. The smallest between-species distance was 0.002, which came from the plasmid-borne Klebsiella and E. coli-like Enterobacter sequences inside the E. coli clade.

Table 3. Patristic distances between lacZ sequences (substitutions per site).

Comparison

n pairs

Mean

Min

Max

Within E. coli

15

0.017

0.000

0.029

Within K. pneumoniae

15

0.587

0.000

0.978

Within E. cloacae

15

0.354

0.011

0.830

Between species (all)

126

0.679

0.002

1.073

Figure 3. (A) Pairwise lacZ patristic distances within species and between species; each dot is one tip pair and black bars are means. (B) Null distribution of the difference between mean within-species and between-species distance from 10,000 label permutations; the red line is the observed value.

For 17 of the 18 sequences from species with more than one sequence, the nearest neighbor was conspecific. The exception was E. cloacae GCF_002982195.1, whose nearest neighbor was a Klebsiella plasmid sequence at distance 0.002. This count understates the problem, because the three plasmid Klebsiella sequences are each other’s nearest neighbors and score as conspecific even though, as a group, they sit inside the E. coli clade. At clade level, 4 of the 10 sequences in the E. coli-like clade were not E. coli. The single Salmonella sequence could not be assessed.

3.6 In silico primer specificity

The selected primer pair (forward AGTCGTTTGCCGTCTGAATTTG, reverse CATCTGAACTTCAGCCTCCAGT; 246 bp) gave the results in Table 4 and Figure 4.

Table 4. In silico amplification of 36 genomes with E. coli as target (exact 95% confidence intervals).

Mismatches allowed

Sensitivity (of 6)

95% CI

Specificity (of 30)

95% CI

0

3/6 (50%)

11.8–88.2%

30/30 (100%)

88.4–100%

1

6/6 (100%)

54.1–100%

30/30 (100%)

88.4–100%

2

6/6 (100%)

54.1–100%

26/30 (86.7%)

69.3–96.2%

Figure 4. In silico sensitivity and specificity of the lacZ primer pair at 0, 1 and 2 mismatches, with exact 95% confidence intervals.

With an exact match, only the three E. coli with 99.8% lacZ identity to K-12 amplified; the other three (97.8%) needed one mismatch. The four non-E. coli amplifiers at two mismatches were the three plasmid-lacZ Klebsiella genomes and the Enterobacter genome with E. coli-like lacZ. Each amplifying genome gave a single amplicon. The lac-positive Salmonella did not amplify at any setting tested.

DISCUSSION

Gene content and the ebgA pitfall. lacZ and lacY tracked lactose-fermenting lineages, but the apparent presence of lacZ in S. flexneri was an artifact of the paralog ebgA, which shares detectable similarity with lacZ [8,9]. Any survey that counts “lacZ-like” hits at low identity can therefore overcount. The absence of lacZ in these S. flexneri genomes fits the classical use of lactose non-fermentation to separate Shigella, although lacZ presence is known to vary among Shigella and some strains carry it [2,5]. Plasmid-borne lacZY in Klebsiella. Lac plasmids were described in Klebsiella decades ago and proposed to derive from an E. coli-like operon [6]. Our result is consistent with this. Leonard et al. also tabulated Klebsiella plasmids carrying lacIZY, with lacA absent or truncated in several of them, and their list includes the plasmid accession FO834905, which is the one present in our genome GCF_000968155.1 [7]. This supports our observation of lacZY without a detectable adjacent lacA, which matters little for fermentation because lacA is not required for lactose use. Our data do not show how these plasmids spread; we can only say the sequences are close to E. coli lacZ and sit on plasmid contigs. An E. coli-like chromosomal lacZY in Enterobacter. One Enterobacter genome carried an E. coli-like lacZY pair on the chromosome. Integration of lac regions into the chromosome, often flanked by insertion sequences, has been described in lactose-fermenting Salmonella [7], so integration of a mobile lac region is plausible here. We did not examine flanking sequences, so this remains an observation rather than an explanation. A lac-positive Salmonella. One of six Salmonella genomes carried a complete, divergent lacZYA cluster. Lactose-fermenting S. enterica is uncommon in subspecies enterica but more frequent in other subspecies [7]. We did not determine the subspecies of this genome; doing so is a simple next check. Does lacZ follow species? lacZ similarity followed species only partly. Same-species pairs were closer than expected by chance (permutation p = 0.0003), driven largely by the tight E. coli group, but the test hides the exceptions that matter for identification: K. pneumoniae within-species distances approached between-species values, four of the ten sequences in the E. coli-like clade were not E. coli, and one E. cloacae sequence was nearly identical to a Klebsiella plasmid sequence. The permutation p-value should be read as a description of this sample, since pairwise distances are not independent and the genomes were not randomly drawn. Forensic implications. A lacZ-based result in this dataset identified an E. coli-like allele rather than the species: four genomes from two other genera carried it, and a lac-positive Salmonella would also score as lactose-fermenting by phenotype. In a casework setting, lactose fermentation or a lacZ PCR signal should therefore be treated as presumptive and confirmed with additional markers. Earlier work on water and food testing points the same way: lacZ targets detect a broad coliform group, and other targets such as uidA or yaiO have been proposed to give narrower specificity [2], while recent lacZ primer evaluation against a curated database found that existing primers differ in coverage [10]. Postmortem microbiology adds further uncertainty, because bacterial communities change after death and culture results must be interpreted with care [3,4]. Relevance to forensic practice. Three features of forensic casework make these results relevant, and each comes with a limit (Table 5). First, a lactose or lacZ result is a presumptive step, and our data show what it can support: the presence of an E. coli-like lac allele, not a species. Second, case samples are often mixed. When bacterial translocation is suspected after death, gut-derived Enterobacteriaceae such as Escherichia, Enterobacter and Klebsiella are among the organisms considered [23], so a lacZ signal from postmortem material could come from any of them, and plasmid-borne lacZY in Klebsiella adds to that ambiguity. A marker result alone could not distinguish infection, contamination or translocation, and would need to be read with autopsy and other case evidence. Third, forensic methods are expected to be validated for criteria such as sensitivity and specificity before casework use [24]. Our in silico screen, with confidence intervals, covers only a small early part of that process and says nothing about reproducibility, limit of detection or robustness on real samples. Table 5. How lac and lacZ results relate to forensic questions (conceptual summary, not a validated protocol). Scenario What a lac or lacZ result can show What it cannot show Suggested confirmatory step Presumptive identification of an isolate from a case sample A lactose-fermenting or lacZ-positive isolate with an E. coli-like lac allele That the isolate is E. coli: four non-E. coli genomes here carried E. coli-like lacZY Species-level confirmation, for example a second chromosomal target such as uidA or yaiO [2] or sequence-based identification Mixed-species sample (gut contents, contaminated water or food) At least one lac-positive organism is present Which organism carries lacZ; plasmid-borne lacZY in Klebsiella can confound the signal Isolate organisms first and test each, or use multi-target assays Lactose-negative or lacZ-negative result No E. coli-like lacZ detected That E. coli or close relatives are absent: lacZ-deleted strains were not represented, and S. flexneri lacked lacZ; low-identity ebgA hits can mislead sequence-based calls Targets that do not depend on the lac operon Postmortem culture or PCR from internal organs A lac-positive enteric bacterium was present Whether it reflects infection, contamination or postmortem translocation Interpret with autopsy findings and other case evidence; no conclusion from the marker alone Developing an assay for casework Early in silico estimates of sensitivity and specificity with confidence intervals Reproducibility, limit of detection, robustness and performance on real samples Developmental validation on reference panels and mock case samples [24] Primer behavior and statistical uncertainty. The pair designed on K-12 reached 100% sensitivity and specificity in this panel at one mismatch, but only 50% sensitivity at zero mismatches and 87% specificity at two. The confidence intervals show how little 36 genomes can establish. Six of six amplified genomes is compatible with a true sensitivity as low as 54%, and 30 of 30 with a specificity as low as 88%. The drop in specificity at two mismatches (26/30; 69–96%) is clearly lower than at one mismatch, but the intervals overlap, so even this difference is only suggestive. The sensitivity to tolerance is expected from a single-template design: three E. coli with 97.8% lacZ identity already diverged at the primer sites. A design based on a multi-sequence consensus, as in prior lacZ work [2,10], would likely be more robust across E. coli lineages, and pairing lacZ with a second target would address the plasmid false positives seen here. 5. Limitations • Small, non-diverse sample. Thirty-six genomes (six per species) were the first returned by NCBI, not a diversity-based sample; the E. coli set in particular may contain closely related strains. Results describe patterns, not frequencies. • In silico only. No wet-lab testing was done. SeqKit’s mismatch counts ignore mismatch position, annealing conditions and polymerase behavior. • Operational thresholds. The 55% identity cutoff and alignment-length filters were chosen by inspecting the data and were not tested against alternatives. “lacA absent” means no E. coli-like lacA above the cutoff, not proven absence. • Single best hit per genome. Multi-copy genes could be under-reported, although the two-copy case we found was resolved by the final sorting rule. • Genomic context. Plasmid classification relied on FASTA headers; flanking genes and mobile elements were not analyzed, and the subspecies of the lac-positive Salmonella was not determined.

RESULTS

3.1 Genome set

The 36 genomes ranged from 3.79 Mb (P. mirabilis) to 5.99 Mb (K. pneumoniae), within expected size ranges. Many assemblies included plasmids.

3.2 Detection of lac genes

Megablast detected lacZ in 15 of 36 genomes and missed divergent copies. Protein-level tblastn found a lacZ-sized hit (≥ 900 aa) in 25 genomes, of which 19 had ≥ 55% identities to K-12 LacZ and were called positive. The six remaining hits, all in S. flexneri, had only 33.9–34.4% identity. A search with K-12 EbgA matched all six S. flexneri genomes at 99.3–99.8% identity, so these hits were ebgA, and no S. flexneri genome carried a lacZ-like gene. Gene presence and per-genome identities are summarized in Table 1 and Figure 1.

Table 1. Genomes (of six per species) with each lac gene present (≥ 55% amino acid identity).

Species

lacZ

lacY

lacA

E. coli

6

6

6

K. pneumoniae

6

6

0

E. cloacae

6

5

0

S. enterica

1

1

1

S. flexneri

0

0

0

P. mirabilis

0

0

0

Figure 1. Amino acid identity to E. coli K-12 for lacZ, lacY and lacA in 36 genomes, grouped by species. Values in parentheses are below the 55% cutoff and were called absent; grey cells are no hit.

Within Klebsiella and Enterobacter, two levels of divergence were evident (Table 2). Three Klebsiella genomes and one Enterobacter genome (GCF_002982195.1) carried lacZ at 96.7–96.8% identity and lacY at 99.3–99.5%, while the other copies in these genera were far more divergent (lacZ 59.9–66.3%, lacY 58.9–61.2%). This mixture explains the large standard deviations for these genera in Table 2. One Enterobacter genome (GCF_004193715.1) had lacZ at 65.7% but no lacY above the cutoff (best hit 40.6%). lacA above the cutoff was found only in the six E. coli genomes (97.5–100%) and one Salmonella genome (72.4%); elsewhere the best lacA hits (40–43%) were at paralog level. P. mirabilis gave only a 42.7% lacY hit, below the cutoff. Among the 30 Salmonella, Shigella and Proteus genomes, only Salmonella GCF_001831555.2 carried lac genes (lacZ 78.8%, lacY 86.8%, lacA 72.4%).

 

Table 2. Amino acid identity (%) to E. coli K-12 for hits at or above the 55% cutoff (mean, SD, range).

Species

Gene

n present (of 6)

Mean

SD

Range

E. coli

lacZ

6

98.8

1.1

97.8–99.8

E. coli

lacY

6

100.0

0.0

100.0–100.0

E. coli

lacA

6

98.8

1.4

97.5–100.0

K. pneumoniae

lacZ

6

78.3

20.1

59.9–96.7

K. pneumoniae

lacY

6

80.3

20.9

61.2–99.5

E. cloacae

lacZ

6

71.1

12.6

65.7–96.8

E. cloacae

lacY

5

67.1

18.0

58.9–99.3

S. enterica

lacZ, lacY, lacA

1

78.8, 86.8, 72.4

–

–

  1. pneumoniae and E. cloacae lacA (none present), and all S. flexneri and P. mirabilis genes, are omitted because no hit passed the cutoff.

 

3.3 Genomic context

In the three E. coli-like Klebsiella genomes, lacZ and lacY were adjacent (about 55 bp apart, same orientation) on contigs annotated as plasmids (pPMK1-A, p34618-207.543kb and plasmid II); the gap in K-12 is about 52 bp. The E. coli-like Enterobacter lacZY pair was adjacent on the chromosome. In none of these four genomes was lacA found next to lacZY. In Salmonella GCF_001831555.2, lacZ, lacY and lacA were consecutive on one chromosomal contig (gaps of 60 and 24 bp), forming a complete, divergent lacZYA cluster.

3.4 lacZ phylogeny

The 19 sequences were aligned over 3,098 columns, and 17 unique sequences entered the tree (model TIM3+F+G4). A clade supported at 100% contained the six E. coli, the three plasmid-borne Klebsiella sequences and the Enterobacter copy with E. coli-like lacZ (Figure 2). The Salmonella sequence was its sister lineage (100%). The three divergent Klebsiella copies formed one group (95%) and the five divergent Enterobacter copies another (100%), joined by a long internal branch. Supports on short within-clade branches ranged from 54% to 100% and are not shown in Figure 2 for legibility; the weaker ones (54–64%) were not interpreted. Because the tree is unrooted, ancestral relationships cannot be inferred.

Figure 2. Maximum-likelihood tree of 19 lacZ sequences. Numbers on branches are ultrafast bootstrap values, shown for branches longer than 0.02 substitutions per site (supports on shorter within-clade branches are in the supplementary tree file); the tree is unrooted and shown midpoint-rooted for display only. Plasmid-borne sequences are labeled and tip labels are colored by species.

3.5 Does lacZ similarity follow species?

Of 171 tip pairs, 45 were same-species. Mean patristic distance was 0.319 within species and 0.679 between species; the observed difference (−0.360) was larger than expected under random labels (permutation p = 0.0003, one-sided, 10,000 permutations). The pattern was uneven (Table 3, Figure 3). E. coli pairs were very close (mean 0.017), K. pneumoniae within-species pairs were almost as distant as between-species pairs (0.587 versus 0.679; maximum 0.978), and E. cloacae was intermediate (0.354). The K. pneumoniae and E. cloacae values are mixtures of near-zero distances between sequences of the same lacZ type and large distances between types (up to 0.98 and 0.83, with an intermediate cluster near 0.28 in E. cloacae), so the means alone understate the split. The smallest between-species distance was 0.002, which came from the plasmid-borne Klebsiella and E. coli-like Enterobacter sequences inside the E. coli clade.

Table 3. Patristic distances between lacZ sequences (substitutions per site).

Comparison

n pairs

Mean

Min

Max

Within E. coli

15

0.017

0.000

0.029

Within K. pneumoniae

15

0.587

0.000

0.978

Within E. cloacae

15

0.354

0.011

0.830

Between species (all)

126

0.679

0.002

1.073

Figure 3. (A) Pairwise lacZ patristic distances within species and between species; each dot is one tip pair and black bars are means. (B) Null distribution of the difference between mean within-species and between-species distance from 10,000 label permutations; the red line is the observed value.

For 17 of the 18 sequences from species with more than one sequence, the nearest neighbor was conspecific. The exception was E. cloacae GCF_002982195.1, whose nearest neighbor was a Klebsiella plasmid sequence at distance 0.002. This count understates the problem, because the three plasmid Klebsiella sequences are each other’s nearest neighbors and score as conspecific even though, as a group, they sit inside the E. coli clade. At clade level, 4 of the 10 sequences in the E. coli-like clade were not E. coli. The single Salmonella sequence could not be assessed.

3.6 In silico primer specificity

The selected primer pair (forward AGTCGTTTGCCGTCTGAATTTG, reverse CATCTGAACTTCAGCCTCCAGT; 246 bp) gave the results in Table 4 and Figure 4.

Table 4. In silico amplification of 36 genomes with E. coli as target (exact 95% confidence intervals).

Mismatches allowed

Sensitivity (of 6)

95% CI

Specificity (of 30)

95% CI

0

3/6 (50%)

11.8–88.2%

30/30 (100%)

88.4–100%

1

6/6 (100%)

54.1–100%

30/30 (100%)

88.4–100%

2

6/6 (100%)

54.1–100%

26/30 (86.7%)

69.3–96.2%

Figure 4. In silico sensitivity and specificity of the lacZ primer pair at 0, 1 and 2 mismatches, with exact 95% confidence intervals.

With an exact match, only the three E. coli with 99.8% lacZ identity to K-12 amplified; the other three (97.8%) needed one mismatch. The four non-E. coli amplifiers at two mismatches were the three plasmid-lacZ Klebsiella genomes and the Enterobacter genome with E. coli-like lacZ. Each amplifying genome gave a single amplicon. The lac-positive Salmonella did not amplify at any setting tested.

DISCUSSION

Gene content and the ebgA pitfall. lacZ and lacY tracked lactose-fermenting lineages, but the apparent presence of lacZ in S. flexneri was an artifact of the paralog ebgA, which shares detectable similarity with lacZ [8,9]. Any survey that counts “lacZ-like” hits at low identity can therefore overcount. The absence of lacZ in these S. flexneri genomes fits the classical use of lactose non-fermentation to separate Shigella, although lacZ presence is known to vary among Shigella and some strains carry it [2,5]. Plasmid-borne lacZY in Klebsiella. Lac plasmids were described in Klebsiella decades ago and proposed to derive from an E. coli-like operon [6]. Our result is consistent with this. Leonard et al. also tabulated Klebsiella plasmids carrying lacIZY, with lacA absent or truncated in several of them, and their list includes the plasmid accession FO834905, which is the one present in our genome GCF_000968155.1 [7]. This supports our observation of lacZY without a detectable adjacent lacA, which matters little for fermentation because lacA is not required for lactose use. Our data do not show how these plasmids spread; we can only say the sequences are close to E. coli lacZ and sit on plasmid contigs. An E. coli-like chromosomal lacZY in Enterobacter. One Enterobacter genome carried an E. coli-like lacZY pair on the chromosome. Integration of lac regions into the chromosome, often flanked by insertion sequences, has been described in lactose-fermenting Salmonella [7], so integration of a mobile lac region is plausible here. We did not examine flanking sequences, so this remains an observation rather than an explanation. A lac-positive Salmonella. One of six Salmonella genomes carried a complete, divergent lacZYA cluster. Lactose-fermenting S. enterica is uncommon in subspecies enterica but more frequent in other subspecies [7]. We did not determine the subspecies of this genome; doing so is a simple next check. Does lacZ follow species? lacZ similarity followed species only partly. Same-species pairs were closer than expected by chance (permutation p = 0.0003), driven largely by the tight E. coli group, but the test hides the exceptions that matter for identification: K. pneumoniae within-species distances approached between-species values, four of the ten sequences in the E. coli-like clade were not E. coli, and one E. cloacae sequence was nearly identical to a Klebsiella plasmid sequence. The permutation p-value should be read as a description of this sample, since pairwise distances are not independent and the genomes were not randomly drawn. Forensic implications. A lacZ-based result in this dataset identified an E. coli-like allele rather than the species: four genomes from two other genera carried it, and a lac-positive Salmonella would also score as lactose-fermenting by phenotype. In a casework setting, lactose fermentation or a lacZ PCR signal should therefore be treated as presumptive and confirmed with additional markers. Earlier work on water and food testing points the same way: lacZ targets detect a broad coliform group, and other targets such as uidA or yaiO have been proposed to give narrower specificity [2], while recent lacZ primer evaluation against a curated database found that existing primers differ in coverage [10]. Postmortem microbiology adds further uncertainty, because bacterial communities change after death and culture results must be interpreted with care [3,4]. Relevance to forensic practice. Three features of forensic casework make these results relevant, and each comes with a limit (Table 5). First, a lactose or lacZ result is a presumptive step, and our data show what it can support: the presence of an E. coli-like lac allele, not a species. Second, case samples are often mixed. When bacterial translocation is suspected after death, gut-derived Enterobacteriaceae such as Escherichia, Enterobacter and Klebsiella are among the organisms considered [23], so a lacZ signal from postmortem material could come from any of them, and plasmid-borne lacZY in Klebsiella adds to that ambiguity. A marker result alone could not distinguish infection, contamination or translocation, and would need to be read with autopsy and other case evidence. Third, forensic methods are expected to be validated for criteria such as sensitivity and specificity before casework use [24]. Our in silico screen, with confidence intervals, covers only a small early part of that process and says nothing about reproducibility, limit of detection or robustness on real samples. Table 5. How lac and lacZ results relate to forensic questions (conceptual summary, not a validated protocol). Scenario What a lac or lacZ result can show What it cannot show Suggested confirmatory step Presumptive identification of an isolate from a case sample A lactose-fermenting or lacZ-positive isolate with an E. coli-like lac allele That the isolate is E. coli: four non-E. coli genomes here carried E. coli-like lacZY Species-level confirmation, for example a second chromosomal target such as uidA or yaiO [2] or sequence-based identification Mixed-species sample (gut contents, contaminated water or food) At least one lac-positive organism is present Which organism carries lacZ; plasmid-borne lacZY in Klebsiella can confound the signal Isolate organisms first and test each, or use multi-target assays Lactose-negative or lacZ-negative result No E. coli-like lacZ detected That E. coli or close relatives are absent: lacZ-deleted strains were not represented, and S. flexneri lacked lacZ; low-identity ebgA hits can mislead sequence-based calls Targets that do not depend on the lac operon Postmortem culture or PCR from internal organs A lac-positive enteric bacterium was present Whether it reflects infection, contamination or postmortem translocation Interpret with autopsy findings and other case evidence; no conclusion from the marker alone Developing an assay for casework Early in silico estimates of sensitivity and specificity with confidence intervals Reproducibility, limit of detection, robustness and performance on real samples Developmental validation on reference panels and mock case samples [24] Primer behavior and statistical uncertainty. The pair designed on K-12 reached 100% sensitivity and specificity in this panel at one mismatch, but only 50% sensitivity at zero mismatches and 87% specificity at two. The confidence intervals show how little 36 genomes can establish. Six of six amplified genomes is compatible with a true sensitivity as low as 54%, and 30 of 30 with a specificity as low as 88%. The drop in specificity at two mismatches (26/30; 69–96%) is clearly lower than at one mismatch, but the intervals overlap, so even this difference is only suggestive. The sensitivity to tolerance is expected from a single-template design: three E. coli with 97.8% lacZ identity already diverged at the primer sites. A design based on a multi-sequence consensus, as in prior lacZ work [2,10], would likely be more robust across E. coli lineages, and pairing lacZ with a second target would address the plasmid false positives seen here. 5. Limitations • Small, non-diverse sample. Thirty-six genomes (six per species) were the first returned by NCBI, not a diversity-based sample; the E. coli set in particular may contain closely related strains. Results describe patterns, not frequencies. • In silico only. No wet-lab testing was done. SeqKit’s mismatch counts ignore mismatch position, annealing conditions and polymerase behavior. • Operational thresholds. The 55% identity cutoff and alignment-length filters were chosen by inspecting the data and were not tested against alternatives. “lacA absent” means no E. coli-like lacA above the cutoff, not proven absence. • Single best hit per genome. Multi-copy genes could be under-reported, although the two-copy case we found was resolved by the final sorting rule. • Genomic context. Plasmid classification relied on FASTA headers; flanking genes and mobile elements were not analyzed, and the subspecies of the lac-positive Salmonella was not determined.

CONCLUSION

In six forensically relevant enteric species, lacZ similarity only partly followed species. Shigella flexneri lacked lacZ (the apparent hits were ebgA), three Klebsiella genomes carried E. coli-like lacZY on plasmids, and one Enterobacter genome carried it on the chromosome. A K-12-based lacZ primer pair separated E. coli perfectly at one mismatch in this panel, but its apparent performance changed markedly with mismatch tolerance, and the confidence intervals are wide. Lactose-based or lacZ-based identification should therefore be treated as presumptive in forensic work. Larger, diversity-sampled genome sets, consensus primer design, a second discriminating target and wet-lab validation are the logical next steps.

Declarations

Ethics: No human or animal subjects were involved.

REFERENCES
1. Jacob F, Monod J. Genetic regulatory mechanisms in the synthesis of proteins. J Mol Biol. 1961;3:318–356. 2. Molina F, López-Acedo E, Tabla R, Roa I, Gómez A, Rebollo JE. Improved detection of Escherichia coli and coliform bacteria by multiplex PCR. BMC Biotechnol. 2015;15:48. doi:10.1186/s12896-015-0168-2 3. Javan GT, Finley SJ, Abidin Z, Mulle JG. The thanatomicrobiome: a missing piece of the microbial puzzle of death. Front Microbiol. 2016;7:225. doi:10.3389/fmicb.2016.00225 4. Zhou W, Bian Y. Thanatomicrobiome composition profiling as a tool for forensic investigation. Forensic Sci Res. 2018;3(2):105–110. doi:10.1080/20961790.2018.1466430 5. Pupo GM, Lan R, Reeves PR. Multiple independent origins of Shigella clones of Escherichia coli and convergent evolution of many of their characteristics. Proc Natl Acad Sci USA. 2000;97(19):10567–10572. doi:10.1073/pnas.180094797 6. Reeve ECR, Braithwaite JA. Lac+ plasmids are responsible for the strong lactose-positive phenotype found in many strains of Klebsiella species. Genet Res. 1973;22:329–333. 7. Leonard SR, Lacher DW, Lampel KA. Acquisition of the lac operon by Salmonella enterica. BMC Microbiol. 2015. doi:10.1186/s12866-015-0511-8 8. Stokes HW, Betts PW, Hall BG. Sequence of the ebgA gene of Escherichia coli: comparison with the lacZ gene. Mol Biol Evol. 1985;2(6):469–477. 9. Hall BG. The EBG system of E. coli: origin and evolution of a novel β-galactosidase for the metabolism of lactose. Genetica. 2003;118(2–3):143–156. 10. Thom C, Ijaz UZ, Moore G, Weir P, Smith CJ. Evaluation of existing lacZ primers and de novo design of an optimized qPCR assay to quantify coliform bacteria in drinking water. J Appl Microbiol. 2025;136(7):lxaf156. doi:10.1093/jambio/lxaf156 11. O’Leary NA, Cox E, Holmes JB, et al. Exploring and retrieving sequence and metadata for species across the tree of life with NCBI Datasets. Sci Data. 2024;11:732. doi:10.1038/s41597-024-03571-y 12. Camacho C, Coulouris G, Avagyan V, et al. BLAST+: architecture and applications. BMC Bioinformatics. 2009;10:421. doi:10.1186/1471-2105-10-421 13. Shen W, Le S, Li Y, Hu F. SeqKit: a cross-platform and ultrafast toolkit for FASTA/Q file manipulation. PLoS ONE. 2016;11(10):e0163962. doi:10.1371/journal.pone.0163962 14. Shen W, Sipos B, Zhao L. SeqKit2: a Swiss Army knife for sequence and alignment processing. iMeta. 2024;e191. doi:10.1002/imt2.191 15. Katoh K, Standley DM. MAFFT multiple sequence alignment software version 7: improvements in performance and usability. Mol Biol Evol. 2013;30(4):772–780. doi:10.1093/molbev/mst010 16. Minh BQ, Schmidt HA, Chernomor O, et al. IQ-TREE 2: new models and efficient methods for phylogenetic inference in the genomic era. Mol Biol Evol. 2020;37(5):1530–1534. doi:10.1093/molbev/msaa015 17. Kalyaanamoorthy S, Minh BQ, Wong TKF, von Haeseler A, Jermiin LS. ModelFinder: fast model selection for accurate phylogenetic estimates. Nat Methods. 2017;14:587–589. doi:10.1038/nmeth.4285 18. Hoang DT, Chernomor O, von Haeseler A, Minh BQ, Vinh LS. UFBoot2: improving the ultrafast bootstrap approximation. Mol Biol Evol. 2018;35(2):518–522. doi:10.1093/molbev/msx281 19. Untergasser A, Cutcutache I, Koressaar T, et al. Primer3: new capabilities and interfaces. Nucleic Acids Res. 2012;40(15):e115. doi:10.1093/nar/gks596 20. Clopper CJ, Pearson ES. The use of confidence or fiducial limits illustrated in the case of the binomial. Biometrika. 1934;26(4):404–413. 21. Virtanen P, Gommers R, Oliphant TE, et al. SciPy 1.0: fundamental algorithms for scientific computing in Python. Nat Methods. 2020;17(3):261–272. doi:10.1038/s41592-019-0686-2 22. Cock PJA, Antao T, Chang JT, et al. Biopython: freely available Python tools for computational molecular biology and bioinformatics. Bioinformatics. 2009;25(11):1422–1423. doi:10.1093/bioinformatics/btp163 23. Diac I, Keresztesi A-A, Cerghizan A-M, Negrea M, Dogăroiu C. Postmortem bacteriology in forensic autopsies—a single center retrospective study in Romania. Diagnostics. 2022;12(8):2024. doi:10.3390/diagnostics12082024 24. Budowle B, Schutzer SE, Morse SA, et al. Criteria for validation of methods in microbial forensics. Appl Environ Microbiol. 2008;74(18):5599–5607. doi:10.1128/AEM.00966-08
Recommended Articles
Research Article
Association between Helicobacter Pylori Infection and Non-Alcoholic Fatty Liver Disease in Tertiary Care Hospital.
...
Published: 28/10/2026
Research Article
Anatomical Variations of Renal Vessels: Impact on Surgical Outcomes in PUJ Obstruction.
Published: 01/12/2026
Research Article
Clinical Presentation, Laboratory Findings, and Forensic Assessment of Acute Drug Poisoning: A Hospital-Based Study
...
Published: 01/12/2026
Research Article
Predictive Value of Preoperative Mri Features for Pelvic Adhesions and Cul-De-Sac Obliteration in Patients with Ovarian Endometriomas: Correlation with Laparoscopic Findings
...
Published: 30/11/2026
Chat on WhatsApp
© Copyright CME Journal Geriatric Medicine