Documentation
Protein turnover, Proteomics, Mass spectrometry
Basics
RIANA has three steps, run as riana integrate, riana fit and riana rollup, and a desktop app, riana gui, that runs the same steps from forms. A project is set up from an SDRF sample sheet (see the Quick Start). This page explains what each step does; the CLI Reference lists every option, and riana <command> --help prints the same.
Integrate
integrate reads the mzML files with the peptide identifications: a quantms mzTab (DDA) or a DIA-NN report.parquet (DIA) for a project described by an SDRF (--sdrf), or a Percolator target.psms.txt for a single run. Identifications above the q-value threshold (-q, default 0.01) are dropped. Each modified peptidoform is integrated at its own mass.
For each peptide and charge, RIANA computes the m/z of the unlabeled isotopomer (m0) and of the following ones (--iso, default 5 = m0–m5, the envelope the D2O fit uses; auto picks the channels per peptide from its expected labeled envelope). It extracts each isotopomer’s intensity over retention time within the mass tolerance (--mass_tol, default from the SDRF, else 10 ppm), finds the chromatographic apex near the identification and integrates a narrow window around it (--integration-half-width, default 0.15 min; set it to your peak width). The 0.9.0 fixed-width window is still available with --peak-rt ms2 --integration-half-width 1.0. DIA identifications are placed at the MS1 scan nearest DIA-NN’s apex retention time.
On the SDRF path, RIANA writes one <run>_riana.txt per run and records it in riana_manifest.tsv. With an mzTab it first checks that each mzML matches its identifications (the identified scans must carry the identified precursor m/z), which catches mismatched file pairings. --experiment-column splits the runs into experiments by an SDRF column (e.g. one per tissue), and --mbr (DDA only) transfers an identification into runs of the same curve that missed it, keeping only transfers with a clear peak.

