Skip to main content

ProteoFlux

PyPI Python >=3.11 Scientific tests License: MIT DOI: 10.5281/zenodo.18640998

ProteoFlux is an open-source Python framework for transparent, reproducible downstream analysis of quantitative proteomics data.

Documentation: Configuration · Results and H5AD fields · Contributing and support

It operates on quantitative outputs generated by upstream search and quantification tools and provides a unified workflow for:

  • Protein-centric proteomics
  • Peptide-centric analyses
  • Phosphoproteomics (with optional protein-level covariate adjustment)
  • PELSA analyses

Open the generated .h5ad files in ProteoViewer to explore the results interactively.

ProteoFlux emphasizes:

  • Explicit data semantics
  • Transparent preprocessing
  • Explicit statistical models and testing scopes
  • Seeded stochastic methods and inspectable outputs

Overview

ProteoFlux overview

ProteoFlux takes a single YAML configuration file and produces:

  • Harmonized and preprocessed quantification data
  • Differential expression using the InMoose implementation of limma; separate 4PL dose-response fitting for PELSA
  • Optional KSEA or PhosX kinase activity analysis for phosphoproteomics
  • Principal component analysis (PCA), multidimensional scaling (MDS), and hierarchical clustering
  • An optional structured multi-page PDF report
  • Portable .h5ad files compatible with ProteoViewer
  • Optional summary tables in Excel

Installation

Python ≥3.11 is required. We recommend Python 3.13 in a dedicated environment; CI tests Python 3.11, 3.12 and 3.13. The scientific reference environment is listed in tests/constraints.txt.

PhosX is pinned to 0.23.1 because ProteoFlux uses its version-specific interfaces. Keep the dependency versions, configuration, input ordering and random seeds when reproducing results; a seed alone does not make results independent of input order or dependency changes.

python -m pip install proteoflux

Install from source (development)

git clone https://github.com/afanc/proteoflux.git
cd proteoflux
python -m pip install -e .

This installs ProteoFlux in editable mode.


Quickstart (CLI)

List available configuration templates:

proteoflux templates

Create a template:

proteoflux init spectronaut-proteomics --path config.yaml

Edit paths, column mappings and analysis settings before running. Relative paths resolve from your current working directory, not from the YAML file’s directory. Template choices can differ from runtime defaults; see the configuration guide. PELSA is available as proteoflux init spectronaut-pelsa --path config.yaml.

Run the pipeline:

proteoflux run --config config.yaml

Output Files

File Description
*.h5ad Required output: processed values in X, raw/log/normalized layers, statistics, evidence and metadata
*.xlsx Optional summary and evidence tables; curve results for PELSA
*.pdf Optional multi-page QC and analysis report

See output semantics for matrix axes, missingness and the meaning of “raw.” Preserve the original input files and YAML separately.

The .h5ad files are compatible with ProteoViewer, an interactive visualization tool for ProteoFlux outputs.


Using ProteoFlux as a Python Library

ProteoFlux can also be used programmatically:

import yaml
from proteoflux.main import run_pipeline

with open("config.yaml") as stream:
    config = yaml.safe_load(stream)  # or supply a dictionary
run_pipeline(config)

This allows:

  • Integration into larger workflows
  • Batch processing
  • Use inside Jupyter notebooks
  • Custom downstream analysis of AnnData objects

The library accepts the same configuration dictionary as the CLI. run_pipeline writes the configured outputs and returns None. Read the saved object with anndata.read_h5ad(...) for downstream work. To obtain preprocessing results only, use proteoflux.workflow.dataset.Dataset(**config).get_anndata(); this does not run differential/kinase/PELSA analysis or export results.


Configuration

All parameters are defined in a single YAML configuration file. We recommend starting with a template:

proteoflux templates
proteoflux init TEMPLATE_NAME

Full parameter reference:

See the configuration guide docs/CONFIGURATION.md. Quantitative inference uses log2 values: start normalization with log2 for linear inputs. Phospho background adjustment uses a fixed unit slope. If any condition in the selected contrasts has one sample, the whole analysis is pilot. See 1.10.4 behavior changes before reusing older configs.


Examples

Runnable, reduced example datasets and matching configs are provided under examples/:

  • examples/searle_small/: small DIA proteomics example (Spectronaut export subset)
  • examples/phospho_small/: phosphoproteomics example with an injected flow-through covariate run (Spectronaut export subsets)
  • examples/pelsa_small/: small pelsa analysis example (Spectronaut export subsets)

Each example folder contains a README.md with a minimal command to run the pipeline (typically proteoflux run --config <config>.yaml) and the required input files (data + annotation, if applicable).


Paper

The manuscript source is provided as paper.md.


License

ProteoFlux source is released under the MIT License. See the LICENSE file for details. Its separately distributed InMoose fork (inmoose-proteoflux) is GPL-3.0-or-later; its own distribution retains the InMoose license and author attribution.


Citation

If you use ProteoFlux in your work, please cite:

ProteoFlux (latest version).
Zenodo. https://doi.org/10.5281/zenodo.18640998

Metadata

Release files for proteoflux 1.10.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for proteoflux 1.10.5
File Size Uploaded Provenance Actions
proteoflux-1.10.5.tar.gz 177.4 kB With provenance Details for proteoflux-1.10.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for proteoflux 1.10.5
File Interpreter ABI Platform Actions
proteoflux-1.10.5-py3-none-any.whl Python 3 none any Details for proteoflux-1.10.5-py3-none-any.whl

Total release size: 376.8 kB

Release files / proteoflux-1.10.5.tar.gz

Download URL proteoflux-1.10.5.tar.gz
Size 177.4 kB
Tags Source
SHA-256 checksum
How to use checksums
94f900e7e8f717338b8d3c16113596933ae3728b56146c8a47aeb599ae223f3e
BLAKE2b-256 checksum
How to use checksums
8c96a520427a6ef8a44a6fe6fc31f4f4d757fc8e895c0e02df8665ab0437da54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / proteoflux-1.10.5-py3-none-any.whl

Download URL proteoflux-1.10.5-py3-none-any.whl
Size 199.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45978bbf893fdf772b08b334f7bb22cde7ac2786dd4793839c682dbc5c8b01ef
BLAKE2b-256 checksum
How to use checksums
9aa6f5c27caaad434dbf1330e3269ad4d29b1e561d442962621006a5ef026d7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Security for proteoflux 1.10.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for proteoflux-1.10.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page