sdrf-pipelines
The official SDRF-Proteomics validator and converter. Validate your sample metadata files and convert them to workflow configurations for OpenMS, MaxQuant, MSstats, and more.
Quick Start with sdrf as a command/line tool
Install python and pipx or just uv
uv:
# Install
uv tool install "sdrf-pipelines[all]"
# Validate your SDRF file
parse_sdrf validate-sdrf --sdrf_file your_file.sdrf.tsv
pipx:
# Install
pipx install "sdrf-pipelines[all]"
# Validate your SDRF file
parse_sdrf validate-sdrf --sdrf_file your_file.sdrf.tsv
That's it! Your SDRF file will be validated against the default mass spectrometry template.
Installation
| Installation | Command | Features |
|---|---|---|
| Basic | pip install sdrf-pipelines |
Structural validation + all converters |
| Full | pip install sdrf-pipelines[ontology] |
+ Ontology term validation (EFO, CL, MS, etc.) |
The basic installation validates column structure, formatting, and uniqueness. Add [ontology] to also validate that terms exist in their respective ontologies.
Usage
For detailed command documentation, see COMMANDS.md or use the built-in help:
parse_sdrf --help
parse_sdrf validate-sdrf --help
Validation Examples
# Basic validation
parse_sdrf validate-sdrf --sdrf_file sample.sdrf.tsv
# Validate with a specific template
parse_sdrf validate-sdrf --sdrf_file sample.sdrf.tsv --template human
# Skip ontology validation for quick structural checks
parse_sdrf validate-sdrf --sdrf_file sample.sdrf.tsv --skip-ontology
Converter Examples
# Convert to OpenMS format
parse_sdrf convert-openms -s sdrf.tsv
# Convert to MaxQuant format
parse_sdrf convert-maxquant -s sdrf.tsv -f database.fasta -r /path/to/raw/files
# Convert to MSstats annotation
parse_sdrf convert-msstats -s sdrf.tsv -o annotation.csv
# Convert to MHCquant format (samplesheet + search presets)
parse_sdrf convert-mhcquant -s sdrf.tsv -os samplesheet.tsv -op presets.tsv
Development
We use modern Python tooling for development:
Package Manager: uv
We use uv as our package manager for fast, reliable dependency management.
# Install uv (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Create virtual environment and install dependencies
uv sync
# Install with dev dependencies
uv sync --group dev
Code Quality: ruff + pre-commit
We use ruff for linting and formatting, and pre-commit for automated checks.
# Install pre-commit hooks
uv run pre-commit install
# Run all checks manually
uv run pre-commit run --all-files
Running Tests
uv run pytest
For more details, see CONTRIBUTING.md.
Citation
If you use this software, please cite:
Dai C, Füllgrabe A, Pfeuffer J, et al. A proteomics sample metadata representation for multiomics integration and big data analysis. Nat Commun 12, 5854 (2021). https://doi.org/10.1038/s41467-021-26111-3
For full citation details and BibTeX format, see CITATION.cff.
Metadata
Release files for sdrf-pipelines 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sdrf_pipelines-0.1.6.tar.gz | 36.7 MB | Without provenance | Details for sdrf_pipelines-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sdrf_pipelines-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for sdrf_pipelines-0.1.6-py3-none-any.whl |
Total release size: 37.3 MB
Release files / sdrf_pipelines-0.1.6.tar.gz
| Download URL | sdrf_pipelines-0.1.6.tar.gz |
|---|---|
| Size | 36.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
30fb8053e5ee206a40d6d1685204aa9224262d627773c2f9fb7a5cb04a131173
|
|
BLAKE2b-256 checksum How to use checksums |
5df5f33a35b4e6904d43518c6a0a62a7fbd5c2cb79e93e9388e789d037e08e14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / sdrf_pipelines-0.1.6-py3-none-any.whl
| Download URL | sdrf_pipelines-0.1.6-py3-none-any.whl |
|---|---|
| Size | 602.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dfe051f976ad5a07233df84ace8b274245c142ad2bd33965d894581066b6e2bf
|
|
BLAKE2b-256 checksum How to use checksums |
45fb25ac2422483d8b16157ecf530282b4945057719e81e15f8ec9458fa864a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for sdrf-pipelines 0.1.6
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.