<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>LIET model: capturing the kinetics of RNA polymerase from loading to termination</title></titleStmt>
			<publicationStmt>
				<publisher>Pubmed</publisher>
				<date>04/10/2025</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10630686</idno>
					<idno type="doi">10.1093/nar/gkaf246</idno>
					<title level='j'>Nucleic Acids Research</title>
<idno>0305-1048</idno>
<biblScope unit="volume">53</biblScope>
<biblScope unit="issue">7</biblScope>					

					<author>JacobT Stanley</author><author>GeorgiaE F Barone</author><author>HopeA Townsend</author><author>RutendoF Sigauke</author><author>MaryA Allen</author><author>RobinD Dowell</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[<title>Abstract</title> <p>Transcription by RNA polymerases is an exquisitely regulated step of the central dogma. Transcription is the primary determinant of cell-state, and most cellular perturbations impact transcription by altering polymerase activity. Thus, detecting changes in polymerase activity yields insight into most cellular processes. Nascent run-on sequencing provides a direct readout of polymerase activity, but no tools exist to model all aspects of this activity at genes. We focus on RNA polymerase II—responsible for transcribing protein-coding genes. We present the first model to capture the complete process of gene transcription. For individual genes, this model parameterizes each distinct stage of transcription—loading, initiation, elongation, and termination, hence LIET—in a biologically interpretable Bayesian mixture, which is applied to nascent run-on data. Our improved modeling of loading/initiation demonstrates these stages are characteristically different between sense and antisense strands. Applying LIET to 24 human cell-types, our analysis indicates the position of dissociation (the last step of termination) appears to be highly consistent, indicative of a tightly regulated process. Furthermore, by applying LIET to perturbation experiments, we demonstrate its ability to detect specific changes in pausing (5′ end), strand-bias, and dissociation location (3′ end)—opening the door to differential assessment of transcription at individual stages of individual genes.</p>]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Introduction</head><p>RNA polymerases (RNAPs) are the cellular machinery directly responsible for the production of essentially all RNA molecules from DNA within the cell-a process referred to as transcription. Transcription is a key driver of development and a cell's response to the environment. In order to serve this function, transcription must be intricately regulated. RNA polymerase II (RNAP2) transcribes the largest fraction of the genome, including protein-coding genes, long noncoding RNAs, and enhancerassociated RNAs. The process of transcription by RNAP2 follows a well characterized cycle that includes four sequential phases: loading, initiation, elongation, and termination <ref type="bibr">[1]</ref><ref type="bibr">[2]</ref><ref type="bibr">[3]</ref><ref type="bibr">[4]</ref>.</p><p>Transcription is regulated through mechanisms that impact how RNAP2 is distributed across the genome. Understanding these mechanisms requires detecting changes, sometimes subtle, in the activity of RNAP2 between conditions. Nascent run-on sequencing assays-precision run-on sequencing (PRO-seq <ref type="bibr">[ 5 ]</ref>) and global run-on sequencing (GRO-seq <ref type="bibr">[ 6 ]</ref>)-produce a direct measure of the distribution of active RNAP2 across the genome, by enriching for the newly synthesized RNA molecule still attached to the polymerase <ref type="bibr">[ 7 ]</ref>. When generated from a statistically representative population of cells and to sufficient depth, these assays are capable of capturing and quantifying the impacts of regulatory mechanisms on RNAP2 activity, regardless of whether the impacts are extensive or subtle, genome-wide or gene-specific <ref type="bibr">[ 7 , 8 ]</ref>. Consequently, powerful analytical tools have been developed to capture and quantify the patterns of reads present within nascent run-on data.</p><p>Each newly developed model for analyzing RNAP2 activity has uncovered new regulatory mechanisms. The earliest analysis efforts focused only on locating regions of active transcription <ref type="bibr">[9]</ref><ref type="bibr">[10]</ref><ref type="bibr">[11]</ref><ref type="bibr">[12]</ref>, uncovering extensive nascent transcription genome-wide. These studies uncovered long stretches of transcription downstream of the cleavage and polyadenylation site (PAS) at all genes <ref type="bibr">[ 9 ]</ref>, resulting from continued RNAP2 activity that spatially separates the location of RNA cleavage from RNAP2 termination and dissociation, further along the DNA. However, these early approaches did not leverage the unique profile of reads inherent to each stage of RNAP2 activity and observable in nascent run-on assays. Subsequently, methods were developed to capture the unique bidirectional peak signal observed (loading and initiation <ref type="bibr">[12]</ref><ref type="bibr">[13]</ref><ref type="bibr">[14]</ref><ref type="bibr">[15]</ref><ref type="bibr">[16]</ref>), uncovering tens of thousands of transcribed regulatory elements (TREs) that could be leveraged to infer transcription factor activity <ref type="bibr">[ 15 , 17-21 ]</ref>. Others have focused more on the transition from initiation to elongation (pausing) <ref type="bibr">[ 2 ]</ref> or the rate of transcription through the gene (elongation) <ref type="bibr">[ 2 , 10 , 22 ]</ref>. Over time, the emphasis shifted from pattern detection efforts to richer modeling of the unique activity of RNAP2 <ref type="bibr">[ 14 , 22-23 ]</ref>. However, despite the intriguing stretches of transcription after the PAS, the termination stage of transcription has been largely ignored in RNAP2 modeling.</p><p>Regardless of which modeling approach is employed, the regions of RNAP2 activity identified are subsequently quantified. The most common approach to quantification is to count nascent run-on reads over the region, like a gene body, and then use these counts to compare samples / conditions using differential assessment tools like DESeq2 <ref type="bibr">[ 24 ]</ref>. Counts-based approaches identify statistically significant changes on a per-gene basis but are insensitive to the complex distribution of active RNAP2 within the region. Consequently, the other common quantification approach uses meta-gene profiles. Meta-genes are generated by aligning the read profiles from many genes by a given coordinate, typically their annotated transcription start site (TSS). In the metagene approach, profiles are then compared either between gene sets or between samples / conditions. Meta-genes enable detailed comparison of the RNAP2 distribution between samples / conditions but can be influenced by the point of reference used to align the genes. Furthermore, gene-specific effects are averaged away, making it unclear to which genes any observed differences can be attributed. For example, Integrator is a protein complex that plays an important role in regulating RNAP2 pausing / elongation and is controlled through interactions with various transcription factors. A meta-gene analysis of a knock-down of Integrator's endonuclease subunit showed inhibition of RNAP2 release from 5 pausing <ref type="bibr">[ 25 ]</ref>. Due to Integrator's ubiquity at protein-coding genes, it is assumed that this behavior is universal, but it remains possible that the strength of this behavior varies dramatically between genes and some genes may escape this inhibition altogether. What is needed is a rigorous method of comparing the distribution of reads (i.e. the shape of the data) across samples on a per-gene basis.</p><p>To address this challenge, we developed a computational model, rooted in the molecular activity of RNAP2 during transcription, that could be applied to individual genes within nascent run-on sequencing data. Our model builds on our previous modeling framework <ref type="bibr">[ 23 ]</ref> but includes an explicit model of termination. Hence, the model effectively captures all stages of RNAP2: loading, initiation, elongation, and termination on both strands, and is thus called LIET. Furthermore, LIET is flexible, efficient, and capable of leveraging known prior information (when available) yet powerful enough to be driven by the data when it conflicts with our prior expectations. This flexibility also includes the ability to independently model the sense and antisense-strands of the 5 transcription profile. Importantly, the LIET framework enables gene-specific assessment of changes in RNAP2 activity, which manifest within the data as changes in the shape of read distributions. Here, we describe the design and technical details of LIET and assess its ability to detect subtle changes to RNAP2 profiles at both the 5 end (e.g. changes in RNAP2 pausing) and the 3 end (e.g. extension in downstream run-on transcription). Ultimately, the LIET model proves to be an unparalleled tool for analyzing the complexities of nascent run-on sequencing data, opening new avenues for understanding the regulation of transcription.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Methods and materials</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>LIET model: mathematical description</head><p>The LIET model is a generative, probabilistic mixture model that captures the four stages of transcription on the sense-strand of the gene, and independently the loading and initiation stages on the antisense-strand, from nascent run-on sequencing data. For loading, initiation, and termination, the LIET model utilizes well-established probability distributions, with all components defined as functions of the genomic coordinate z (i.e. z is a relative coordinate, measured relative to the gene TSS, and thus defined on the integers-z &#8712; Z ).</p><p>The mathematical representations used for loading and initiation are the same as previous work <ref type="bibr">[ 23 ]</ref>. Briefly, the loading position is treated as a random variable L , modeled as a normal distribution with location &#956; L and uncertainty &#963; L , and the initiation distance (a.k.a. "entry length" <ref type="bibr">[ 4 ]</ref>) is a random variable I , modeled as an exponential distribution with characteristic length &#964; I (see Equation 1 and the graphical representation in Fig. <ref type="figure">1 A</ref>). The loading stage is not a directly observable quantity as RNA is not produced from RNAP2 during loading. Because the loading stage must be immediately followed by the initiation stage, it is useful to consider the linear combination of the two into a single random variable within the model, L + I &#8801; LI . The convolution of these two produce an exponentially modified Gaussian (EMG) <ref type="bibr">[ 23 , 26 ]</ref> (a.k.a. "Emg" in Equation ( <ref type="formula">1</ref>), blue / red components-positive / negative strand-in Fig. <ref type="figure">1 C</ref>), whose probability density function ( pdf ) is given by Equation ( <ref type="formula">4</ref>). This combined variable LI is a component of the mixture model.</p><p>Transcription loading + initiation is predominantly bidirectional. To capture this phenomena, our previous model defined a single exponentially modified Gaussian and used an indicator function to specify the strand <ref type="bibr">[ 23 ]</ref>. But, this tied together all parameters describing the loading and initiation stages of RNAP2. However, we have observed that the shape of the sense and antisense components of bidirectional profiles at the 5 end of genes (loading + initiation-blue and red components in Fig. <ref type="figure">1 C</ref>, respectively) rarely appear to be equivalent in nascent run-on sequencing assays (see example gene profiles in Fig. <ref type="figure">2 A</ref>). Therefore, we sought a more flexible modeling framework to capture potentially distinct shapes on each strand. To this end, the LIET model represents LI on each strand independently with p LI ( &#8226;) (Equation <ref type="formula">4</ref>)-sense parameters: ( &#956; L , &#963; L , &#964; I ); antisense parameters: (&#956; L , &#963; L , &#964; I ) . In our implementation, the two strands can then be explicitly tied together to mimic our previous work, associated through shared priors, or treated fully independently.</p><p>Once initiation is complete, RNAP2 transitions into the elongation stage of transcription. As we assume RNAP2 stages are ordered both temporally and spatially, we make two key observations on which the mathematical derivation of the elongation component of the LIET model is based:</p><p>&#8226; Observation 1: The fraction of active RNAP2 that may be in the elongation stage, at a given genomic location, is proportional to the fraction of the population that have already undergone loading + initiation upstream of this location. &#8226; Observation 2: The fraction of active RNAP2 that may be in the elongation stage, at a given genomic location, is proportional to the fraction of the population that will undergo termination downstream of this location.</p><p>Thus, our definition of the elongation stage depends both on how we model loading + initiation and the termination stages.</p><p>In termination, we seek to capture the furthest 3 -extent to which RNAP2 transcribes beyond the end of the gene, as well as the distribution of signal at that end of the transcriptional profile. In effect, since this is where RNAP2 stops transcribing, it is also the location of dissociation of RNAP2 from the DNA template. Hence, we refer to this process as both transcription termination and RNAP2 dissociation. It is important to note this is distinct from the cleavage and polyadenylation of the messenger RNA (mRNA), which some label as "termination" of the transcript-a signal observable in RNA-seq data but not in nascent run-on sequencing. We assume that dissociation occurs downstream of a fixed point, typically a point upstream of the cleavage and PAS. Thus, we treat the termination process (Fig. <ref type="figure">1 B</ref>) as a random variable T which we assume, similar to the loading stage, is a symmetric, peaked distribution centered on the genomic dissociation location. This distribution is selected to enable capturing of the apparent 3 end peak commonly observed in nascent run-on sequencing data at protein-coding genes, downstream of the cleavage site <ref type="bibr">[ 27 ]</ref> (see examples of this in Figs <ref type="figure">1 D</ref> and <ref type="figure">2 A</ref>). Thus, we model T as a Gaussian distribution downstream of the PAS with mean &#956; T and standard deviation &#963; T -pdf given in Equation <ref type="bibr">( 6 )</ref>. Notably, the prominent peak in the signal downstream of the PAS is commonly thought to result from RNAP2 slowing prior to dissociation, so we will refer to &#956; T as the position of dissociation and the variance &#963; T as the fidelity or spread of the dissociation process. It should also be noted, since T is a component of the entire mixture model, the amplitude of p T ( &#8226;) is an adjustable parameter ( w T in Fig. <ref type="figure">1 C</ref>), which allows LIET to capture dissociation peaks of any prominence (see top and bottom examples in Fig. <ref type="figure">2 A</ref>). Now that we have described the model components at the two ends of the profile, we return to elongation (green in Fig. <ref type="figure">1 C</ref>), whose mathematical formulation is derived from that of the LI and T variables. We define the elongation component as a random variable E . To conform to the constraints (observations 1 and 2), a wholly novel probability distribution needed to be derived. Mathematically, observation 1 implies that the probability distribution of E must be proportional to the cumulative distribution function ( cdf ) of the LI distribution: P(</p><p>where p LI ( &#8226;) is given by Equation ( 4 ). Observation 2 implies the distribution of E is also proportional to the survival function of the T distribution:</p><p>where p T ( &#8226;) is given by Equation <ref type="bibr">( 6 )</ref>. Combining these two constraints results in p E ( &#8226;) in Equation ( 2 ):</p><p>where F LI ( &#8226;) and F T ( &#8226;) are the cdf of the subscript variables, 5 and 3 are the respective 5 / 3 end parameters, and A ( ) is a yet undetermined normalization constant that depends on all (5 and 3 ) model parameters (</p><p>The key to establishing p E ( &#8226;) as a proper, functional probability distribution was finding a solution to the normalization constant A ( ) in Equation <ref type="bibr">( 2 )</ref>. For this, it is necessary to solve the integral in Equation ( 3 ):</p><p>(defined on z &#8712; R ). Unfortunately, there is no known closed-form solution (or even reduced-form solution) for integrals of this type in standard integral tables (see <ref type="bibr">[ 28 ]</ref>). Since genomic position is defined on the integers ( Z ), we initially approached this problem by performing numeric integration of the normalization constant over a finite range of Z anytime p T ( &#8226;) gets evaluated (numeric approximation method described in Supplementary Section S1.1 and Supplementary Fig. <ref type="figure">S1</ref> ). However, this approach required significant computation, making it infeasible in high-throughput use. Conversely, we were able to derive a partial analytic solution to the integral in Equation ( 3 ) in which the only unsolvable terms were two evaluations of the standard normal cdf ( ( &#8226;)). This "partial analytic" solution proved to be &#8764;1000 &#215; faster on average (see Supplementary Section S1.4 ) than the numeric integration method. The analytic method was bench-marked and tested for precision against the numeric method, which we show to be equivalent to high-precision ( &lt; 10 -5 , see Supplementary Figs <ref type="figure">S2</ref> and <ref type="figure">S3</ref> ). For a complete derivation of the partial analytic solution to the normalization constant, see Supplementary Section S1.2 . The explicit mathematical form of p E ( &#8226;) is stated in Equation ( <ref type="formula">5</ref>) and the solution to the normalization constant A ( ) is Supplementary Equation S.20 . Our software implementation of the model uses the analytically normalized form for the elongation component.</p><p>As all sequencing data contains noise, we also include an explicit background component, which we treat as a random variable B that is modeled as a uniform distribution (independently, on each strand) over the width of the fitting window ( p B ( &#8226;) in Equation <ref type="formula">7</ref>). Importantly, the background is not considered part of productive transcription for the gene but rather represents the low-level random read noise, typically ubiquitous throughout the genome in nascent run-on data. Because the position of &#956; T is not known a priori , the inclusion of the background component also limits the possibility of random read-mapping leading to bias in the termination component. Additionally, including the background component was found to improve fit convergence and quality (not shown). Generally, the background appears to be &#8764;1-5% of the reads when fitting most genes with significant signal.</p><p>Finally, the complete model consists of a weighted mixture of these components-LI , E , T , and B on the sense strand and LI and B on the antisense-strand. The weight vectors are generated from four-and two-dimensional Dirichlet distributions for the sense and antisense mixtures, respectively (sense weights: w = [ w LI w E w T w B ] and antisense weights: w = [ w LI w B ] ). Conceptually, the weights also have the advantage of capturing the relative levels of each component-in other words, multiplying the weights by the total reads within the fitting window produces the number of reads that belong to the respective transcriptional stage, akin to counting reads over exons from RNA-seq data (see discussion in Supplementary Section S3 ). The full sense and antisense LIET model likelihood functions are given by Equations ( <ref type="formula">8</ref>) and ( <ref type="formula">9</ref>), respectively. Example fits of the full model can be seen in Figs 1 D and 2 A.</p><p>Model components:</p><p>Full model likelihood (sense-strand):</p><p>(antisense-strand):</p><p>where:</p><p>The above is the complete mathematical details for the LIET model. Note:</p><p>All model components are defined on (relative) genomic coordinates (i.e. z &#8712; Z ). The normalization constant A ( ) for the elongation component is defined in Supplementary Equation S.20 . The pdf for components loading + initiation (LI, blue / red), elongation (E, green), and termination (T, yellow) in Fig. <ref type="figure">1</ref> C are given by Equations ( <ref type="formula">4</ref>), <ref type="bibr">( 5 )</ref>, and ( 6 ), respectively. The Mills ratio:</p><p>, where &#966;( &#8226;) is the standard normal distribution and ( &#8226;) is its cumulative distribution function. The strand indicator s &#8712; { + 1, -1} denotes the positive or negative strand.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Model inference and prior selection</head><p>Next we sought to provide an easy-to-use software implementation of the LIET model and demonstrate its effectiveness on a number of nascent run-on sequencing datasets. Our software implementation uses a Bayesian inference framework in which the parameters' priors are informed by gene annotation.</p><p>Specifically, for a single gene fit, given a set of observations X = { x 1 , x 2 , ... , x n } (i.e. a list of the relative genomic coordinates of sense-strand reads, x i &#8712; Z ), the Bayesian inference process amounts to approximating the posterior distribution p ( , w | X ) from Equation <ref type="bibr">( 10 )</ref>:</p><p>where P LIET ( &#8226;) is the sense-strand likelihood function (Equation <ref type="formula">8</ref>), p ( ) is the prior distribution for the sense-strand model parameters, and p ( w ) is the prior distribution for the component weights. An equivalent inference problem exists for the antisensestrand, with data X and posterior p ( , w | X ). The use of priors is key to the success of our model implementation and is another feature that differentiates it from previous nascent run-on sequencing analysis tools. The principle benefit to using a Bayesian approach to model fitting is that the priors focus the parameter search on the most relevant portion of the parameter space. In other words, the priors guide the parameter values to the ranges that are biologically relevant. This has the effect of improving fit convergence and reducing the chance that fits gets stuck in local minima of the parameter landscape. In general, poor fit convergence is exacerbated by sparse / low-coverage data and most nascent run-on sequencing datasets are of low-coverage <ref type="bibr">[ 17 ]</ref>. Therefore, the use of priors improves the success of fitting nascent run-on data, in particular. In our software implementation, we utilize variational inference (VI) (specifically, Automatic Differentiation Variational Inference <ref type="bibr">[ 29 , 30 ]</ref>) for model fitting. We selected a VI technique for speed of fitting, as our goal is to be able to apply the model to a large number of genes and data sets. One limitation of VI methods is their underestimate of variance of the posterior density <ref type="bibr">[ 29 ]</ref>, which is true in our case as well-see Supplementary Figs <ref type="figure">S4</ref> and <ref type="figure">S5</ref> . However, the model is separate from the optimization method and can also be used with other VI or Markov Chain Monte Carlo (MCMC) methods.</p><p>For our purposes, the practical goal of fitting our model to real data is to obtain best estimates for each model parameter ( , w ), for each gene we fit, so we do not need the detailed shape of the posterior distributions (further justification for using the simpler, quicker VI methods). For a single fit, the parameters' maximum likelihood estimates (MLEs) are computed as the expectation of the posterior distribution (Equation <ref type="formula">11</ref>, and equivalently for w ). These MLE values are what are reported in the results files.</p><p>Another common issue in modeling that can impact fitting and the interpretation of results is the presence of confounded parameters. For the LIET model, we observe that there is little to no correlation between the posteriors ( Supplementary Fig. <ref type="figure">S9</ref> ), so the parameters can be treated as essentially independent and thus the posteriors are not likely to be complex / multi-modal. Since the parameters are effectively independent (i.e. not confounded) the prior distribution can be computed by Equation <ref type="bibr">( 12 )</ref>.</p><p>The model parameters consist of three conceptual categories: location parameters ( &#956; L , &#956; T , &#956; L ), shape parameters ( &#963; L , &#964; I , &#963; T , &#963; L , &#964; I ), and weight parameters ( w , w )-see model diagrams in Fig. <ref type="figure">1 A-C</ref>. The priors for the location parameters leverage reference points to guide their optimization. Specifically, for the sense-strand, the user must provide both 5 and 3 end reference points for each gene ( z 5 , z 3 ), and the distribution of the priors for the loading and termination location parameters are then built around these points. Conceptually, the z 5 coordinate (which anchors the search for &#956; L , &#956; L ) is expected to be in close proximity to the gene's TSS, whereas the z 3 coordinate (which anchors the search for &#956; T ) is assumed to be proximal to the annotated PAS or some other point guaranteed to be upstream of the dissociation position ( &#956; T ).</p><p>Hence, in this work, we assume the TSS location will be the 5 reference point for each gene and define the distribution of the prior for the loading location &#956; L to be a normal distribution centered at z 5 (recommended) with width hyper-parameter a . Importantly, we also use z 5 for the &#956; L prior, consistent with the bidirectional nature of loading and initiation. On the other hand, we found the actual dissociation location ( &#956; T ) is more variable gene-to-gene. Despite this variability, we can expect that it must occur somewhere downstream from the end of the mature transcript-e.g. downstream of the PAS, the 5 end of the 3 UTR, OR the 3 end of the gene's last exon. Therefore, we assume this location is provided as the 3 reference point z 3 -the upstream bound on the search for &#956; T . In this work, we used the the 3 end of the last exon for z 3 , with the exception of gene SOCS5 where the 5 end of the 3 UTR was employed. We make the further assumption that the dissociation location becomes decreasingly likely the farther downstream RNAP2 gets. Thus, we set the distribution of the prior for the termination location parameter ( &#956; T ) to be an exponential distribution, originating at z 3 (recommended), with hyper-parameter b (for a diagram of these prior distributions see Supplementary Fig. <ref type="figure">S8 A</ref>). These prior positions, ( z 5 , z 3 ) are set by the user.</p><p>For the shape parameters that control the breadth of LI and T ( &#963; L , &#964; I , &#963; T ), we chose exponential prior distributions (userdefined). The prior distribution for the weight parameter ( w ) is a Dirichlet, as is convention for mixture models. Our default assumption is that all model components are equally likely, so we set all the &#945; hyper-parameters for the Dirichlet priors equal to 1 (user-defined). The choices for all the priors are summarized in Equation ( <ref type="formula">13</ref>) (see diagrammatic depiction in Supplementary Fig. <ref type="figure">S8 B</ref> and <ref type="figure">C</ref>).</p><p>As discussed above, we provided a separate parameterization of the antisense-strand (Equation <ref type="formula">9</ref>). However, our software implementation provides flexibility in how the antisense-strand component of the model is handled, based on how the priors are specified in the input config file. There are three options: (i) tied parameters, where 5 &#8801; 5 (similar to our previous model <ref type="bibr">[ 23 ]</ref>); (ii) independent parameters with equal priors, where 5 &#8801; 5 but p( 5 ) = p( 5 ) ; and (iii) independent parameters with unequal priors, where p ( 5 ) = p ( 5 ) . We recommend option (ii), which can be interpreted as assuming the null hypothesis that the two strands have equivalent processes (asserted by the equivalent priors), but allowing the fit to independently adjust the parameters for the two strands, based on the data provided for fitting-i.e. priors for &#956; L , &#963; L , &#964; I are equal to their sensestrand counterparts in Equation <ref type="bibr">( 13 )</ref>. We demonstrate the impact of choosing option (i) or (ii) by comparing their results in Fig. <ref type="figure">3</ref> . Option (iii) is provided for completeness and should only be used when there is a priori reason to believe that there is a systematic difference in LI between strands.</p><p>Note, our software allows the user to define the reference points ( z 5 , z 3 ) for each gene, the prior distributions for each (nonweight) parameter, and the values of the hyper-parameters for each prior distribution. The choice of distributions specified in Equation ( <ref type="formula">13</ref>) are the default recommendations and were used for all analysis herein. The following hyper-parameter values were used for all analysis: ( a , b , c , d , e ) = (1500, 500, 500, 10000, 500) (see Equation <ref type="formula">13</ref>). However, these values may not be optimal for all applications. As is typical with any Bayesian inference, tuning the hyper-parameter values may be necessary to optimize the fit results.  <ref type="formula">14</ref>) for the tied ( x -axis) and independent ( y -axis) scenarios. ( E ) Schematic of generated data from the median of 5 parameters from the independent fitting scenario results, fit by the tied or independent scenario. Note that the independent scenario fits well to the data while the tied scenario cannot account for the differing strand profiles.</p><p>Our software implementation of the LIET model was written in Python 3 with the model-building and Bayesian inference being performed by the PyMC library (v5.6.1)( <ref type="bibr">[ 31 ]</ref>). The LIET model software implementation is available on GitHub at: github.com/ Dowell-Lab/ LIET ( <ref type="bibr">[ 32 ]</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Gene and sample selection</head><p>In order to showcase the capabilities of the LIET model and draw conclusions from its fits, we needed a set of genes suitable for the model to which we can apply it and a range of high-quality data sets in which to fit those genes. The samples used in this paper were curated from a recently established nascent run-on sequencing database, DBNascent <ref type="bibr">[ 17 ]</ref>, which has been organized around sample metadata. We curated 152 high-quality PRO-seq datasets, generated from 24 different human cell lines, spanning 12 different tissue types (see Supplementary Table <ref type="table">S1</ref> for samples). Most of these samples were in control conditions with the goal of analyzing how consistent basal termination was across cell-type (see Fig. <ref type="figure">4</ref> ). To evaluate the impact of a perturbation on the 3 end dissociation position, we also included data from an Integrator knock-down experiment <ref type="bibr">[ 25 ]</ref> and a heat shock experiment <ref type="bibr">[ 33 ]</ref> (see Fig. <ref type="figure">5</ref> ).</p><p>As the model is designed to describe a single gene, we sought to identify a set of transcribed genes with no other transcription units within the fitting window, including no overlapping genes, enhancer RNAs, or long noncoding RNAs (lncRNA). To arrive at our gene set, we first performed a number of computational pre-filters on the set of all known protein-coding genes in the human genome (from NCBI RefSeq transcript annotations, hg38, see Supplementary Materials), eliminating those genes with other annotations within a set distance (10kb upstream and 30kb downstream) of the gene or transcription levels below a coverage threshold of 0.1 &#215; over the annotated gene body, averaged across all samples. These filters reduced the &#8764;20,000 protein-coding genes down to &#8764;1,400 candidate genes. These candidate genes were then manually inspected to identify cases of overlapping enhancer-associated RNAs or other unannotated transcription units (see Supplementary Section S4 for full details). We identified 163 genes spanning chromosomes 1-6 for subsequent testing. For a detailed description of the gene filtering and selection process see Supplementary Section S4 . The resulting set contained genes from &#8764;1 kb up to 200 kb+ in length and of a range of different profile shapes and transcriptional levels. For the list of genes see the Supplementary Table <ref type="table">S1</ref>.</p><p>Most published PRO-seq datasets are not sequenced deeply-typical gene coverage for a gene within these samples are well below 0.1 &#215; <ref type="bibr">[ 17 ]</ref>-which adds to the difficulty of modeling transcription from these data with high precision. To ameliorate depth related issues arising during model validation, we created "meta-samples" by combining all technical and biological replicates for each cell-type. Some cell-types had many replicates (e.g. HCT116, HeLa, and LCL) while others only had two (e.g. A549, NUDUL1, and THP1). These meta-samples were then fit and analyzed for Figs <ref type="figure">3</ref> and <ref type="figure">4</ref> . For the cross-sample reproducibility analysis (Fig. <ref type="figure">2</ref> ) and perturbation analyses (Fig. <ref type="figure">5</ref> ), LIET was instead applied to the individual samples within that cell-type / condition. We found that the model maintains high accuracy across all parameters even when fitting to individual samples and low data coverage, but, as one would expect, the precision is impacted for some parameters (see Supplementary Figs <ref type="figure">S6</ref> and <ref type="figure">S7</ref> ).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Data processing and representation</head><p>The LIET model describes the expected location of active RNAP2 instances at a snapshot in time. However, the details of the nascent run-on sequencing protocol influences the extent to which a read's mapping location differs from the true location of a corresponding RNAP2 instance <ref type="bibr">[ 7 ]</ref>. Details such as protocol selection (GRO-seq or PRO-seq), library preparation strategy, and read-length all complicate the biological interpretation of where RNAP2 was located. This raises the question of how to represent individual reads in the input to LIET. For example, a single read could be represented by its 5 end, 3 end, midpoint, or all positions along its length (full read). Using the full read effectively smooths the data but also artificially inflates the amount of data by the length of the read (multiple counting). Therefore, LIET assumes each read is represented by a single position. In general, it can be argued that selecting the 5 end of all reads provides the greatest fidelity on inferring the position of RNAP2 loading while the 3 end position of the read provides the greatest fidelity on the RNAP2 termination process. For this work, we chose to represent the reads by the genomic coordinate of their 3 end, as the termination component of the model is of particular interest to us (given this is the first instance of modeling this process). Importantly, our decision influences the interpretation of the 5 location parameters ( &#956; L , &#956; L ) but not the shape or weight parameters. Specifically, location parameters at the 5 end will be shifted downstream from the biological position of loading and initiation by a distance influenced by the expected length of RNAP2 run-on, the read length and other protocol details. In this work, we analyze a collection of data from numerous papers (see Supplementary Table <ref type="table">S1</ref> ), each with distinct protocol details. Therefore we refrain from interpreting the 5 positional parameters as direct readouts on the position of RNAP2 loading but rather focus on changes in this position between choices of priors (Fig. <ref type="figure">3</ref> ) or between samples (Fig. <ref type="figure">5</ref> ). Ultimately, future users of LIET must make their own decision on how to represent the data that best suits their application.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Results</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Design of a complete RNAP2 model</head><p>The activity of RNAP2, when transcribing a gene, is broken into four distinct stages: loading, initiation, elongation, and termination <ref type="bibr">[ 1 ]</ref> (see Fig. <ref type="figure">1 A-C</ref>). The transcription process begins with the pre-initiation complex, which contains RNAP2, assembling at set locations in the genome (loading). At genes, these assembly locations (parameter &#956; L ) are near TSS. Extensive CAGE data shows inherent variability in TSSs <ref type="bibr">[ 34 , 35 ]</ref>; hence, we model uncertainty in the loading position (parameter &#963; L ). RNAP2 engages with one of the strands of DNA and subsequently transcribes a short distance in the 5 &#8594; 3 direction and pauses (initiation). Initiation is therefore the first step of transcription that produces RNA. At most genes, there is a second, upstream transcript (parameter &#956; L ) produced in the opposite direction <ref type="bibr">[ 6 , 36-37 ]</ref>. These transcripts have been referred to as upstream antisense RNAs (uaRNA) or promoter upstream transcripts (PROMPTs) <ref type="bibr">[ 36 , 38-39 ]</ref>. Thus we explicitly model two TSS in close proximity at every gene. We also assume there is an inherent uncertainty in the initiation distance-that distance being more likely short than long (parameter &#964; I ). After being released from its paused state, RNAP2 begins transcribing at an approximately constant rate in the 5 &#8594; 3 direction through the body of the gene (elongation). The termination stage of RNAP2 begins once RNAP2 transcribes past the cleavage and polyadenlyation site (PAS) <ref type="bibr">[ 40 ]</ref>. The PAS marks the end of the mature transcript, but RNAP2 proceeds well beyond the PAS, often for several kilobases or more <ref type="bibr">[ 9 , 40-41</ref> ]. RNAP2 appears to slow after the PAS before finally dissociating from the DNA <ref type="bibr">[ 42 , 43 ]</ref>. Therefore, we assume the position of dissociation (parameter &#956; T ) is an unknown distance downstream of the PAS that is likely to vary between genes. We further assume variability (parameter &#963; T ) in the duration of time between RNAP2's slow-down and dissociation from DNA. Important for the LIET model, we assume a single instance of RNAP2 proceeds through these stages sequentially in time. Furthermore, because transcription proceeds only in one direction, we assume these stages must also be spatially sequential, for a single instance of RNAP2. Thus, if an instance of RNAP2 is undergoing elongation, it must be downstream of where it underwent loading / initiation and upstream of where it will undergo termination. Given that nascent run-on techniques specifically target the RNA produced by RNAP at all steps of the transcription process, we describe each step mathematically based on the expected distribution of reads RNAP2 induces within nascent run-on data (Fig. <ref type="figure">1</ref> ; see section "LIET model: mathematical description" for full details). We implement our probabilistic mixture model and refer to the software as LIET.</p><p>The main objective of the LIET model is to accurately capture these processes and quantify their variation. A prototypical gene profile can be seen in Fig. <ref type="figure">1</ref> D along with its LIET model fit (blue / red lines). This gene demonstrates the narrow, prominent sensestrand peak associated with loading + initiation near the TSS. It also has a much smaller antisense peak, indicating a significant sense-strand bias. There is a low and relatively uniform elongation region through the body of the gene. Lastly, a broader, less prominent pile up of reads is present downstream of the genes' annotated end, which we associate with the dissociation process. The positive / negative strand residuals for the gene are plotted in Fig. <ref type="figure">1 E</ref> and <ref type="figure">F</ref>, and are representative of residuals observed across all genes analyzed. Across the entire profile, there is no systematic bias in the residuals, and the average absolute residual is more than an order of magnitude smaller than the data signal, indicating the model is capturing all features of the data well.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Capturing the spectrum of transcription profiles</head><p>A cursory visualization of any deeply-sequenced nascent run-on sequencing dataset will highlight the extent of variation in the shapes of transcriptional profiles at protein-coding genes. The breadth and prominence of the 5 end bidirectional peaks, its sense / antisense strand-bias, the extent and depth of the elongation region, as well as the breadth and prominence of the dissociation peak all demonstrate significant variability across the gene landscape. Thus, we next sought to determine whether LIET is capable of accurately capturing this diversity. We show three example genes in Fig. <ref type="figure">2</ref> A that differ in key elements of the gene profile. Gene CLIC4 is an example of a long gene ( &#8764;100kb) with an extreme sense-strand bias and large dissociation peak prominence. Gene UTP25 is an example of a medium length gene ( &#8764;30kb) with a significant antisense-strand bias at the 5 end and a dissociation peak of intermediate size located slightly upstream of the gene's PAS. Gene MED18 is an example of a short gene ( &lt; 10kb) with a 5 bidirectional region with coverage roughly balanced between strands. However, the two strands have fundamentally different shapes, with the antisense-strand loading + initiation distribution significantly more elongated than that on the sense-strand. Also, MED18 exhibits no clear dissociation peak. In place of a peak is a slowly decaying signal downstream of the PAS, which the model manages to fit by setting the termination peak weight ( w T ) close to zero. In short, these three genes demonstrate dramatic variation in their transcription profiles and the LIET model is sufficiently flexible to accurately capture them all.</p><p>We next sought to determine the extent to which LIET fits are influenced by experimental variability, as opposed to biological variation. To address this question, we independently fit the LIET model to each of the ten individual HCT116 samples (in control condition <ref type="bibr">[44]</ref><ref type="bibr">[45]</ref><ref type="bibr">[46]</ref>-see Supplementary Table <ref type="table">S1</ref> for Sequence Read Archive identifiers (SRRs)) that comprise our HCT116 metasample (fitting the genes in our gene list) and then evaluated how well correlated all model parameters were for every pairwise sample comparison. Importantly, fitting individual samples lowers the statistical power of each fit, since the model is evaluating less data, but allows us to assess the sensitivity of LIET to the technical and biological variation that exists between samples. In Fig. <ref type="figure">2 B</ref>, we show the pairwise sample correlations for four model parameters across our gene list-two from the 5 end of the model ( w LI and &#963; L ) and the two analogous parameters from the 3 end ( w T and &#963; T ). All four model parameters show very high average correlation ( &gt; 0.74) within their respective publication (blocks along the diagonals). All correlations between publications are still moderately high ( &gt; 0.45), but the weaker correlations reflect differences in library preparation and sequencing protocol. In fact, the parameter correlation between experiments / publications is lower for the 5 end parameters than for those at the 3 end (e.g. A:C correlation for &#963; L , &#963; T is 0.45, 0.8, in Fig. <ref type="figure">2 B</ref>), a result consistent with previous work showing the 5 end signal is particularly sensitive to protocol / library preparation <ref type="bibr">[ 47 ]</ref>. A similar pattern is observed for all other model parametersthe average cross-sample correlation (averaged over all three experiments) for each parameter can be seen on the diagonal in Fig. <ref type="figure">2 C</ref>.</p><p>Another important aspect of model validity and interpretation is whether or not there exists spurious cross-parameter correlations (correlations between parameters that should be independent). To assess this, we calculated the correlation between every pair of parameters (averaged over all sample-pairs from the 10 individual HCT116 samples; Fig. <ref type="figure">2</ref> C and Supplementary Fig. <ref type="figure">S9</ref>). Importantly, we expect some cross-parameter correlation in model weights w i , due to their Dirichlet constraint (weights must sum to 1). Specifically, since the LI component overlaps with the E component in genomic coordinate space at the 5 end of the profile, the Dirichlet constraint indicates w LI and w E must be anti-correlated (a read in this overlap location would be assigned either to LI or E ) and indeed that is the case (correlation -0.49). A similar argument holds for w E and w T at the 3 end ( -0.45). Also expected is the correlation between &#956; T and w E -in general, the longer the elongation region is, the more data it will contain and therefore the larger its weight ( w E ) will be. Likewise, the location parameters &#956; L and &#956; T define the approximate bounds of the elongation region, giving an effective length ( &#956; T&#956; L ). Therefore, w E should be positively correlated with &#956; T and negatively correlated with &#956; L . However, &#956; T varies far more significantly gene-to-gene than &#956; L . Therefore, the positive correlation with &#956; T is more apparent than the negative correlation with &#956; L . Furthermore, due to the negative correlation of w E with the other weights ( w LI and w T ), &#956; T would also be negatively correlated with them by the property of transitivity (coefficients -0.28 and -0.21). Importantly, all cross-parameter correlations (off diagonal values in Fig. <ref type="figure">2 C</ref>) are significantly lower than the parameters' average auto-correlation (diagonal values), so we can reasonably assume the parameters are independent of one another during fitting.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Improved 5 end modeling captures strand differences</head><p>Transcription of the RNA upstream and antisense direction (the PROMPT) is generally concordant with the gene (i.e. both or neither are present <ref type="bibr">[ 48 ]</ref>), but the rate at which RNAP2 engages with each strand (strand-bias) varies dramatically from gene to gene <ref type="bibr">[ 23 ]</ref>. On the gene's sense-strand, RNAP2 transitions from initiation to elongation, producing the pre-mRNA, whereas the PROMPT is rapidly degraded by the nuclear exosome complex. It is unclear to what extent the activity of RNAP2 at the PROMPT is distinct from that on the gene's sense-strand and whether that difference could be regulatory. To address this question and better characterize RNAP2 activity between these two tightly spaced TSSs, we used LIET's robust framework to model the 5 bidirectional region, allowing for independent parameterization of each strand. This is a distinct change from our earlier models of RNAP2 <ref type="bibr">[ 23 ]</ref> where the two strands' 5 peaks were assumed to arise from a single distribution (i.e. they were tied).</p><p>Therefore, we next sought to assess the impact of the two distinct 5 end modeling options (tied or independent parameterization scenarios) on overall model fit. For this analysis we compared the two approaches on our HEK293 meta-sample-chosen to provide sample variety and examine a distinctly different cell-type. The "tied" parameterization ( 5 &#8801; 5 ) and the "independent" parameterization ( 5 &#8801; 5 ) were run with the exact same priors-i.e. p( 5 ) = p( 5 ) . The results of this analysis are presented in Fig. <ref type="figure">3</ref> , which shows how the 5 parameter values differ under these two fitting scenarios.</p><p>First, we compare the mean loading position parameters &#956; L , &#956; L for the tied and independent fitting scenarios (Fig. <ref type="figure">3 A</ref>), measured relative to each gene's annotated TSS. Unlike the tied approach, which results in a uni-modal distribution (purple in A), the independent fitting produces two distinct loading positions, one associated with each strand, and separated by a "footprint" of &#8764;100 bp. These distinct TSSs have been observed in CAGE data <ref type="bibr">[ 49 ]</ref> and the footprint has also been reported in previous work <ref type="bibr">[ 18 ]</ref>. It is important to not be too critical of the absolute position of these two parameters relative to the annotated TSSs, because we are utilizing a 3 representation for input data which will shift the inferred position downstream a distance dependent on the read length and protocol (see "Materials and methods" section for detail).</p><p>We anecdotally observed differences in the shape of the distribution of LI between the sense and antisense-strands, so we wanted to determine if we could quantify this difference. To this end, we compared the empirical cumulative distribution function (ECDF) of loading position uncertainty parameters &#963; L , &#963; L for the two fitting scenarios (Fig. <ref type="figure">3 B</ref>). The tied scenario (purple) is intermediate to the other two (blue / red-from the independent scenario), due to the fact that it is a single parameter attempting to balance the data from both strands. It is more similar to the independent &#963; L (blue), likely because there is typically more data on the sense-strand of a gene. In the independent scenario, the median values are &#963; L = 12 . 6 bp and &#963; L = 262 . 2 bp (tied median: &#963; L = &#963; L = 16 . 5 bp ). In other words, the typical loading uncertainty of RNAP2 is far lower on the gene-encoding strand. Next, we compared the sense and antisense-strand characteristic initiation lengths &#964; I , &#964; I for the two fitting scenarios (Fig. <ref type="figure">3 C</ref>). Analogous to the distinction seen in the loading uncertainty, under the independent scenario, the median sense-strand initiation length ( &#964; I = 99 . 5 bp ) is significantly shorter than that for the antisense-strand ( &#964; I = 279 . 2 bp ). The dependent scenario result is again intermediate to the other two ( &#964; I = &#964; I = 184 . 1 bp ).</p><p>How well the shape of LI (defined by &#963; L and &#964; I ) is inferred will impact how much of the data signal is allocated to the weights of these model components ( w LI , w LI ), from which the strand-bias is computed. In previous work, the strand-bias was treated as its own Bernoulli random variable <ref type="bibr">[ 23 ]</ref>. In our case, we can compute strand-bias (denoted &#960;) from the LI weight parameters and the total number of reads on each strand ( N + , N -), in Equation <ref type="bibr">( 14 )</ref>.</p><p>Strand-bias is defined on the interval [0, 1] and equals 1 for a given gene when all RNAP2 loads on the sense-strand. We compared the computed strand-bias under the two fitting scenarios using linear regression (Fig. <ref type="figure">3 D</ref>). The two scenarios are very well correlated ( R 2 = 0.94) but the independent scenario produces systematically lower strand-bias than the tied scenario, as indicated by the slope ( m = 0.926) and a difference in medians of &#960; = 0 . 06 . In order to better interpret the differences in fitting the 5 end peaks (both gene and PROMPT), we chose to run an illustrative simulation. Using the median parameter values from the independent scenario results in HEK293, we generated (simulated) data for a full gene profile to represent a prototypical gene. We then fit the simulated data under the tied and independent scenarios. The result of these fits (Fig. <ref type="figure">3 E</ref>) shows the difference in shape of the PROMPT (red data) from the gene sense-strand peak (blue data), consistent with real data (Figs 1 D and 2 A). As expected, the independent fits (blue / red) are better at capturing the distinct shapes of each strand's peak than the tied scenario (purple line). The tied scenario overestimates the breadth of the sense-strand peak while at the same time underestimating that of the antisense (PROMPT) peak, in an attempt to balance the shape of the two with a single set of shape parameters. Fitting the complimentary simulation-using median values from the tied scenario results-produces accurate results under both the tied and independent configurations (see Supplementary Fig. <ref type="figure">S10</ref> ). This highlights the flexibility in the independent modeling approach to fit a variety of shapes.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Modeling the 3 end identifies termination consistency</head><p>Accurate quantification of the 3 end of gene transcription profiles has been a notoriously intransigent challenge <ref type="bibr">[ 22 ]</ref> despite the fact that nascent run-on sequencing data have been available for over 15 years <ref type="bibr">[ 6 ]</ref>. The challenge arises in part because termination is the least well studied stage of RNAP2 activity <ref type="bibr">[ 41 ]</ref>. From a modeling perspective, it is necessary to accurately identify the location of the end of the transcript profile as well as its shape-see the token example fits in Figs 1 D and 2 A. Unlike the 5 end where there are well annotated TSS, the 3 end of the transcription profile (i.e. the median point of dissociation) is not annotated. Instead, the 3 end annotation that most are familiar with refers to the end of the mature transcript (mRNA), not the end of the region transcribed by RNAP2. Additionally, nascent run-on sequencing data sets appear to exhibit a gradual decay in signal at the 3 end, making the identification of the last position of transcription highly sensitive to data quality and depth. To overcome these challenges, we include a dissociation-specific component in the LIET model (Fig. <ref type="figure">1 B</ref>) that captures the complete process of termination (see "Materials and methods" for full details).</p><p>Equipped with this new model, we sought to answer the questions: where does RNAP2 dissociate, and how consistent is it (in both location and shape) across cell-types? To this end, we calculate LIET fits on the meta-samples created from 24 different cell-types ( Supplementary Table <ref type="table">S1</ref> ) in basal / control conditions (see section "Gene and sample selection" for full details). We first examine the inferred position of dissociation, specifically asking whether the position of dissociation is reproducible across cell-types. With few exceptions, we see remarkable consistency across cell-types in the inferred position of dissociation relative to each gene's PAS (Fig. <ref type="figure">4 A</ref>). Across all genes, the median distance from annotated PAS to &#956; T location is 2478 bp (upper / lower quartiles: Q 1 , Q 3 = 1365bp, 4283bp). This is in contrast to the variation in &#956; T between genes (examples in Fig. <ref type="figure">4 B</ref>). Interestingly, we find &#8764;8% of gene fits where the inferred position of dissociation appears to be slightly upstream of the annotated PAS, but still downstream of the genes' protein-coding sequences. We observe remarkable variation in the distance traveled by RNAP2 after the cleavage and PAS. For example, highlighting 3 genes in Fig. <ref type="figure">4</ref> A (gene ID's: DSTYK, ENO1, CMPK1), RNAP2 travels roughly 10,000 bp farther downstream from the PAS at gene CMPK1 compared to gene DSTYK, the latter of which appears to terminate directly on top of the annotated PAS (Fig. <ref type="figure">4 B</ref>). Gene ENO1 demonstrates a termination position intermediate to the other two. Despite DSTYK terminating proximal to the PAS, it is more variable between cell-types and exhibits a greater spread (larger &#963; T ) in the dissociation distribution, compared to the other two examples. Despite the variation some genes exhibit across cell-type, the variation observed in the &#956; T position across genes is greater (e.g. comparing DSTYK and CMPK1). To further buttress the observed consistency, we ran a one-way, pairwise Analysis of Variance (ANOVA) on the distributions of PAS-to&#956; T distances (24 cell-types in Fig. <ref type="figure">4</ref> A and Supplementary Fig. <ref type="figure">S11</ref> ) and determined that 99% of these pairwise comparisons (274 / 276) were not significantly different ( P -adj &lt; 0.05).</p><p>We then wondered if the width of the dissociation peak ( &#963; T ) differed at a given gene between cell-types. Generally, we observe that &#963; T is also consistent (Fig. <ref type="figure">4 C</ref>) across cell-types. The median value for &#963; T is 1926bp (upper / lower quartiles: Q 1 , Q 3 = 1153bp, 3359bp). A one-way, pairwise ANOVA of the &#963; T distributions identified no statistically significant differences between cell-types ( P -adj &lt; 0.05). Notably, an alternative way of considering the consistency of the dissociation position &#956; T for a gene is to measure its variability, across cell-types, relative to the width of the inferred dissociation distribution, quantified by &#963; T (akin to a z -score). For example, consider an example gene from Fig. <ref type="figure">4</ref> B from which we can compute its average &#956; T and &#963; T across cell-types. We can then assess for each cell-type if its individual &#956; T is within x distance of the average &#956; T (see x -axis in Fig. <ref type="figure">4 D</ref>). In this manner, we can quantify the consistency of &#956; T across the cell-types for all genes in our list. We see that, on average, over 90% of a sample's inferred &#956; T values are within 1 &#963;T of each gene's average &#956; T (Fig. <ref type="figure">4 D</ref>)-further evidence for the consistency of the dissociation location. Ultimately, for those genes consistent across cell-type, the average &#956; T values ( &#956;T ) serve as a first annotation of the dissociation position, analogous to the TSS.</p><p>In contrast to the cell-type consistency of the dissociation location ( &#956; T ) and spread ( &#963; T ), the prominence of termination ( w T ) demonstrates significant cell-type specificity (Fig. <ref type="figure">4 E</ref>). Said another way, the fraction of reads present downstream of the cleavage and PAS is, on average, low in some cell-types (e.g. MCF7, LCL, and HeLa) but quite large in others (e.g. KBM7, K562, and U936). The variability in the weight of the termination component suggests this region may hold regulatory significance.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Detecting differential kinetics resulting from perturbation</head><p>One of the motivating goals of LIET was to leverage the model results towards a refined ability to identify gene specific patterns of differential RNAP2 activity, which manifest as changes to the shape of the nascent run-on sequencing data. Tools like DEseq <ref type="bibr">[ 24 ]</ref> are designed to identify changes in gene expression levels on a per-gene basis. However, each gene is reduced to a single number-total reads over an interval-and therefore they lose details of how those reads are distributed. In contrast meta-gene analysis <ref type="bibr">[ 27 ]</ref> calculates average profiles over a collection of genes but struggle to identify which genes within the set have statistically different distributions of reads. The LIET model captures not only transcription-level information ( w , w ) but also location ( &#956; L , &#956; T , &#956; L ) and shape information ( &#963; L , &#964; I , &#963; T , &#963; L , &#964; I ), and therefore should be able to detect shape changes at the individual gene level. To test this aspect of the LIET model, we examine two previously published perturbation experiments.</p><p>Using a metagene approach, an Integrator knock-down (INTS11) was previously found to prevent RNAP2 from escaping from the 5 pause state <ref type="bibr">[ 25 ]</ref>, increasing the magnitude of the 5 peak of nascent run-on data. This is a compelling result; however, it cannot tell us whether the change is a global response or if it is instead dominated by a subset of genes (an inherent limitation to meta-gene analysis). Therefore, we first asked whether LIET can recover a similar result from the fit-inferred parameter values. For each gene, we plot the normalized pausing ratio ( &#961; &#8733; w LI / w E ; computed by Equation ( <ref type="formula">15</ref>)-ratio of the LI and E weights, scaled by the widths of their respective distributions) in both control and Integrator knock-down conditions, averaging the ratio over the two replicates (Fig. <ref type="figure">5 A</ref>)-the replicates are reproducible, based on the distributions of the weight ratio seen in the inset and w LI in Fig. <ref type="figure">5 C</ref>.</p><p>In Fig. <ref type="figure">5</ref> A, we observe a clear increase in the pausing ratio at the majority of genes-given that most lay above the one-to-one line (dashed line)-indicating this knock-down is more or less a significant global perturbation (one-way pairwise ANOVA P -adj &lt; 0.05). However, the strength of this response varies dramatically gene-to-gene, with most genes showing a small response (e.g. gene RPSA) while only a small number of genes demonstrate a large response (e.g. gene ATG4C)-see Fig. <ref type="figure">5</ref> B for the fits to these example genes. Given that Integrator is known to be critically important to the termination process at small nuclear RNAs (snRNAs) and histone mRNAs <ref type="bibr">[ 50 ]</ref>, we next asked whether the 3 ends of our gene set (which contains no histone genes) were also altered in the knock-down. In this set of genes, we found no changes in the shape or location of the 3 end (distributions for &#956; T and &#963; T in Fig. <ref type="figure">5</ref> C-no significant differences in one-way pairwise ANOVA, P -adj = 0.66 and = 0.18, respectively).</p><p>It is also important to consider how the profile is actually changing: is the size of the 5 peak simply increasing (larger w LI ) or is there also a change to the shape of the peak? These two circumstances have different biological interpretations. If the only thing changing is the weight w LI (see left plot in Fig. <ref type="figure">5</ref> C), then one can say the nature of how RNAP2 undergoes loading and initiation is unchanged, but RNAP2 fails to release from pausing in the knock-down. But if one sees an increase in the initiation length &#964; I (e.g. gene ATG4C in Fig. <ref type="figure">5 B</ref>), one could also infer that the fidelity of the initiation process has decreased. In summary, we see a decrease in w E (complimentary to increase of w LI ), an increase in &#963; L , and no changes in &#956; T or &#963; T . In this way, LIET empowers us to tease apart the details of this perturbation. Plots of the distributions for all model parameter values (and their pairwise ANOVA results) for this experiment are in Supplementary Fig. <ref type="figure">S12</ref> .</p><p>The second case study we employ focuses on heat shock, as this perturbation has been used to study run-through transcription <ref type="bibr">[ 51 ]</ref>. We sought to determine whether LIET could identify changes in the position of RNAP2 dissociation in the run-through condition. For each gene, we plot the distance from the PAS to the location of &#956; T obtained from the fits (the length &#956; T -PAS, averaged over replicates) for control (37 &#8226; C) verses heat shock (42 &#8226; C) conditions (Fig. <ref type="figure">5 D</ref>). Most genes lay above the one-toone line, indicating most genes exhibit extended run-through (inset distributions indicates replicate reproducibility) in heat shock. The difference in distance traveled beyond the P AS (i.e. P AS-to&#956; T distance) is significantly different between control and heat shock (one-way pairwise ANOVA P -adj &lt; 0.05). Notably, the length of extended transcription varies gene-to-gene (distance of each point from diagonal line). For example, we highlight genes SRSF3 and YTHDF2 which show a minor shift in &#956; T under heat shock compared to the much larger downstream shift of RALB (plots of their dissociation distributions, Fig. <ref type="figure">5 E</ref>). Remarkably, there was no significant impact on the shape of the dissociation peak ( &#963; T in Fig. <ref type="figure">5</ref> F; nonsignificant in one-way pairwise ANOVA, P -adj = 0.43), suggesting that the dissociation process itself is only relocated and is not otherwise perturbed. Similarly, we see no significant differences in &#956; L , &#963; L , and &#964; I under heat-shock (one-way pairwise ANOVA, P -adj = 0.69, 0.99, and 0.79, respectively), indicating the 5 processes are consistent, which refines a previous claim of no differences at the 5 pausing region <ref type="bibr">[ 52 ]</ref>. Interestingly, we do observe a minor but statistically significant redistribution of read signal-the weights w LI and w B increase, while w E and w T decrease ( P -adj &lt; 0.05 for all). The weight changes may be explained by a minor global increase in RNAP2 recruitment and initiation under heat-shock, but more work is necessary to confirm this hypothesis. Plots of the distributions for all model parameter values (and their pairwise ANOVA results) for this experiment are in Supplementary Fig. <ref type="figure">S13</ref> .</p><p>Ultimately, these two perturbations showcase the LIET model's ability to detect changes in location, shape, and weight parameters on a gene-specific level. Thus, LIET proves itself to be a powerful tool in understanding the impact of perturbations on RNAP2 activity.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Discussion</head><p>We present a new, probabilistic RNAP2 model that leverages the fact that each stage of RNAP2 activity induces unique distributions within nascent run-on data. The model is applied on a per-gene basis, providing parameter descriptions for every gene. Changes in parameters between conditions readily identify the impact of a perturbation not only on read levels (counts) but also in the shape and positioning of key RNAP2 activity. The model is also the first to capture the RNAP2 process of terminationspecifically dissociation, which provides reproducible, data-driven annotations of the position of dissociation in both wild-type and stress conditions. The advancement in modeling capability provided by the LIET model, opens new avenues for exploring foundational regulatory mechanisms manifested in nascent run-on sequencing data.</p><p>Using the model, we find that the shape of the loading and initiation peak on the antisense-strand (the PROMPT) is inherently different than the peak on the sense-strand for the average gene. This can be seen in the dramatic differences observed in loading uncertainty ( &#963; L versus &#963; L ) and initiation length ( &#964; I versus &#964; I ) when the two strands are fit independent of one another. Our interpretation is that the pausing position of the PROMPT is less precise and further downstream of its loading location, relative to the gene-encoding strand. The PROMPT is unstable and terminates by a different mechanism than the gene <ref type="bibr">[ 53 ]</ref>, both of which may contribute to the observed difference in peak shape. Furthermore, we find that the typical strand-bias appears to be &gt; 0.5 ( &gt; 50% of RNAP2 are recruited to the sense-strand of a gene), with the median value being &#8764;0.7. However, it is intriguingly variable gene-to-gene, with many genes possessing a strand-bias counter-intuitively below 0.5 (with some as low as 0.2). The extent to which strand-bias is utilized by the cell as another regulatory mechanism is unclear. LIET provides a tool for subsequent refined studies on the transcription process at PROMPTs and how this process relates to gene regulation.</p><p>The inclusion of an explicit model of termination, focused on RNAP2 dissociation from DNA, is a major improvement from the LIET model over prior models. We capture the dissociation process and find that the position and shape is reproducible across replicates and cell-types for unperturbed cells. In fact, the shape of the dissociation peak ( &#963; T ) is largely unchanged, even in stress conditions when the position of the dissociation peak ( &#956; T ) shifts dramatically downstream. What influences the relatively precise positioning in either scenario is unclear. While the positioning of the dissociation is reproducible at any given gene, the distance traveled after cleavage is highly variable between genes. Some genes exhibit dissociation positions ( &#956; T ) immediately proximal to the PAS location whereas at other genes RNAP2 travels &gt; 10 kb downstream. Likewise the weight of the dissociation peak ( w T ) varies across cell-types, consistent with variable gene transcription levels in the region downstream of the gene. Since most nascent run-on sequencing analysis pipelines quantify genes based on the annotation, they fail to include the large fraction of reads associated with the termination process (quantified by w T ). This can have implications for understanding patterns of differential transcription elsewhere, including in the body of the gene, as a failure to account for a large fraction of mapped reads can throw off some normalization strategies. It will be important in future work to more broadly characterize run-through transcription, as the LIET framework adds a degree of quantifiability and precision to the process that was previously lacking.</p><p>Our analysis here focused on a relatively small set (163) of isolated genes, as our focus was primarily on the accuracy and reproducibility of the model. The LIET model describes RNAP2 activity at a single gene. Consequently, the presence of overlapping transcripts, e.g. enhancers within introns <ref type="bibr">[ 17 ]</ref>, complicates application of the model more broadly . Consequently , our next goal for the model is to characterize its performance when the isolation assumption is violated. Three features of the model suggest it can be applied more broadly to nonisolated genes. First, the termination component is Gaussian and occurs completely on the sense strand. This will help the model distinguish dissociation peaks from the characteristic bidirectional EMG-shaped peaks present at RNAP2 loading and initiation-a shape also inherent to enhancer transcription-that may be proximal to a gene's 3 end. Second, because LIET captures elongation as a mixture of the 5 and 3 components, enhancers-which are lowly transcribed-residing within introns may not strongly impact the model. Third, the model's strand-specific background components help to account for data beyond the bounds of the transcription profile that cannot be attributed to the profile itself. Even in cases where the density of transcription is problematic, we may find ways of leveraging details of the underlying protocol differences or orthogonal data (e.g. H3K27ac chromatin immunoprecipitation-ChIP data) to dissect the contributions of individual transcripts.</p><p>We took a conservative approach to the conceptualization and derivation of the LIET model: we based the model components on the well-established stages of RNAP2 transcription. However, we have reason to believe that the model is biologically relevant to a broader range of types of transcribed loci. For example, though the details of transcription by RNA polymerase I (RNAP1) is known to be distinct from that of RNAP2, we believe the LIET model is sufficiently flexible to capture RNAP1 loci, the results of which could be used to quantify the contrast between the two. Furthermore, by systematically comparing LIET model fits of lncRNA (or any other class of RNAP2 transcripts) to that of protein-coding genes, we can quantify any distinction in RNAP2 activity. Thus, we intend to apply the LIET model to a greater variety of loci.</p><p>A few other improvements to the LIET software would extend its utility. First, other more common protocols, such as Pol II ChIP and metabolic labeling, provide similar information (but with unique data characteristics) to nascent run-on assays. Therefore, adapting LIET to these datasets would broaden its use. Second, we will continue to find ways to make LIET more efficient, as currently it is accurate but not particularly fast. Here, we side step the efficiency issue by simple parallelization, as each individual gene can be run without regard for the others. However, for whole genome analysis or application to hundreds of samples <ref type="bibr">[ 17 ]</ref>, we will likely need more direct software improvements such as rewriting time consuming portions into C or C++. Finally, a formal framework for assessing significance of differential parameters would both add statistical power and streamline the identification of changes in the face of perturbations.</p></div></body>
		</text>
</TEI>
