Metadata-Version: 2.4
Name: riana
Version: 1.2.0
Summary: Riana integrates the relative abundance of isotopomers in mass spectrometry data and performs kinetics modeling.
Author-email: Edward Lau <edward.lau@cuanschutz.edu>
License-Expression: MIT
Project-URL: Homepage, https://ed-lau.github.io/riana/
Project-URL: Source, https://github.com/ed-lau/riana
Project-URL: Lau Lab, https://www.laulab.net
Keywords: scientific,turnover,kinetics,proteomics,mass-spectrometry
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: <4,>=3.10
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: pymzml<3,>=2
Requires-Dist: pyteomics<6,>=5
Requires-Dist: lxml>=4
Requires-Dist: psims>=1.3
Requires-Dist: pybaselines>=1.1
Requires-Dist: scipy>=1
Requires-Dist: pandas>=2
Requires-Dist: matplotlib<4,>=3
Requires-Dist: numpy>=1.24
Requires-Dist: tqdm<5,>=4
Requires-Dist: scikit-learn>=1
Requires-Dist: statsmodels>=0.14
Requires-Dist: IsoSpecPy>=2
Requires-Dist: typer>=0.12
Provides-Extra: dev
Requires-Dist: pytest>=7; extra == "dev"
Requires-Dist: pytest-cov>=4; extra == "dev"
Requires-Dist: pytest-xdist>=3; extra == "dev"
Requires-Dist: pyarrow>=14; extra == "dev"
Requires-Dist: mypy>=1.11; extra == "dev"
Provides-Extra: dia
Requires-Dist: pyarrow>=14; extra == "dia"
Provides-Extra: gui
Requires-Dist: PySide6>=6.6; extra == "gui"
Requires-Dist: qasync>=0.27; extra == "gui"
Requires-Dist: pyqtgraph>=0.13; extra == "gui"
Provides-Extra: packaging
Requires-Dist: pyinstaller>=6; extra == "packaging"
Dynamic: license-file

[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.10614233.svg)](https://doi.org/10.5281/zenodo.10614233)

# Riana — Relative Isotope Abundance Analyzer

Riana measures protein turnover from mass spectrometry experiments with metabolic
heavy water (D₂O) or ¹⁸O water labeling. It integrates each peptide's MS1 isotopomer
envelope from mzML, using identifications from quantms (mzTab, DDA), DIA-NN
(`report.parquet`, DIA) or Percolator; fits turnover rate constants; rolls peptides
up to proteins; and tests turnover differences between conditions, including across
tissues of the same animals. A desktop app (`riana gui`) runs the same steps.

**Documentation: <https://ed-lau.github.io/riana/>**
— [Quick Start](https://ed-lau.github.io/riana/install.html) ·
[How it works](https://ed-lau.github.io/riana/about.html) ·
[CLI Reference](https://ed-lau.github.io/riana/reference.html) ·
[FAQ](https://ed-lau.github.io/riana/faqs.html) ·
[Change Log](https://ed-lau.github.io/riana/change.html)

## Install

Riana requires Python 3.10 or newer.

```bash
pip install riana            # command line
pip install "riana[gui]"     # + the desktop app
pip install "riana[dia]"     # + DIA-NN report.parquet intake
```

For development, from a clone: `pip install -e ".[dev]"`.

## Quickstart

Describe the experiment in an SDRF sample sheet, then:

```bash
riana integrate <mzml_dir> report.mzTab --sdrf samplesheet.sdrf.tsv --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
```

The last step reports each protein's turnover rate per condition and the difference
between conditions (Δk) with adjusted p-values. See the
[Quick Start](https://ed-lau.github.io/riana/install.html) for the SDRF columns,
multi-tissue designs and the outputs, and `riana <command> --help` for every option.

## Citation

If you use Riana in published work, please consider citing:

> Alamillo, L. et al. *Protocol to Measure Protein Half-Life in Cell Culture Using Heavy Water*. STAR Protoc. 2026
> <https://doi.org/10.1016/j.xpro.2026.104426>

> Currie, J. et al. *Improved Method to Determine Protein Turnover Rates with Heavy Water Labeling by Mass Isotopomer Ratio Selection*. J Proteome Res. 2025
> <https://doi.org/10.1021/acs.jproteome.4c01012>

> Alamillo, L. et al. *Deuterium Labeling Enables Proteome Wide Turnover Kinetics in Cell Culture*. Cell Rep Methods. 2025
> <https://doi.org/10.1016/j.crmeth.2025.101104>

> Hammond, D. et al. *Harmonizing Labeling and Analytical Strategies to Obtain Protein Turnover Rates in Intact Adult Animals*. Mol Cell Proteomics. 2022
> <https://doi.org/10.1016/j.mcpro.2022.100252>

## Contributing

Bug reports and pull requests are welcome at <https://github.com/ed-lau/riana/issues>.
`CHANGELOG.md` records what has shipped and `PROJECT_REVIEW.md` the roadmap.
The CLI Reference page is generated from the command line
(`python riana_website/_gen_reference.py`); a test fails if it is out of date.

## License

MIT — see [LICENSE.md](LICENSE.md).
