Abstract
Background
Bacterial transcription termination is a critical yet underexplored layer of gene regulation in microbial ecosystems. Existing computational tools, however, primarily focus on predicting transcript 3′ ends generated by Rho-independent terminators (RITs) in a few model species, leaving gaps in understanding those generated by Rho-dependent terminators (RDTs) and their diversity across Bacteria.
Results
We developed BATTER (Bacteria Transcript Three Prime End Recognizer), a deep learning-based framework for predicting bacterial transcript 3′ termini. BATTER leverages the observation that conserved stem-loop structures are frequently associated with 3′ ends of primary transcripts terminated by both RIT and RDT mechanisms across diverse bacterial clades. Compared with existing approaches, BATTER demonstrated superior performance and scalability, enabling a comprehensive analysis of 42,905 representative bacterial genomes. This large-scale application revealed that stem-loop structures exhibit clade-specific properties with greater variations between species than between gene families. Notably, BATTER uncovered that certain Cyanobacteria lineages, despite lacking rho homologs, harbor Rho utilization (RUT)-like sequences near 3′ ends, and preliminary experimental validation in E. coli supports their partial functionality in transcription termination. Additionally, BATTER systematically identified pervasive premature termination events in antimicrobial resistance (AMR) genes.
Conclusions
BATTER enables large-scale comparative genomic analyses of transcription termination, providing a powerful framework to investigate termination-associated transcriptional regulation in microbial communities. The BATTER tool is available at https://github.com/xu-research-lab/BATTER.
Video Abstract
Supplementary Information
The online version contains supplementary material available at https://doi.org/10.1186/s40168-026-02454-1.
Keywords: Bacterial terminator, Transcription termination, Transcription unit prediction
Introduction
Bacterial transcription terminators are RNA elements that dissociate RNA polymerase complexes and induce transcription termination. Appropriate transcription termination avoids unnecessary or harmful downstream costs by promoting efficient recycling of RNA polymerase [1], defining the correct transcript 3′ boundary [2, 3], and preventing harmful read-through [2]. It supports fine-tuning of operons and transcriptional units [4], and in some cases, the terminated RNAs function as regulatory RNAs [5]. In Escherichia coli, 3767 transcription units [6] require transcription terminations to be properly expressed. Transcription terminators are traditionally classified into two categories: Rho-independent terminators (RITs) and Rho-dependent terminators (RDTs) [3, 7]. In model species Escherichia coli and Bacillus subtilis, RITs are GC-rich RNA hairpins followed by a stretch of uracils. RDTs typically contain a ~ 60 nt subsequence called Rho utilization (RUT) sites, which are the primary binding sites of the Rho protein [8]. RUT sites are rich in YC (a pyrimidine followed by a cytosine) dimers that are regularly spaced by distances of around 10 nt. They are also characterized by features such as high C/G ratios (referred to as C > G “bubbles” [8]) and depletion of secondary structures [3].
RDTs were reported to account for 20–30% of the primary transcription termination events in E. coli [2], but play a less important role in B. subtilis [9]. Computational prediction algorithms that search for known RIT motifs have been established in E. coli and B. subtilis [10–12], yet predicting RDTs remains challenging. This difficulty arises because the known sequence patterns of RDTs are less compact and distinct than those of RITs, even in well-studied model organisms [3, 8, 13]. Available tools that seek known motifs predict a paucity of RITs in some bacterial species [10, 12], raising questions as to whether these species mainly use Rho-dependent mechanisms or their RITs have alternative sequence patterns. This gap in computational predictions poses a significant challenge for studying transcription termination mechanisms across bacterial lineages, especially in metagenomic datasets where diverse bacterial species are often present. Accurate terminator prediction is essential for understanding gene regulation and community dynamics in these complex microbial environments. Limitations in current computational methods thus present a major barrier to comparative analyses of transcription terminators across diverse bacterial clades, impeding insights into transcriptional regulation in diverse microbial communities.
Recently, several high-throughput 3′ ends mapping experimental techniques, such as term-seq [14], Rend-Seq [4], and SEnd-seq [15] were developed. These techniques detect 3′ ends of RNAs, regardless of whether the transcripts employ RITs or RDTs for transcription termination. Several more recent studies, such as BacTermFinder [16] and termNN [17], leverage 3′ ends mapping data to train deep learning models to predict transcription termination. Such a data-driven approach mitigates the bias toward known motifs and makes it feasible to detect RDTs. However, the limited volume and phylogenetic coverage of available 3′ ends mapping data constrained their generalizability across phylogenetically diverse species.
Although a 3′ ends mapping experiment alone cannot determine whether a transcript end is generated by RIT or RDT mechanism, the rough classification can be achieved by evaluating changes in RNA-seq coverage flanking detected transcript 3′ ends upon inactivation of Rho protein by gene knockout [18], inducible protein depletion [19] or the small molecule inhibitor BCM (bicyclomycin) [20, 21].
Available term-seq data suggested stem loop structures are pervasively associated with transcript 3′ ends in bacterial species belonging to Proteobacteria, Firmicutes, Actinobacteria, Spirochaetota, and Cyanobacteria lineages [4, 21–30]. While RUT sites are thought to be depleted of RNA secondary structure [3, 7], based on 3′ end mapping techniques, it was reported that in E. coli, transcript ends generated by the Rho-dependent mechanism can fold into stem loop structures reminiscent of those in RITs with comparable folding energies, but typically lack the U-rich tracts [2]. In 3′ end mapping data of Streptomyces lividans TK24, stem loop structures are also frequently observed in 3′ ends that are not associated with U-rich sequences [27]. A possible explanation for this apparent discrepancy is that, for transcripts terminated by RDTs, 3′ ends are rapidly degraded by intracellular exoribonuclease such as PNPase after transcription termination, until reaching the stem loop structures which prevent further degradation [2, 31].
The stem loop structures are crucial for maintaining transcript integrity; as a result, for functional transcripts, a 3′ end-associated stem loop should be positively selected in evolution [2]. If this property is broadly conserved in Bacteria, as a stem loop structure is a stronger feature compared to sequence patterns of RUT sites, this observation can be leveraged for comprehensive prediction of transcript 3′ ends in diverse bacterial lineages, regardless of Rho factor dependency.
The steady-state 3′ ends do not correspond to real transcription termination sites [32]; and it is worth noting that in addition to terminating transcription at the end of transcription units, an important function of Rho protein is suppressing pervasive transcription. The distribution of RUT sites is not restricted to the ends of transcription units, but pervasive across the genome, especially in antisense of CDSs [8, 33]. These pervasive transcription products are not as stable as primary transcripts and often elude detection of term-seq [34]. However, for applications like operon prediction and noncoding RNA (ncRNA) prediction, predicting stable 3′ ends of primary transcripts is sufficient.
The termination events that directly define the 3′ boundary of the functional transcript can be collectively referred to as “primary” terminations; in contrast, regulatory termination events that do not generate functional transcripts can be defined as “non-primary” terminations. In this study, through term-seq data analysis, we validated that at least for primary terminations, 3′ ends generated by both RITs and RDTs are frequently associated with conserved stem loop structures in diverse bacterial species. Based on this observation, exploiting advancements in both experimental data and computational techniques, we present BATTER, a computational tool for bacterial transcription termination analysis. BATTER is composed of two modules: a machine learning model based on BERT-CRF architecture for predicting steady-state RNA 3′ ends (BATTER-TPE, Three Prime End) and an accessory rule-based algorithm for detecting putative RUT sites (BATTER-RUT). Systematic evaluation on diverse metrics suggested BATTER outperformed existing tools for both 3′ ends detection and RUT sites prediction.
Using BATTER, we comprehensively predicted transcript 3′ ends and putative RUT sites near the predicted 3′ ends in representative bacterial genomes. We characterized the variations of these conserved stem loops across diverse bacterial lineages and evaluated their coevolution with the presence of Rho proteins and putative RUT sites. Our analysis suggests the prevalence of RDT and RIT is negatively correlated in different species. Unexpectedly, we also detected RUT sites-like signatures in Cyanobacteria species, which lack Rho homologs. This signature is correlated with more recently evolved traits. Preliminary experimental analysis suggested some of these RUT site-like sequences are capable of inducing transcription terminations in E. coli. As another application, by predicting premature terminations of known antimicrobial resistance (AMR) genes, we systematically identified premature termination-based regulations and related ncRNAs. Our analysis suggests that such regulations are pervasive in AMR genes related to translation protection and drug efflux.
Materials and methods
Curation of experimentally supported 3′ ends
The known transcript 3′ ends with experimental supports used in this work were curated from previous studies (Table S1). The transcript 3′ ends of the meta-term-seq dataset [14], which are not provided by the original publication, were identified by a customized pipeline. In brief, meta-term-seq reads (ERR1248504, ERR1248505) and RNA-seq reads (ERR1248506, ERR1248507) of two human oral metagenome samples were downloaded from PRJEB12568. Metaphlan2 [35] with default parameters was used for species profiling; species with abundance > 1% in at least one sample (either RNA-seq or term-seq) were considered for downstream analysis. Term-seq reads were then mapped to corresponding reference genomes downloaded from GenBank (Table S2). Coverage of the captured 3′ ends was summarized with a customized script based on GenomicArray class in HTSeq [36]. Local max positions (positions with coverage higher than both upstream side and downstream side) within 50-nt windows covered by at least 6 reads are considered as 3′ ends with experimental support.
Identification of Rho-dependent regions
The RNA-seq reads of E. coli (GSE41939), B. subtilis (GSE195579), and Borrelia burgdorferi (GSE222085) were mapped to the corresponding reference genomes (Table S3) with Bowtie2 [37] using the default parameters. For Mycobacterium tuberculosis data (E-MTAB-11753), bam files with the prefix rnaseq_rhoDUC_6h and rnaseq_rhoDUC_0h were downloaded from http://ftp.ebi.ac.uk/biostudies/fire/E-MTAB-/753/E-MTAB-11753/Files. The identification of Rho-dependent regions was implemented using a customized python script. In brief, using a stride of 50 nt, for each considered genome location, the numbers of RNA-seq fragments assigned within the upstream 200 nt (U200) and the downstream 200 nt (D200) were summarized, replicates were combined by summation, and the ratio D200/U200 measures the level of read-through at this location. Single-sided Fisher’s exact test was used to evaluate whether the read-through level in Rho protein inhibition group was greater than the control group. For B. subtilis, data from wild type (WT) and Rho knockout strains in the exponential growth stage were considered. For M. tuberculosis, samples at 6 h after Rho protein depletion were used. Regions with odds ratio > 3 and P-value < 0.001 were classified as Rho-dependent regions, those with odds ratio < 1 were classified as Rho-independent regions, and the remaining ones were classified as “others”. 3′ ends that overlap with Rho-dependent regions, Rho-independent regions, and “others” are categorized as RDT, RIT, and unclassified, respectively. The folding energy of upstream 45 nt, and downstream 5 nt sequences flanking annotated 3′ ends were evaluated with RNAfold utility in ViennaRNA package [38].
Implementation and benchmarking of the BATTER algorithm
See Supplementary Information for details of the implementation.
Calculation of Rho dependency scores
To quantify the contribution of Rho-dependent termination, for BATTER-TPE predicted primary transcript 3′ ends at an FPR cutoff of 0.1/KB, the upstream 100 nt and downstream 300 nt sequences are extracted and scanned by BATTER-RUT with default parameters. For each 3′ end, the best-scoring RUT site is extracted. If no RUT site is predicted, a score of zero is assigned. The average score across all primary 3′ ends was utilized as a measure of Rho dependency.
Cyanobacteria traits analysis
For Cyanobacteria traits analysis, the trait data were curated based on several previous studies [39–41]. Cyanobacteria genomes with psaA2, psaB2, and psbA4 gene orthologs were annotated as FaRLiP, and genomes with apcD4, apcB3, and isiX gene orthologs were annotated as LoLiP. Species with complete genomes were considered. The species tree is built with FastTree [42] using multiple sequence alignment of 120 universal marker genes defined by GTDB-Tk [43].
Fluorescence reporter assay
All cloning was performed in E. coli DH5α strain. Transformed cells were cultured in LB medium and on 1.5% (w/v) LB agar plates supplemented with 15 μg/mL chloramphenicol as required. Sequences encoding sfGFP, the rrnB T1 terminator, and mCherry were assembled into a vector backbone containing the replication origin of pSC101 to yield recombinant plasmid pXG10SFM.
To generate the negative control plasmid pXG10SFM0, the rrnB T1 terminator of pXG10SFM was replaced with a 96-bp region from the lacI coding sequence. The predicted RUT-like sequences within the nitrogen-fixation gene cluster in the cyanobacterium Nostoc sp. PCC 7120 and FaRLiP and LoLiP gene clusters in Chlorogloeopsis fritschii PCC 6912 were amplified by PCR using synthesized oligonucleotide primers, and assembled into the pXG10SFM vector digested with XhoI and KpnI (Thermo Fisher Scientific), followed by transformation into E. coli DH5α. Transformants were verified by colony PCR and DNA sequencing. The recombinant plasmids and primers used in this study are listed in Table S4 and Table S5.
To measure fluorescence in E. coli, transformants were first inoculated into 1 mL LB medium supplemented with 15 μg/mL chloramphenicol in 24-well plates and grown overnight at 37 °C with constant shaking at 200 rpm. Cells were washed and resuspended in PBS buffer (10 mM Na2HPO4, 1.8 mM KH₂PO₄, 137 mM NaCl, 2.7 mM KCl, pH = 7.4). To initiate the assay, samples were diluted 1:10 into a 96-well Black/Clear bottom microplate to a final volume of 200 μL. Culture density (OD600) and fluorescence were measured by a multi-mode microplate reader Cytation3 (BioTek). Fluorescence intensities of sfGFP and mCherry were read at excitation/emission wavelengths 488 nm/515 nm and 579 nm/616 nm, respectively.
Scanning premature terminators of AMR genes
AMR genes in GEMs’ representative genomes were annotated with AMRfinder [44]. 800 nt sequences (upstream 400 nt and downstream 400 nt) flanking start codons of detected AMR genes are subjected to terminator scanning. Predicted terminators located within the upstream 128 nt and downstream 16 nt of start codons are retained. These upstream 128 nt and downstream 16 nt terminator-containing sequences were grouped by AMR families and searched for conserved motifs with CMfinder [45]. The secondary structural covariations of resulting motifs were evaluated with R-scape [46].
Results
A conserved stem loop is associated with the transcript 3′ end regardless of the factor dependency
To inspect the secondary structures of detected 3′ ends, we curated available 3′ ends annotations determined by term-seq, and RNA-seq data with and without Rho inhibition from 4 phylogenetically diverse species (belonging to 4 distinct phyla), including Escherichia coli [2, 20], Bacillus subtilis [18, 31], Borrelia burgdorferi [21], and Mycobacterium tuberculosis [19] (Table S1, Table S3). It has been reported RNA-seq is more effective in identifying Rho-dependent regions compared to term-seq, as term-seq tends to detect steady-state 3′ ends instead of RUT sites [34]. Using RNA-seq data, the detected 3′ ends were classified as RIT or RDT according to changes in read-through upon Rho inhibition (see the “Materials and methods” section). The distances between the 3′ ends defined by term-seq and their closest upstream stop codon peaked at around 50 nt (Fig. S1A). 76.5% and 82.9% 3′ ends have distances less than 100 nt and 150 nt, respectively, and a cutoff of 128 nt should cover the majority of primary transcription termination events. For this reason, here we define “primary” termination sites as transcript 3′ ends located within 128 nt downstream of the CDSs. In all four species, 3′ ends detected by term-seq exhibit lower folding energies compared to the genomic background, particularly at primary termination sites. Notably, the folding energies of primary 3′ ends assigned to RDTs and those assigned to RITs are similar (Fig. 1A).
Fig. 1.

