Quick Start
Protein turnover, Proteomics, Mass spectrometry
Installing RIANA
RIANA needs Python 3.10 or newer. We recommend a virtual environment.
$ pip install rianaTwo optional extras add the desktop app and the DIA-NN reader:
$ pip install "riana[gui]" # PySide6 desktop app (riana gui)
$ pip install "riana[dia]" # DIA-NN report.parquet intakeCheck the installation and list the commands:
$ riana --helpFrom a clone of the repository, a single bovine serum albumin run (Q-Exactive) integrates in seconds and writes out/test/time0_riana.txt:
$ riana integrate tests/data/sample1/ tests/data/sample1/percolator.target.psms.txt -q 0.1 -o out/test/Preparing the inputs
RIANA does not search spectra itself. Run the identification upstream: quantms for DDA (it writes an mzTab) or DIA-NN for DIA (it writes a report.parquet). RIANA reads those identifications and extracts the MS1 isotopomers from the mzML files itself.
RIANA reads mzML (plain or gzipped). Convert vendor files (e.g., Thermo .raw) with msconvert from ProteoWizard or ThermoRawFileParser, with peak picking on, so MS1 is centroided: the integration mass window assumes centroid data and is taken from the SDRF’s precursor mass tolerance by default.
Bruker timsTOF (diaPASEF, searched by DIA-NN on the .d folders): convert with tdf2mzml without ion mobility, so each MS1 frame is one spectrum summed over mobility. Ion-mobility-resolved mzML (one entry per mobility scan) is not used yet.
The SDRF sample sheet
An SDRF sample sheet (.sdrf.tsv, one row per run, or per channel for multiplexed runs) describes the experiment. quantms uses the same sheet. RIANA reads these columns and ignores the rest:
| Column | Used for |
|---|---|
comment[data file] |
Joins the row to its mzML file (extension ignored). |
source name |
The sample. |
characteristics[labeling time] |
The labeling time, e.g. 7 day (time-series experiments). |
characteristics[mixing proportion] |
Instead of labeling time, for labeled/unlabeled mixing calibrations. |
characteristics[biological replicate] |
Biological replicate number; replicates stay separate points in the fit. |
characteristics[individual] |
Optional: the animal a sample came from (see below). |
factor value[...] |
The condition (several factor columns are joined with |). |
characteristics[precursor enrichment] |
Precursor enrichment, e.g. 0.046 for 4.6 % body-water D2O. |
comment[proteomics data acquisition method] |
DDA or DIA. |
comment[precursor mass tolerance] |
Integration mass window, e.g. 10 ppm. |
comment[fraction identifier], comment[technical replicate] |
Fractions and technical replicates of one sample, combined before fitting. |
comment[modification parameters] |
Modifications searched. |
comment[label] |
Multiplexing channel (TMT, dimethyl). |
Exactly one of labeling time or mixing proportion must be present.
Animals. If one animal provides several samples (e.g. four heart chambers), give it the same characteristics[individual] on all of its rows, with IDs unique across groups. RIANA uses it for the random animal effect of the interaction test (below). Without it, RIANA identifies an animal by condition × labeling time × biological replicate, which is right only if each replicate number names the same animal in every tissue and each animal is sampled at one time. Serial sampling of the same animal needs real IDs.
Running a project
Point integrate at the folder of mzML files, the identification file and the SDRF. RIANA writes one <run>_riana.txt per run plus a riana_manifest.tsv that indexes the project. fit and rollup read the manifest, so runs are grouped by their SDRF identity rather than by file name, and write their outputs next to it (-o elsewhere forks a copy of the project there instead).
# 1. Integrate every run (one mzML in memory per worker)
$ riana integrate /path/to/mzml report.mzTab --sdrf samplesheet.sdrf.tsv \
--workers 4 --out ./out
# 2. Fit each peptidoform's turnover curve
$ riana fit --manifest ./out/riana_manifest.tsv \
--coefficients deberneh_2025_rss --depth 3 --workers 4
# 3. Roll peptides up to proteins
$ riana rollup --manifest ./out/riana_manifest.tsv --workers 4For DIA, pass the DIA-NN report.parquet as the identification file; the SDRF declares the acquisition as DIA. For DDA, integrate --mbr recovers timepoints a peptide missed by chance (match-between-runs). --coefficients picks the labeling-site table; deberneh_2025_rss is recommended for D2O, and 18O water uses its own tables (--label o18, see the Documentation). The precursor enrichment comes from the SDRF; --ria overrides it.
Comparing two conditions
$ riana rollup --manifest ./out/riana_manifest.tsv \
--model linear --reference-condition controllinear fits each protein’s conditions together and reports, per protein, the turnover difference delta_k = k(test) − k(reference) with a p-value and a Benjamini–Hochberg-adjusted delta_k_p_adj. With more than two conditions, name the pair with --test-condition.
Several tissues from the same animals
Split the runs into one experiment per tissue at integration, then compare conditions within each:
$ riana integrate /path/to/mzml report.parquet --sdrf samplesheet.sdrf.tsv \
--experiment-column "characteristics[organism part]" --workers 4 --out ./out
$ riana fit --manifest ./out/riana_manifest.tsv --coefficients deberneh_2025_rss
$ riana rollup --manifest ./out/riana_manifest.tsv --model linear \
--reference-condition control --interaction --plot- Δk is computed and BH-adjusted within each tissue.
--plotwrites a PDF of φ-space curves per tissue.--interactionalso fits each protein across the tissues, with a random effect for the animal, and tests whether the condition effect differs between them (riana_rollup_interaction.txt). It compares two conditions.
The desktop app
riana gui opens the same steps as forms: Integrate (with an Experiment from choice for splitting runs by an SDRF column), Model (fit) and Protein (rollup, with the Interaction option for linear). Each tab can load a project’s saved results without recomputing, and shows chromatograms, fitted curves and φ-space plots for the selected row.
Single-run (Percolator) path
Without --sdrf, the identification file is read as a Percolator target.psms.txt for one mzML, and the sample name carries the timepoint:
$ riana integrate /path/to/mzml percolator.target.psms.txt --sample time1 -o ./out
$ riana fit ./out/time0_riana.txt ./out/time1_riana.txt ./out/time3_riana.txt \
--coefficients deberneh_2025_rss --ria 0.06 --out ./outOutput
Every output file starts with a provenance header (RIANA version, settings, input).
| File | Contents |
|---|---|
<run>_riana.txt |
One row per identification, one column per integrated isotopomer (iso0, iso1, …), plus mass-accuracy columns. |
riana_manifest.tsv |
The project index: each run’s identity and every stage’s outputs. |
riana_fit_peptides.txt |
Per peptidoform: k_deg, its confidence interval, R², and point counts. |
riana_fit_fractions.txt |
Per peptidoform and timepoint: the fraction of new protein (θ, column fs) with its prediction interval. |
riana_rollup_proteins.txt |
Per protein (and experiment, condition): k_deg, and delta_k / delta_k_p_adj under linear. |
riana_rollup_fractions.txt |
The collapsed per-replicate, per-timepoint θ each protein was fitted on (with --level peptide, the display points). |
riana_rollup_interaction.txt |
With --interaction: per-tissue k and Δk from the joint fit, and the interaction tests. |
Half-life is ln(2) / k_deg. Every option is listed in the CLI Reference.