Skip to main content

MPRAlib

Documentation Status DOI GitHub License GitHub Release PyPI version Bioconda Version Tests Coverage badge GitHub Issues GitHub Pull Requests

MPRAlib is a Python library and CLI for processing MPRA (Massively Parallel Reporter Assay) data.

Citation

If you use MPRAlib in your work, please cite:

Rosen JD, Vasanthakumari AD, Salomon K, de Lange N, Dash PM, Keukeleire P, Hassan A, Barrera A, Krupkin B, Oualline G, Kircher M, Love MI, Schubach M. Uniform processing and analysis of IGVF massively parallel reporter assay data with MPRAsnakeflow. Genome Research (2025). doi: 10.1101/gr.281462.125

Installation

PyPI

pip install mpralib

Conda

From the bioconda channel

conda install -c bioconda mpralib

Usage

Command Line Interface

Use the mpralib command to access various functionalities.

Validate a file

MPRAlib provides a CLI tool for validating MPRA data files against supported schemas.

mpralib validate-file <schema> --input <input_file>
  • <schema>: One of reporter-sequence-design, reporter-barcode-to-element-mapping, reporter-experiment-barcode, reporter-experiment, reporter-element, reporter-variant, reporter-genomic-element, reporter-genomic-variant
  • <input_file>: Path to your data file (e.g., .tsv.gz, .bed.gz)

Example:

mpralib validate-file reporter-sequence-design --input data/reporter_sequence_design.example.tsv.gz

Python API

In general MPRAlib is ment to be used as a library. Please have a look at our notebook mpralib.ipynb for a more detailed example.

License

MIT License

Metadata

Release files for mpralib 0.11.2

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

Source distribution (sdist)

Source distribution for mpralib 0.11.2
File Size Uploaded Provenance Actions
mpralib-0.11.2.tar.gz 55.2 kB Without provenance Details for mpralib-0.11.2.tar.gz

Built distribution (wheel)

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

Total release size: 94.4 kB

Release files / mpralib-0.11.2.tar.gz

Download URL mpralib-0.11.2.tar.gz
Size 55.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d134aa25449ca0ab115d285dee65fda7a18f353d5df7fd4bdf06e37a330aac5a
BLAKE2b-256 checksum
How to use checksums
3b7a9a6ddfc1cc06e8e148b48f7b6026103ee61eba3d98b7fef5b23031e207a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / mpralib-0.11.2-py3-none-any.whl

Download URL mpralib-0.11.2-py3-none-any.whl
Size 39.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5912ac8681adbfb44920ac0566d9f8a47a9487a59afbace13a7da444de722d2a
BLAKE2b-256 checksum
How to use checksums
8ccab1041172f4837a3e60889e23c357d2b09f003e430410c113b8da2992e729
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for mpralib 0.11.2

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.

Release history Release notifications | RSS feed

This release

0.11.2 This release

2 release files No provenance

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