A conserved stem loop is associated with transcript 3′ end regardless of the Rho factor dependency. A Z scores of average folding energy in 4 distantly related species, stratified by Rho factor dependency (RITs and RDTs) and genomic context (primary 3′ ends, non-primary 3′ ends, and background). B RNA-seq coverage near the 3′ end of E. coli talB under BCM treatment (BCM + rep 1, BCM + rep 2) and control (BCM- rep 1, BCM- rep 2) conditions. Local C/G ratio and density of YC dimers are also shown. C Multiple sequence alignment (MSA) of the conserved stem loop structure in downstream sequences of talB gene in the Enterobacteriaceae family. For each genus, sequences from 3 representative species are shown. In the right panel, for all species of each genus in GEMs representative genomes, G ratios and C ratios (labeled in red and orange, respectively) of 101 nt sequences centered at each nucleotide from 128 nt upstream to 128 nt downstream relative to ends of the stem loops are shown D. Secondary structure covariation of the identified stem loop. Base pairs with R-scape E value < 0.05 are labeled in green, and nucleotides with sequence identity > 97% and > 90% are labeled in red and black, respectively. R indicates purine, Y indicates pyrimidine. E Correlation between maximum lengths of consecutive uracils (Us) and C/G ratio within 128 nt sequences flanking ends of the stem loops downstream talB in all considered Enterobacteriaceae genomes. F Schematic illustration of common and distinctive features of RITs and RDTs. For RITs, term-seq sites indicate the location of terminator stem loops, while for RDTs, term-seq sites indicate stem loops upstream of real termination sites. Both RITs and RDTs are characterized by stem loops flanked by particular sequence contexts
As an example, using data from a previous study [20], the RNA-seq read coverages near 3′ end of E. coli talB gene were illustrated (Fig. 1B). Upon BCM treatment, talB has a higher level of transcription read-through. The presence of regularly spaced YC dimers and a high C/G ratio confirmed that the Rho-dependent mechanism is involved. There is a stem loop structure immediately upstream of its 3′ end. To analyze the conservation of the stem loop, we identified homologs of talB gene within taxa Enterobacteriaceae in representative genomes of GEMs (Genomic catalog of Earth’s Microbiomes) dataset [47] and searched conserved hairpins near stop codons (upstream 16 nt and downstream 128 nt) with CMfinder [45]. As shown in Fig. 1C, species within Escherichia, as well as Citrobacter, Leclercia, Enterobacter, and Pseudescherichia, exhibit RDT-like properties, including the presence of C > G bubbles and the absence of U-rich tracts, while in Serratia, Yersinia, and Pectobacterium species, the homolog transcripts are ended with a typical RIT-like motif, characterized by a stretch of uracils (Us) and lacking a C > G bubble in downstream sequences. R-scape [46] analysis revealed strong covariation of the predicted base pairing (Fig. 1D). We also observed a significant negative correlation between the maximum length of U runs near the stem loops and the C/G ratio within 100 nt upstream and 100 nt downstream flanking sequences (Fig. 1E, Pearson R = −0.51, P-value = 1.109 × 10–19). These results suggested the hairpin is structurally conserved in all homolog transcripts, despite the apparent differences in Rho factor dependency. talB is not a special case, and similar phenomena are observed in other genes; 3 of such genes were exemplified in Fig. S1B–C.
Taken together, primary transcription terminations conducted by both RIT and RDT are characterized by conserved stem loops, and the stem loop structures can be more conserved than Rho factor dependency. This feature is likely to be conserved in diverse bacterial lineages. Thus, it is possible to predict transcript 3′ ends generated by both RITs and RDTs in a common framework, that is, predicting stem loop structures embedded in certain sequence contexts (Fig. 1F).
Models for transcript 3′ ends and RUT sites prediction
We collected transcript 3′ ends defined by published genome-wide studies [4, 21–30] (Table S1). Naively training models on experimentally verified 3′ ends presented several challenges, including phylogeny distribution bias (Fig. S2B), limited sample size, and variations due to different experimental settings. Based on the conservation of primary 3′ ends associated stem loop structures, we developed a data augmentation pipeline (Fig. S2A) and generated ~ 2.5 million putative 3′ ends associated stem loop instances (Fig. S2C).
Then we trained a BERT-CRF model called BATTER-TPE, for bacterial transcript 3′ ends prediction (Fig. 2A). In brief, a longformer-based model that takes nucleotide sequences up to 512 nt as input was pre-trained on bacterial genomes with a masked language modeling objective; a conditional random field (CRF) layer was subsequently appended, and the model was jointly fine-tuned on the stem loop instances (Fig. 2B).
Fig. 2.

