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

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.0
File Size Uploaded
mpralib-0.11.0.tar.gz 52.4 kB Details

Built distribution (wheel)

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

Total release size: 90.1 kB

Release files / mpralib-0.11.0.tar.gz

Download URL mpralib-0.11.0.tar.gz
Size 52.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4fe62972a917f72994057fb31b1e63a7054f36100d6b13bc822c29fb5ccc9644
BLAKE2b-256 checksum
How to use checksums
ca6a1cc678e4892e29c0c0dd85ad2aa3da6c979efa82aa29bb7498e84eea196c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL mpralib-0.11.0-py3-none-any.whl
Size 37.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
365e6d7bfb9e6712ba74a120ec0d57852a7b67b689d83d72e383d0885105a4a3
BLAKE2b-256 checksum
How to use checksums
bd2bf5a778411ec1d5885bafab911c04a04278b4ce5ff23f10c43e6b00cc79e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.11.0 This release

2 release files

0.10.6

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.0

2 release files

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