Fit
fit turns each peptidoform’s isotopomer envelopes over the labeling time into a turnover rate. With --manifest, runs are grouped into one curve per (experiment, condition), replicates kept as separate points.
Fraction of new protein
At each timepoint RIANA solves θ, the fraction of the peptide that is newly synthesized, from the whole isotopomer envelope. An IsoSpec forward model predicts the envelope of old (natural-abundance) and fully labeled new peptide; θ is the mixture of the two that best matches the observed envelope. The labeled envelope depends on how many labeling sites the peptide has, which RIANA estimates from its sequence with a coefficient table (--coefficients) and on the precursor enrichment (from the SDRF, or --ria):
- Heavy water (
--label hw, default): a per-amino-acid table of deuterium-labeling sites. Presets:deberneh_2025_rss(recommended),ilchenko_2019,commerford_1983, and the cell-culture calibrationsalamillo_2025_ac16,alamillo_2025_ipsc,alamillo_2025_cm; or a CSV of(amino_acid, coefficient). - 18O water (
--label o18): a peptide-length model. Presets:juber_2026_o18_ac16(cell culture) andrachdaoui_2009_o18(mouse); or a CSV of(feature, coefficient).
--fs restricts the solve to the leading isotopomers (e.g. 3 = m0–m3) when the heavier channels carry co-eluting interference.
Kinetic models
θ over labeling time t is fitted for the turnover rate constant k:
exponential(default; namedsimplebefore 1.2, a name no longer accepted), one compartment: \(\theta(t) = 1 - e^{-kt}\). A precursor that rises after labeling starts is handled at the fit (--kp, below), not by a different curve.calibration, for mixing experiments: θ against the known labeled proportion, a line through the origin whose slope is the recovery (chosen automatically when the SDRF has a mixing proportion).
Confidence intervals come from a residual bootstrap. With a single labeling time (e.g. a TMT or dimethyl experiment) k is solved directly from θ.
Each peptide’s R² comes from the same fit: 1 − SSres/SStot of its θ values (t = 0 included) around the fitted curve, unweighted. It is the statistic the rollup’s admission gate reads (see Rollup).
--kp, experimental)
Experimental in 1.2: validated on simulations, not yet on a dataset with a measured precursor (see the roadmap). Check results against your own expectations before relying on absolute k.
Without a priming dose the D2O precursor rises over days, so molecules made early carry less than the plateau label. Give the precursor rate constant \(k_p\) (per labeling-time unit; the precursor rises as \(1 - e^{-k_p t}\)) in the SDRF column characteristics[precursor rate constant] or with fit --kp, and fit solves each timepoint’s envelope with the precursor built in. fs then holds the fraction of protein made since labeling began, \(f = 1 - e^{-kt}\), which stays first-order, so the rollup models apply unchanged — run rollup --model linear with the default weights, (1 − f̂)² (D2O, --label hw, only; --kp inf forces the precursor at plateau). The rollup records the fit header’s fs_basis in its own header. (This replaces the guan and fornasiero models, removed in 1.2: fitting θ with a lagging-precursor curve biased k.)
The peptide fit and its R² then run on label content A, the peptide’s mean enrichment as a fraction of the plateau enrichment (to first order, what the envelope’s mean mass shift reads):
- Each timepoint’s envelope gives its own \(k_i\), and from it the observed label content \(A_i = A(t_i; k_i)\).
- The peptide’s k is fitted to the \(A_i\) by unweighted least squares with \[A(t; k) = 1 - \frac{k_p e^{-kt} - k e^{-k_p t}}{k_p - k},\] the curve of Guan et al. 2012 (PMID 22444387) with \(k_p\) fixed (it becomes \(1 - e^{-kt}\) as \(k_p \to \infty\)).
- R² and the uncertainty of k come from that fit exactly as today, so the admission gate is unchanged.
Under a rising precursor neither θ nor f suits this fit. θ reads each envelope as a mixture of the unlabeled and the plateau envelopes, which no longer gives the mean enrichment. f is unstable early: no protein can carry more label than the precursor has reached, so while the precursor is a few percent of plateau the envelope noise spans the whole range of f.
| precursor at plateau | rising precursor | |
|---|---|---|
| per-timepoint value | θ from the two-envelope solve | \(k_i\) from the precursor-aware solve → \(A_i\) and \(f_i\) |
| peptide curve | \(1 - e^{-kt}\) | the curve above, \(k_p\) fixed |
| fit | least squares on θ, unweighted | the same, on \(A_i\) |
| R² | 1 − SSres/SStot on θ | the same, on A |
| uncertainty of k | residual bootstrap | the same |
| passed to rollup | θ | f, with its variance |
Curation at fit
--depth(default 3): a peptidoform must be seen at this many distinct timepoints.--min-spep: drop peptides with too few labeling sites for their envelope to shift measurably (default 8 for D2O, 6 for 18O).- Timepoints whose θ falls outside the physical range (beyond −0.05 or 1.05) are failed solves and are dropped before fitting.
- Fractions and technical replicates of one sample are summed before θ is solved (
--fraction-collapse).
Rollup
rollup turns peptide fits into protein turnover.
Attribution. Only peptides unique to one protein contribute (--parsimony unique); isoform also folds isoform-shared peptides into the canonical entry.
Admission. A peptide enters the protein fit if its own fit has R² ≥ 0.8 (--min-r2), or, for a flat curve with a low R², if k is still tightly estimated (relative uncertainty below --k-cv). One such peptide reports a protein (--min-peptides, default 1). In a multi-condition rollup the gate is applied per condition. For the linear Δk at the protein level a peptide is used only if it passes in both conditions, so the two sides rest on the same peptides (--peptide-admission all); at the peptide level and for the exponential model each condition keeps the peptides that pass there (own). The default auto picks between them; any keeps a peptide everywhere once it passes somewhere. A linear Δk uses only the two conditions it compares, and needs at least one peptide measured in both.
Protein k. Within each biological replicate and timepoint, the peptides’ θ are combined by inverse-variance weighting, and k is refitted on those points (--level protein, the default). The median of the peptides’ k is reported alongside.
Comparing conditions (linear, the default)
--model linear (the default since 1.2; named linear simple before, no longer accepted) linearizes the exponential model, φ = log(1 − θ) = −k t, and fits a protein’s conditions together by weighted least squares (weights from the delta method, which keeps the noisy near-plateau points from dominating; points past --phi-limit are dropped). It reports each condition’s k and the difference Δk = k(test) − k(reference), with a t-test and Benjamini–Hochberg adjustment within each experiment. --reference-condition and --test-condition choose the pair; an experiment with more than two conditions needs both. --plot writes the φ-space curves to a PDF per experiment. --model exponential (the default before 1.2) refits θ = 1 − e^(−kt) per condition instead, with no Δk.
Each timepoint’s point is an inverse-variance average of the protein’s peptides. Under linear each peptide carries one precision level across the conditions (its level pooled over them; the change over time within a condition is kept), so both conditions average the same peptides in the same proportions. With levels taken separately per condition, peptides that differ in apparent k could produce a Δk that is not turnover.
Peptide level (--level peptide). Instead of collapsing the peptides, this fits one mixed model per protein to the peptides’ own points: \[\varphi = -(k_c + b_p)\,t + u_\text{time}\,t + v_\text{animal}\,t + \varepsilon\] with a fixed slope per condition \(k_c\), fixed peptide slope offsets \(b_p\) (summing to zero, shared by the conditions, so a peptide’s own offset cannot enter Δk), and random slopes per labeling time (shared by every sample taken then) and per animal. When the same animal carries both conditions (e.g. two tissues of one mouse, with characteristics[individual] in the SDRF), the animal’s shared part cancels from Δk: the comparison is paired, detected from the data. Points are weighted as in the protein-level fit. In the evaluation on real nulls and a calibrated simulation it held the false-positive rate and had more power than the collapse (about 1.1× at equal size), at the cost of run time (about a minute for a 1,000-protein, four-tissue project with 14 workers). The table adds the Δk degrees of freedom, the number of animals, whether the test was paired, which random effects were fitted (time; animal when an animal is sampled at several times or there are fewer than three times; none as the last fallback) and their SDs. riana_rollup_fractions.txt still holds the collapsed points, for display.
Tissues of the same animals (--interaction)
When the experiments are tissues sampled from the same animals, the per-tissue Δk answer “does the condition change turnover in this tissue?”. --interaction asks whether the effect differs between tissues. Each protein is fitted across tissues at once, with a random slope per animal: an animal’s tissues share its overall labeling and turnover, so treating them as independent would overstate the evidence. The animal is the SDRF’s characteristics[individual], else condition × labeling time × biological replicate. Points are weighted as in the per-tissue fits. Three tests are reported per protein, each BH-adjusted across proteins:
- Interaction, ratio scale (primary): is k(test)/k(reference) the same in every tissue? A condition that slows every tissue by the same proportion is not an interaction on this scale. Denominator degrees of freedom by Satterthwaite’s method.
- Interaction, additive scale: are the Δk equal across tissues?
- Mean Δk across tissues: the overall condition effect, tested between animals.
The fit matches R’s nlme and lme4/lmerTest on reference data. In the desktop app, check Interaction on the Protein tab.
With --level peptide the joint fit runs on the peptides’ own points, with peptide offsets within each tissue and random slopes per labeling time, animal, animal × tissue and tissue × labeling time. Its tests use containment degrees of freedom. On the ATF6 permutation null it held the false-positive rate on both scales, where the collapsed fit is close to the bound on the ratio scale and above it on the additive scale.
Variable-modification peptidoforms are integrated at their own m/z and isotopomer envelope. Phosphorylated and lysine-acetylated peptidoforms roll up as distinct proteoforms (e.g. P12345_pS235, P12345_acK106). Modifications that do not change the protein’s identity or reset its labeling clock fold into the bare protein: protein N-terminal acetylation, methionine oxidation (oxidized and unoxidized forms are merged onto one curve), and TMT/TMTpro tags.