The architecture, training and inference of BATTER. A The model architecture of BERT-CRF for terminator prediction. The model is composed of a longformer encoder, a dense layer for classification, and a CRF layer. The logits predicted by longformer model are post-processed by a CRF layer to make the final prediction. For predicted intervals, the average of probabilities by nucleotide (predicted by the classification layer) across the interval is utilized as a confidence measure. B The model training pipeline. The longformer encoder is pre-trained on bacteria genomic sequences sampled from GEMs bacteria genomes with MLM loss in an unsupervised manner. The encoder parameters, together with parameters of the appended classification layer and CRF layer, are jointly fine-tuned to predict transcription terminators. C BATTER-RUT as a post-processing module for 3′ ends predicted by BATTER-TPE
While BATTER-TPE predicts the 3′ ends of primary transcripts, it cannot locate potential RUT sites around these 3′ ends. To address this, we also developed a rule-based post-processing module, BATTER-RUT, which identifies putative Rho binding sites by searching YC dimers with optimal spacing (Fig. S3). BATTER-TPE and BATTER-RUT compose a pipeline for 3′ ends prediction and RUT identification (Fig. 2C). See the “Materials and methods” section for the implementation details of the data augmentation pipeline, BATTER-TPE, and BATTER-RUT.
We further benchmarked the performance of BATTER-TPE and BATTER-RUT, and compared them with five existing tools on diverse metrics. For primary transcription termination, using sequences sampled from tetramer distribution of genomic sequences as background, at a false positive rate (FPR) cutoff of 0.1 per kilobase, stem loop prediction-based methods and deep learning models trained on 3′ ends mapping data outperform Rho binding sites prediction-based methods by a large margin, even for RDT-associated 3′ ends (Fig. 3A, Fig. S4). This is within expectation, as features like a high local C/G ratio and the presence of regularly spaced YC dimers are pervasive in random sequences. For both RDT- and RIT-associated primary 3′ ends, BATTER-TPE outperforms transterm-HP, RNIE, and BacTermFinder. As shown in Fig. S5, stem-loop prediction methods and 3′ ends prediction methods, including BATTER-TPE, capture a subset of non-primary 3′ ends in E. coli (recall of around 40%) and B. subtilis (recall of around 90% for RIT, 75% for RDT), but perform poorly on M. tuberculosis and B. burgdorferi (recall below 10%). Nonetheless, the stem-loop-based methods generally yield better or comparable results to RUT site-based prediction methods. This aligns with our observation that folding energy drops near non-primary transcript ends are less pronounced than at primary transcript ends, suggesting that for non-primary termination events, more complicated, or clade-specific mechanisms may be involved, and cannot always be effectively detected by these stem-loop-based approaches.
Fig. 3.

