Skip to main content

ProteoFlux

PyPI Python >=3.10 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.

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

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.10 is required. We recommend Python 3.13 in a dedicated environment; CI tests Python 3.11 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 is released under the MIT License. See the LICENSE file for details.


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.4

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.4
File Size Uploaded Provenance Actions
proteoflux-1.10.4.tar.gz 173.1 kB With provenance Details for proteoflux-1.10.4.tar.gz

Built distribution (wheel)

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

Total release size: 367.6 kB

Release files / proteoflux-1.10.4.tar.gz

Download URL proteoflux-1.10.4.tar.gz
Size 173.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ab9f7d1a4813d61e549689ea24b1fa4528dab7ca0456876db5d74a077a9f80c4
BLAKE2b-256 checksum
How to use checksums
e0785bcce03bfbfb09e2c4422df768e69218186f0ddb2c34fa5c49c216d746b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 19, 2026.

Transparency log

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

Download URL proteoflux-1.10.4-py3-none-any.whl
Size 194.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a4b13835cee79a527f4d438a0b61321db6322a2a4bbe0c3f5810f876a1897846
BLAKE2b-256 checksum
How to use checksums
c265a2a268a2af6797c584d891ebb3093b4606fa3c8b266a26394e31ab41b307
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 19, 2026.

Transparency log

Security for proteoflux 1.10.4

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.4.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 Oct 19, 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