Performance evaluation of the 3′ end prediction model. A Recalls of stem loop prediction-based methods (BATTER-TPE, RNIE, and transterm-HP) and RUT sites prediction-based methods (BATTER-RUT, RDT111-OPLS-DA, and RhoTermPredict) at FPR of 0.1/KB. B Performance comparisons for BATTER vs. RNIE (left panel) and BATTER vs. transterm-HP (right panel) on term-seq dataset of the oral microbiome. Recalls of two methods at an FPR of 0.1/KB on different species are plotted against each other. Colors indicate different phyla. C Overlaps between RNIE, BATTER, and transterm-HP’s predictions on curated differential RNA-seq datasets
To provide a more robust assessment of model performance, alternative methods for defining negative instances were also considered. Using CDS sequences as background, we further included two additional methods that depend on CDS annotation (termNN [17] and interpin [48]) in the benchmarking. As shown in Fig. S6, BATTER-TPE makes a balance between precision and sensitivity, and achieves the top two F1 scores in 10 out of the 12 comparisons, followed by RNIE (8 out of 12) and transterm (4 out of 12). To evaluate the performance of BATTER-TPE in distinguishing the terminator stem loop from structured RNAs, we also considered using tRNA or rRNA as negative instances. BATTER-TPE also achieves competitive performance under this setting (Fig. S7).
The performances of BATTER-TPE and published tools on 3′ ends prediction were also evaluated on term-seq data of the human oral microbiome [14]. For species with abundance > 1% (Table S2), BATTER-TPE consistently detects more 3′ ends (Fig. 3B). This improvement is particularly noticeable for phyla like Actinobacteria and Fusobacteria.
Since RUT site prediction-based methods performed poorly in detecting transcript 3′ ends, we focused on evaluating their effectiveness in identifying RUT sites. Given the challenge of defining precise RUT locations and the lack of comprehensive genome-wide annotation, we used Rho-dependent regions identified by RNA-seq as positive instances, as these regions are likely enriched for RUT sites. In four species, BATTER-RUT mildly outperformed the other two methods (Fig. S8A) at an FPR cutoff of 1/KB. For all 4 species, predictions of BATTER-RUT are enriched downstream of transcript 3′ ends, peaking at around 50 nt (Fig. S8B).
For genomes that lack experimental data, here, we used a previously proposed approach [12]: There should be transcript 3′ ends in intergenic regions (IGRs) between convergently transcribed (“tail to tail”) gene pairs. In a random subset of ~ 2000 representative bacterial genomes in GEMs, at an FPR cutoff of 0.1/KB, for all the IGRs flanked by tail-to-tail gene pairs, the fraction of IGRs with predicted 3′ ends measures model performance (Fig. S9A). BATTER-TPE consistently achieves the best performance across diverse bacterial phylogeny compared to the other two methods.
The performance of BATTER-TPE on detecting 3′ ends of ncRNAs was also evaluated. Assuming the majority of ncRNAs with transcription start site (TSS) detected by differential RNA-seq (dRNA-seq) have terminators, a higher number of predicted terminators located between intergenic TSS and the next CDS would indicate better performance. We curated TSSs from 14 bacterial species that are representative of major bacterial lineages defined by dRNA-seq (Table S6), and defined intergenic TSSs as TSSs that do not overlap with protein-coding genes, and have distances larger than 128 nt to the closest start codons. We annotated such putative 3′ ends with transterm-HP, RNIE, and BATTER-TPE at an FPR of 0.1/KB. For Firmicutes and Bacteroidota, in the predictions by the three methods, around 60% overlap. However, for Cyanobacteria, Proteobacteria, and Actinobacteria species, up to 50% of such predictions are unique to BATTER-TPE, suggesting its ability to detect terminators overlooked by transterm-HP and RNIE (Fig. 3C). Fig. S9B showcases two TSS-associated terminators uniquely predicted by BATTER-TPE that matched Rfam families, which were withheld from data augmentation.
To further investigate the feasibility of using BATTER-TPE for large-scale genome-wide scanning, we also benchmarked its running time and resource usage. As shown in Table S7, BATTER-TPE takes around 3 min to scan an E. coli genome using a single NVIDIA RTX4090 GPU, which is more efficient than available deep learning-based tools.
Inter-gene and inter-clade variations of 3′ end-associated stem loops
We next explored the variations in the stem loop structures associated with transcription 3′ ends predicted by BATTER-TPE (only including primary 3′ ends) across all the GEMs genomes. As illustrated in Fig. 4A, stem loops of Actinobacteria are characterized by long stems and often lack downstream U-rich sequences. Stem loops of most Firmicutes and Bacteroidota show only minor deviations from typical RITs. Stem loops of Proteobacteria tend to be shorter and have relatively large intra-phylum variations. When only considering primary 3′ ends in the predictions, 20% to 50% of CDSs in most bacterial species are predicted to have trailing terminators, and on average, one to five terminators are predicted in every kilobase of IGR sequences.
Fig. 4.

Characterization of 3′ ends-associated stem loops across diverse bacteria species. A Characteristics of predicted terminators on different bacterial species. A subset of ~ 2000 species was sampled for visualization. From the innermost cycle to the outermost cycle, the stem lengths (blue), U-rich sequence lengths (green), number of predictions/CDS (red), and number of predictions/KB (purple) are shown. B t-SNE (t-distributed stochastic neighbor embedding) on vector embeddings of terminators downstream of several widely distributed genes, coloring by phyla. C t-SNE visualization same as B, coloring by the gene families. D Weighted average variance proportion of top 36 principal components explained by different genes and different clades at the taxonomy levels of phylum, class, and order. E Visualization of terminators associated with cysteine synthase CDS. The vector embeddings were clustered into 10 clusters with K-means, and the predicted secondary structures of cluster centers (black dots) were shown. Meanings of the colors are the same as panel B
The 3′ end-associated stem loops show inter-gene and inter-species variations. To quantify these, we trained a neural network to project RNA sequences to numeric vectors, using a triplet loss to bring RNAs from the same Rfam family closer in embedding space while pushing RNAs from different families apart (Fig. S10A, see the “Materials and methods” section for details). We validated the embeddings with t-SNE visualization on holdout Rfam families (Fig. S10B–C). We then analyzed terminators associated with several widely distributed genes (5 protein-coding gene families and 2 riboswitches) in all 42,905 GEMs representative bacterial genomes, projecting them into embeddings with the neural network encoder. t-SNE visualizations of the terminator embeddings (Fig. 4B, C) showed that terminators of homologous genes in closely related species were similar, while in phylogenetically distant species, inter-gene variations were generally smaller than inter-species variations. To assess the contributions of taxonomy (at phylum, class, and order levels) and gene families to variations of terminators, we analyzed each of the top 36 principal components (representing ~ 80% of the total variance) and averaged the variance explained by each factor. As shown in Fig. 4D, taxonomies consistently explained a larger fraction of variance than gene families. Taking cysteine synthase as an example, we clustered neural embeddings of associated stem loops into ten clusters using K-means and visualized the predicted secondary structures of centroid instances (Fig. 4E), illustrating such cross-clade diversity of a single gene family.
Differential contribution of Rho-dependent termination in different clades
As an application of BATTER, here we sought to quantify the relative contribution of RITs and RDTs to transcription termination in different bacterial lineages. For primary 3′ ends predicted by BATTER-TPE in each genome, we used the median length of U-rich sequences associated with these 3′ ends as a proxy to measure the contribution of RITs. We also calculated a “Rho dependency score” based on BATTER-RUT’s predictions (see the “Materials and methods” section) to measure the contribution of RDTs. The phylogenetic distribution of Rho proteins determined by an established homolog search strategy based on profile HMM searching using 3 conserved domains (N-terminal domain, RNA-binding domain, and ATPase domain) [39] was also visualized (Fig. 5A). To avoid impact from genome incompleteness and potential binning error, only isolate genomes with genome completeness > 95% in GEMs representative genomes were considered.
Fig. 5.

Evaluation of Rho dependency in diverse bacterial lineages. A The association between the presence of Rho protein homolog (innermost gray circle), the median length of U-rich sequences (green), and the Rho dependency score (outer circle in blue). B Rho dependency score distribution in species with and without Rho protein homologs. P-value was determined by Wilcoxon test. C The correlation between median length of U-rich sequences and Rho dependency scores. P-value was determined by Kruskal–Wallis test. D-E Rho dependency score distribution in species with and without Rho protein homologs, stratified by phyla. F Metagene plot for BATTER-RUT predicted RUT sites (FPR = 0.2/KB) near 3′ ends predicted by BATTER-TPE
In agreement with previous findings [39], we found homologs of Rho proteins are present in most of the bacterial lineages, with Cyanobacteria and several Firmicutes species as exceptions. The presence of Rho proteins and shorter U-rich sequences is strongly associated with higher Rho dependency scores (Fig. 5B, C), and terminators in high GC content species tend to have shorter U tracts (Fig. S11A) and longer terminator stems (Fig. S11B). Actinobacteria species have the highest average Rho dependency scores, followed by Proteobacteria, Spirochaetota, Bacteroidota, and Firmicutes (Fig. 5A,D). These findings are concordant with pervasive Rho-dependent terminations in M. tuberculosis [49] and a diminished role of Rho protein in transcription termination in Firmicutes clade [9].
In most cases, phylogenetically related species tend to have similar Rho dependency scores. Bartonella species in the Rhizobiaceae family, which have a sharp drop in Rho dependency scores compared to other genera in the same family, are an exception. In Bartonella species, a basic amino acid conserved across diverse bacterial lineages (the counterpart of the R87 residue in E. coli Rho protein) is substituted with glutamine (Fig. S11C, Fig. S11D). In E. coli, R87 is directly involved in Rho protein-substrate interaction [50], hence we hypothesized that this substitution may lead to functional deficiency, driving preference toward usage of RIT in this clade. These results suggest that RUTs are under rapid evolutionary turnover in different clades.
We further seek to investigate the evolutionary dynamics of RUTs-like signature Firmicutes species without Rho protein homologs. Specifically, we focused on Clostridia class, which harbors both Rho-positive species and Rho-negative species. As RIT-like signature dominates primary termination events in Clostridia, we performed genome-wide scanning with BATTER-RUT, and analyzed the genome context of predicted RUT sites. As shown in Fig. S11E–F, we found in Rho-positive Clostridia species, most RUTs (91.56% on average) overlap with the antisense of CDSs. This is in agreement with Rho’s function in suppressing antisense transcription. In Rho-negative species, the ratio is significantly lower (64.06% on average, Wilcoxon test P-value = 8.944 × 10–20), suggesting rapid evolutionary turnover after the loss of Rho protein.
Taking a closer look at Cyanobacteria genomes that lack a homolog of Rho protein, surprisingly, certain species have unexpectedly high Rho dependency scores (Fig. 5A,E). Concurring with that, metagene plots for Cyanobacteria model species Nostoc sp. PCC 7120 suggest the predicted RUT-like sequences are also enriched downstream of predicted 3′ ends, resembling the distribution of RUT sites in species with functional Rho homologs, such as E. coli and B. subtilis (Fig. 5F). However, there are notable differences: in Cyanobacteria, the RUT-like sequences overlap more extensively with stem loop structures, with metagene density peaks located closer to the predicted 3′ ends.
The possibility of a remote functional Rho homolog’s existence was also evaluated. By inspecting hits of individual profile HMMs, we identified a Rho-like protein family that contains Rho N-terminal domain, but not RNA binding domain and ATPase domain. This “Rho-like” protein is often annotated as “DUF4912 domain-containing protein” and is conserved across Cyanobacteria clade (Fig. S12). Due to the lack of RNA binding domain and ATPase domain, this protein alone cannot terminate transcription, and further investigation is required to verify its function.
A RUT-like signature presents in some Cyanobacteria species
We further investigated the phylogenetic distribution of the RUT-like sequences within Cyanobacteria clade and their association with traits of corresponding species. Interestingly, Cyanobacteria species characterized by ancient traits [51]—such as unicellularity and marine habitats—tend to lack RUT-like signatures. In contrast, species with more recently evolved traits, such as the nitrogen fixation capability, far-red light photoacclimation (FaRLiP), and low-light photoacclimation (LoLiP) [52], tend to have stronger RUT-like signatures (Fig. 6A, B, Table S8).
Fig. 6.

The presence of RUT-like sequences correlates with recently evolved traits in Cyanobacteria. A Association between Rho dependency scores and Cyanobacteria traits. Wilcoxon test P-values were shown in brackets. B Metagene plot for predicted RUT sites near predicted transcript 3′ ends at FPR = 0.2/KB. Four representative Cyanobacteria species are shown. C Diagram of the reporter plasmid for fluorescence assay. D mCherry/sfGFP ratio in tested Nostoc sp. PCC 7120 RUT sites-like sequences. E. mCherry/sfGFP ratio in tested C. fritschii PCC 6912 RUT sites-like sequences. In D and E, error bars show the mean ± SEM of 3 biological replicates
As Cyanobacteria genomes lack functional Rho homologs, here we used a fluorescent reporter assay to test the functionality of these RUT-like sequences in E. coli (Fig. 6C). In a construct containing the rrnB T1 terminator between genes encoding sfGFP and mCherry, the rrnB T1 terminator sequence was replaced with either predicted RUT-like sequences or a non-terminating sequence from the lacI gene as a negative control. A low mCherry/sfGFP fluorescence ratio indicates high transcription termination efficiency. Seven predicted RUT site-like sequences associated with nitrogen fixation-related genes in Nostoc sp. PCC 7120 and eight predicted RUT site-like sequences associated with FaRLiP and LoLiP-related genes in C. fritschii PCC 6912 were tested. Among these tested sequences, 7/7 Nostoc sp. PCC 7120 sequences and 7/8 C. fritschii PCC 6912 sequences have lower mCherry/sfGFP ratios compared to the negative control (Fig. 6D, E), indicating the predicted RUT sequences are at least partially functional for terminating transcription in E. coli.
Application on the identification of AMR gene-related premature terminations
As another application of BATTER, we systematically predict premature termination events associated with 5′ UTRs of antimicrobial resistance (AMR) genes. Previous studies have suggested premature transcription termination plays an important role in bacterial transcriptional regulation under antibiotic stress [14]. Premature terminations in bacteria could act in cis (through attenuation mechanism) or in trans (premature transcription products serve as sRNA to regulate target genes [22] or sponge other sRNAs [34]), and in some cases, both mechanisms are simultaneously involved [5]. For cis-regulation, BATTER-TPE could predict RIT-based premature termination, and BATTER-RUT could provide clues for RDT-based premature termination. For trans-regulation, as the transcriptional products are functional, their 3′ ends are likely to contain protective stem loops, and could be effectively detected by BATTER-TPE. As a result, although BATTER is designed for predicting primary transcription termination, it can also predict premature termination in many cases.
We thus predicted AMR genes in GEMs representative bacterial genomes with AMRfinder [44] and identified premature termination sites in their upstream sequences with BATTER-TPE. By analyzing premature terminators associated with regulatory 5′ UTR sequences (including leaders and riboswitches, see Dataset S1) in the BATTER training set, we found the distances between the trailing premature terminators of these leader sequences and the start codons of their downstream CDSs peaked at approximately 20 nt, and 90.62% of TESs were located within the region spanning 128 nt upstream to 16 nt downstream of the start codons (Fig. S13A). To provide sufficient sequence context for prediction, the upstream 400 nt and downstream 400 nt sequences surrounding the start codons were used as input to BATTER-TPE model. Predicted terminators located within the 128 nt upstream to 16 nt downstream window were then considered potential premature terminators of AMR genes.
The prevalence of predicted upstream terminator structures varied substantially across different AMR gene families, being notably frequent in ribosomal protection proteins, 23S rRNA methyltransferases, and efflux transporters, while rare in other AMR families (Fig. 7A, B). It was reported that the rppA gene (annotated to ABC-F type ribosomal protection protein by AMRfinder) in Bacillus thuringiensis BMB171 is regulated by an attenuator-induced premature termination event [53]; our analysis suggests similar regulation is conserved in other ribosome protection protein families. It was well characterized that the ermC gene (annotated to 23S rRNA methyltransferase Erm(C) family by AMRfinder) is regulated by an attenuator that shelters ribosomal binding sites for translational regulation [54]; here, our predictions suggest in other 23S rRNA methyltransferase families, such as Cfr family 23S rRNA methyltransferase and 23S ribosomal RNA methyltransferase Erm, premature termination-based regulation can be more pervasive. In agreement with our prediction, a previous study also suggested that premature terminations of multiple antibiotic efflux-related genes are suppressed upon antibiotic treatment [14]. An Rfam search revealed that the upstream sequences of premature terminators associated with macrolide efflux MFS transporter Mef(A) hit to Enterococcus sRNA_1300 (RF02862), a known sRNA related to antibiotic response [29], suggesting premature termination of these genes may generate trans-acting sRNA.
Fig. 7.

Terminator prediction reveals pervasive riboregulations in some antibiotic resistance gene families. A Antimicrobial resistance (AMR) gene families are ranked by fractions with predicted upstream terminators, each bar indicates an AMR gene family. Gene families that share similar mechanisms of action are labeled with the same color. B Fraction of leader sequence preceding AMR gene families that are frequently associated with predicted transcription terminators
For the top 15 AMR gene families with the most predicted upstream terminators, we evaluated the conservation of their secondary structures. Sequence covariation analysis supported conserved secondary structures in upstream sequences of translation protection-related AMRs (ribosomal protection proteins and 23S rRNA methyltransferase), but not those related to efflux transporters (Fig. 7B and Fig. S13B). A potential explanation is that most translation-related premature terminations detected here may act in cis, in which RNA structures play a more prominent role, while premature terminations of efflux transporters may generate trans-acting sRNAs, which are relatively unstructured.
Discussion
In this study, by term-seq data analysis, we confirmed that a conserved stem loop structure is often associated with transcript 3′ ends generated by primary termination events in diverse bacterial species, regardless of the dependency of Rho factor. Based on this finding, we developed a data augmentation pipeline and trained BATTER-TPE, a BERT-CRF model for predicting transcript 3′ ends. We also developed an accessory module, BATTER-RUT, for detecting putative RUT sites. Benchmarking BATTER on diverse datasets demonstrated its advantage compared to existing tools. Using BATTER, we systematically characterized the properties of 3′ ends associated stem loops and evaluated the role of Rho-dependent termination across major bacterial lineages. Additionally, we systematically predicted putative transcript 3′ ends located upstream of AMR genes, identifying several AMR gene families potentially regulated by premature termination.
While BATTER-TPE outperforms existing tools, it does have some limitations. BATTER-TPE is optimized to detect 3′ ends from transcription termination events in which the resulting products are functional and hence should be protected from RNase degradation, as in the case of primary transcription termination of protein-coding genes and functional ncRNAs. Many non-primary termination events, however, do not follow this paradigm. In addition, archaeal transcription termination typically only depends on a stretch of Us [55]; BATTER-TPE cannot effectively predict transcript 3′ ends in Archaea. Thirdly, although BATTER-RUT mildly outperformed existing tools for RUT prediction and achieved reasonable performance for detecting 3′ end-associated RUTs in combination with BATTER-TPE, exhaustive genome-wide prediction of RUTs remains challenging, and comparative analysis of Rho protein function other than terminating primary transcription is also an interesting direction for future investigation.
Our systematic prediction of 3′ end-associated stem loops revealed that inter-species variations generally exceed inter-genes variations. The RNA polymerase complex, while universally present in Bacteria with conserved features such as subunit composition, has evolved clade-specific variations that affect transcription regulation [56]. For instance, β and β′ subunits of RNA polymerase contain clade-specific insertions; deletions of these regions lead to various functional deficiencies [57]. Multiple clade-specific transcription factors have also been reported to regulate bacterial transcription [56]. Assuming sequences and structures of 3′ end-associated stem loops are optimized for stalling the RNA polymerase complex, inter-species variations of terminators may reflect co-evolutions between terminators and the transcription machinery.
The discovery of RUT-like signatures near transcript 3′ ends in certain Cyanobacteria species is very intriguing. One potential explanation is that those Cyanobacteria species may harbor an undetected Rho homolog. It has been reported that in Arabidopsis thaliana, RHON1, a Rho-like protein, is responsible for some transcription termination events in plastids [58]. It was well accepted that plastids in plants evolve from endosymbiotic Cyanobacteria [59]; hence, some Cyanobacteria may harbor a Rho-like protein homolog. Following a previously proposed strategy [39], in this study, proteins with both Rho RNA binding domain and ATPase domains are considered as functional Rho, and no functional Rho was detected in Cyanobacteria clade. We could not completely exclude the possibility that some Cyanobacteria species may harbor homologs of Rho protein, as if the sequence divergence is too large, Rho protein homologs may elude detection. An alternative hypothesis is that Rho protein was lost in the common ancestor of existing Cyanobacteria. Subsequently, in some descendants, other protein factors may have adapted to use the original Rho-binding sites for transcription termination, while in others, RUT sites may have been lost entirely. This may explain the association found between RUT-like signatures and recently evolved traits, such as nitrogen fixation, FaRLiP, and LoLiP. Both hypotheses require further experimental validation.
BATTER-TPE is optimized for predicting 3′ ends of the primary transcripts. We have shown in practice it can also be applied to predict a considerable fraction of premature termination events, including termination events that generate functional products (such as trans-acting sRNAs generated by both RITs and RDTs), and cis-regulatory RITs. Although BATTER-RUT could detect some RUT sites in leader sequences, comprehensive prediction of all RUTs across the bacterial genome remains an open problem. Despite such limitations, BATTER successfully detects variants of known and novel riboregulators. These riboregulators can serve as potential drug targets for antibiotic-resistant strains. Besides premature termination events, at downstream sequences of some protein-coding genes, multiple terminators exist; terminators also exist in some intra-operonic regions. The selection between these alternative terminators indicates regulatory events and is an interesting direction for further investigation.
As BATTER is optimized for 3′ ends of functional transcripts in very diverse bacterial species, taking genome sequences as the sole input, it is particularly useful for discovering 3′ ends of functional transcripts in contigs assembled from metagenome samples, where very diverse bacterial lineages, including uncultivated ones, are often present. We hope BATTER will be a useful tool for understanding the diversity of ncRNAs across the bacterial domain.
Supplementary Information
Supplementary Material 1. Supplementary Figures: Figs. S1–S13 and Supplementary Tables: Tables S1–S8
Acknowledgments
Code availability
Codes of BATTER are available at https://github.com/xu-research-lab/BATTER, which includes installation instructions, a conda environment.yml, and container-based deployment support. Scripts for model benchmarking and data analysis are available at https://github.com/uaauaguga/terminator-prediction-scripts, data for model training, and predicted transcript 3′ ends in GEMs genomes are available in Zenodo (https://zenodo.org/records/16761763).
Authors’ contributions
Y.J. developed the software, conducted the formal data analysis and benchmarking, and drafted the manuscript. J.C. was responsible for the experimental validation. H.M. contributed to the data analysis. The study was supervised by F.G., Z.X., and Z.L. All authors participated in reviewing and editing the manuscript and have approved the final version.
Funding
This work is supported by the National Key Technology Research and Development.
Program of the Ministry of Science and Technology of China (2022YFA1304202), National Natural Science Foundation of China (32170671,82371855,82341101), Tsinghua University Guoqiang Institute Grant (2021GQG1020), Tsinghua University Initiative Scientific Research Program of Precision Medicine (2022ZLA003), Bioinformatics Platform of National Center for Protein Sciences (Beijing) (2021-NCPSB-005). This study was also supported by Bayer Micro-funding, Beijing Advanced Innovation Center for Structural Biology, Bio-Computing Platform of Tsinghua University Branch of China National Center for Protein Sciences.
Data availability
Codes of BATTER, data for model training, scripts for model benchmarking, and predicted transcript 3’ ends in GEMs genomes are available in zenodo (https://zenodo.org/records/16761763).
Declarations
Ethics approval and consent to participate
Not applicable.
Consent for publication
Not applicable.
Competing interests
The authors declare no competing interests.
Footnotes
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Yunfan Jin and Jiyun Cui contributed equally to this work.
Contributor Information
Fei Gan, Email: feigan@whu.edu.cn.
Zhi John Lu, Email: zhilu@tsinghua.edu.cn.
Zhenjiang Zech Xu, Email: zhenjiang.xu@gmail.com.
References
- 1.Kang W, Ha KS, Uhm H, Park K, Lee JY, Hohng S, et al. Transcription reinitiation by recycling RNA polymerase that diffuses on DNA after releasing terminated RNA. Nat Commun. 2020;11:450. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Dar D, Sorek R. High-resolution RNA 3′-ends mapping of bacterial Rho-dependent transcripts. Nucleic Acids Res. 2018;46:6797–805. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Peters JM, Vangeloff AD, Landick R. Bacterial transcription terminators: the RNA 3′-end chronicles. J Mol Biol. 2011;412:793–813. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Lalanne J-B, Taggart JC, Guo MS, Herzel L, Schieler A, Li G-W. Evolutionary convergence of pathway-specific enzyme expression stoichiometry. Cell. 2018;173:749-761.e738. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Loh E, Dussurget O, Gripenland J, Vaitkevicius K, Tiensuu T, Mandin P, et al. A trans-acting riboswitch controls expression of the virulence regulator PrfA in Listeria monocytogenes. Cell. 2009;139:770–9. [DOI] [PubMed] [Google Scholar]
- 6.Keseler IM, Collado-Vides J, Santos-Zavaleta A, Peralta-Gil M, Gama-Castro S, Muñiz-Rascado L, et al. EcoCyc: a comprehensive database of Escherichia coli biology. Nucleic Acids Res. 2011;39:D583–90. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Roberts JW. Mechanisms of bacterial transcription termination. J Mol Biol. 2019;431:4030–9. [DOI] [PubMed] [Google Scholar]
- 8.Nadiras C, Eveno E, Schwartz A, Figueroa-Bossi N, Boudvillain M. A multivariate prediction model for Rho-dependent termination of transcription. Nucleic Acids Res. 2018;46:8245–60. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Johnson GE, Lalanne J-B, Peters ML, Li G-W. Functionally uncoupled transcription–translation in Bacillus subtilis. Nature. 2020;585:124–8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Gardner PP, Barquist L, Bateman A, Nawrocki EP, Weinberg Z. RNIE: genome-wide prediction of bacterial intrinsic terminators. Nucleic Acids Res. 2011;39:5845–52. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.de Hoon MJL, Makita Y, Nakai K, Miyano S. Prediction of transcriptional terminators in Bacillus subtilis and related species. PLoS Comput Biol. 2005;1:e25. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Kingsford CL, Ayanbule K, Salzberg SL. Rapid, accurate, computational discovery of Rho-independent transcription terminators illuminates their relationship to DNA uptake. Genome Biol. 2007;8:R22. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Di Salvo M, Puccio S, Peano C, Lacour S, Alifano P. RhoTermPredict: an algorithm for predicting Rho-dependent transcription terminators based on Escherichia coli, Bacillus subtilis and Salmonella enterica databases. BMC Bioinformatics. 2019;20:117. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Dar D, Shamir M, Mellin JR, Koutero M, Stern-Ginossar N, Cossart P, et al. Term-seq reveals abundant ribo-regulation of antibiotics resistance in bacteria. Science. 2016;352:aad9822. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Ju X, Li D, Liu S. Full-length RNA profiling reveals pervasive bidirectional transcription terminators in bacteria. Nat Microbiol. 2019;4:1907–18. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Taheri Ghahfarokhi SMA, Peña-Castillo L. BacTermFinder: a comprehensive and general bacterial terminator finder using a CNN ensemble. NAR Genom Bioinform. 2025;7:lqaf016. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Brandenburg VB, Narberhaus F, Mosig A. Inverse folding based pre-training for the reliable identification of intrinsic transcription terminators. PLoS Comput Biol. 2022;18:e1010240. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Bidnenko V, Nicolas P, Guérin C, Dérozier S, Chastanet A, Dairou J, et al. Termination factor Rho mediates transcriptional reprogramming of Bacillus subtilis stationary phase. PLoS Genet. 2023;19:e1010618. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.D’Halluin A, Polgar P, Kipkorir T, Patel Z, Cortes T, Arnvig KB. Premature termination of transcription is shaped by Rho and translated uORFS in Mycobacterium tuberculosis. iScience. 2023;26:106465. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Peters JM, Mooney RA, Grass JA, Jessen ED, Tran F, Landick R. Rho and NusG suppress pervasive antisense transcription in Escherichia coli. Genes Dev. 2012;26:2621–33. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Petroni E, Esnault C, Tetreault D, Dale RK, Storz G, Adams PP. Extensive diversity in RNA termination and regulation revealed by transcriptome mapping for the Lyme pathogen Borrelia burgdorferi. Nat Commun. 2023;14:3931. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Thomason Maureen K, Voichek M, Dar D, Addis V, Fitzgerald D, Gottesman S, et al. A rhlI 5′ UTR-derived sRNA regulates RhlR-dependent quorum sensing in pseudomonas aeruginosa. mBio. 2019;10. 10.1128/mbio.02253-02219. [DOI] [PMC free article] [PubMed]
- 23.Warrier I, Ram-Mohan N, Zhu Z, Hazery A, Echlin H, Rosch J, et al. The transcriptional landscape of Streptococcus pneumoniae TIGR4 reveals a complex operon architecture and abundant riboregulation critical for growth and virulence. PLoS Pathog. 2018;14:e1007461. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Hwang S, Lee N, Choe D, Lee Y, Kim W, Jeong Y, et al. Elucidating the regulatory elements for transcription termination and posttranscriptional processing in the streptomyces clavuligerus genome. mSystems. 2021;6. 10.1128/msystems.01013-01020. [DOI] [PMC free article] [PubMed]
- 25.Jeong Y, Hong SJ, Cho SH, Yoon S, Lee H, Choi HK, et al. Multi-omic analyses reveal habitat adaptation of marine cyanobacterium synechocystis sp. PCC 7338. Front Microbiol. 2021;12:667450. [DOI] [PMC free article] [PubMed]
- 26.Forquet R, Jiang X, Nasser W, Hommais F, Reverchon S, Meyer S. Mapping the complex transcriptional landscape of the phytopathogenic bacterium Dickeya dadantii. MBio. 2022;13:e00524–00522. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Lee Y, Lee N, Jeong Y, Hwang S, Kim W, Cho S, et al. The transcription unit architecture of streptomyces lividans TK24. Front Microbiol. 2019;10:2074. [DOI] [PMC free article] [PubMed]
- 28.Vera Jessica M, Ghosh Indro N, Zhang Y, Hebert Alex S, Coon Joshua J, Landick R. Genome-scale transcription-translation mapping reveals features of zymomonas mobilis transcription units and promoters. mSystems. 2020;5. 10.1128/msystems.00250-00220. [DOI] [PMC free article] [PubMed]
- 29.Sinel C, Augagneur Y, Sassi M, Bronsard J, Cacaci M, Guérin F, et al. Small RNAs in vancomycin-resistant Enterococcus faecium involved in daptomycin response and resistance. Sci Rep. 2017;7:11067. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Cho S-H, Jeong Y, Hong S-J, Lee H, Choi H-K, Kim D-M, et al. Different regulatory modes of Synechocystis sp. PCC 6803 in response to photosynthesis inhibitory conditions. mSystems. 2021;6:e00943–00921. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Mandell ZF, Vishwakarma RK, Yakhnin H, Murakami KS, Kashlev M, Babitzke P. Comprehensive transcription terminator atlas for Bacillus subtilis. Nat Microbiol. 2022;7:1918–31. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Wang X, N MPA, Jeon HJ, Lee Y, He J, Adhya S, et al. Processing generates 3′ ends of RNA masking transcription termination events in prokaryotes. Proc Natl Acad Sci U S A. 2019;116:4440–5. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Mitra P, Ghosh G, Hafeezunnisa M, Sen R. Rho protein: roles and mechanisms. Annu Rev Microbiol. 2017;71:687–709. [DOI] [PubMed] [Google Scholar]
- 34.Adams PP, Baniulyte G, Esnault C, Chegireddy K, Singh N, Monge M, et al. Regulatory roles of Escherichia coli 5’ UTR and ORF-internal RNAs detected by 3’ end mapping. Elife. 2021;10:e62438. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Truong DT, Franzosa EA, Tickle TL, Scholz M, Weingart G, Pasolli E, et al. MetaPhlAn2 for enhanced metagenomic taxonomic profiling. Nat Methods. 2015;12:902–3. [DOI] [PubMed] [Google Scholar]
- 36.Anders S, Pyl PT, Huber W. HTSeq—a Python framework to work with high-throughput sequencing data. Bioinformatics. 2015;31:166–9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Langmead B, Salzberg SL. Fast gapped-read alignment with Bowtie 2. Nat Methods. 2012;9:357–9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Lorenz R, Bernhart SH, Höner zu Siederdissen C, Tafer H, Flamm C, Stadler PF, et al. ViennaRNA Package 2.0. Algorithms Mol Biol. 2011;6:26. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Moreira SM, Chyou T-y, Wade JT, Brown CM. Diversification of the Rho transcription termination factor in bacteria. Nucleic Acids Res. 2024;52:8979–97. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Chen M-Y, Teng W-K, Zhao L, Han B-P, Song L-R, Shu W-S. Phylogenomics uncovers evolutionary trajectory of nitrogen fixation in Cyanobacteria. Mol Biol Evol. 2022;39:msac171. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Shih PM, Wu D, Latifi A, Axen SD, Fewer DP, Talla E, et al. Improving the coverage of the cyanobacterial phylum using diversity-driven genome sequencing. Proc Natl Acad Sci. 2013;110:1053–8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Price MN, Dehal PS, Arkin AP. FastTree 2 – approximately maximum-likelihood trees for large alignments. PLoS ONE. 2010;5:e9490. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43.Chaumeil P-A, Mussig AJ, Hugenholtz P, Parks DH. GTDB-Tk: a toolkit to classify genomes with the Genome Taxonomy Database. Bioinformatics. 2020;36:1925–7. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Feldgarden M, Brover V, Haft Daniel H, Prasad Arjun B, Slotta Douglas J, Tolstoy I. et al. Validating the AMRFinder tool and resistance gene database by using antimicrobial resistance genotype-phenotype correlations in a collection of isolates. Antimicrob Agents Chemother. 2019;63. 10.1128/aac.00483-00419. [DOI] [PMC free article] [PubMed]
- 45.Yao Z, Weinberg Z, Ruzzo WL. CMfinder—a covariance model based RNA motif finding algorithm. Bioinformatics. 2006;22:445–52. [DOI] [PubMed] [Google Scholar]
- 46.Rivas E, Clements J, Eddy SR. A statistical test for conserved RNA structure shows lack of evidence for structure in lncRNAs. Nat Methods. 2017;14:45–8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47.Nayfach S, Roux S, Seshadri R, Udwary D, Varghese N, Schulz F, et al. A genomic catalog of Earth’s microbiomes. Nat Biotechnol. 2021;39:499–509. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 48.Gupta S, Padmashali N, Pal D. INTERPIN: a repository for intrinsic transcription termination hairpins in bacteria. Biochimie. 2023;214:228–36. [DOI] [PubMed] [Google Scholar]
- 49.Ahmad E, Mitra A, Ahmed W, Mahapatra V, Hegde SR, Sala C, et al. Rho-dependent transcription termination is the dominant mechanism in Mycobacterium tuberculosis. Biochim Biophys Acta (BBA) - Gene Regul Mech. 2023;1866:194923. [DOI] [PubMed]
- 50.Molodtsov V, Wang C, Firlar E, Kaelber JT, Ebright RH. Structural basis of Rho-dependent transcription termination. Nature. 2023;614:367–74. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 51.Hammerschmidt K, Landan G, Domingues Kümmel Tria F, Alcorta J, Dagan T. The order of trait emergence in the evolution of Cyanobacterial multicellularity. Genome Biol Evol. 2021;13:evaa249. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 52.Gan F, Bryant DA. Adaptive and acclimative responses of cyanobacteria to far-red light. Environ Microbiol. 2015;17:3450–65. [DOI] [PubMed] [Google Scholar]
- 53.Cai X, Zhan Y, Cao Z, Yan B, Cai J. Expression of ribosomal protection protein RppA is regulated by a ribosome-dependent ribo-regulator and two mistranslation products. Environ Microbiol. 2021;23:696–712. [DOI] [PubMed] [Google Scholar]
- 54.Koch M, Willi J, Pradère U, Hall J, Polacek N. Critical 23S rRNA interactions for macrolide-dependent ribosome stalling on the ErmCL nascent peptide chain. Nucleic Acids Res. 2017;45:6717–28. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 55.Maier LK, Marchfelder A. It’s all about the T: transcription termination in archaea. Biochem Soc Trans. 2019;47:461–8. [DOI] [PubMed] [Google Scholar]
- 56.Chen J, Boyaci H, Campbell EA. Diverse and unified mechanisms of transcription initiation in bacteria. Nat Rev Microbiol. 2021;19:95–109. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 57.Chlenov M, Masuda S, Murakami KS, Nikiforov V, Darst SA, Mustaev A. Structure and function of lineage-specific sequence insertions in the bacterial RNA polymerase β′ subunit. J Mol Biol. 2005;353:138–54. [DOI] [PubMed] [Google Scholar]
- 58.Chi W, He B, Manavski N, Mao J, Ji D, Lu C, et al. RHON1 mediates a Rho-like activity for transcription termination in plastids of Arabidopsis thaliana. Plant Cell. 2014;26:4918–32. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 59.McFadden GI. Origin and evolution of plastids and photosynthesis in eukaryotes. Cold Spring Harb Perspect Biol. 2014;6:a016105. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Supplementary Material 1. Supplementary Figures: Figs. S1–S13 and Supplementary Tables: Tables S1–S8
Data Availability Statement
Codes of BATTER, data for model training, scripts for model benchmarking, and predicted transcript 3’ ends in GEMs genomes are available in zenodo (https://zenodo.org/records/16761763).
