MPRAlib
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 ofreporter-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
Links
Metadata
Release files for mpralib 0.10.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 | |
|---|---|---|---|
| mpralib-0.10.6.tar.gz | 51.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mpralib-0.10.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 88.8 kB
Release files / mpralib-0.10.6.tar.gz
| Download URL | mpralib-0.10.6.tar.gz |
|---|---|
| Size | 51.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d5ae04827c6537456d3085c626a352f83c1384138edf8f06eef033e92dca24ab
|
|
BLAKE2b-256 checksum How to use checksums |
18fc817e67382f000184c8f2046d09f6af5ee3d3c1e589c6b0c3e33b1e044605
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / mpralib-0.10.6-py3-none-any.whl
| Download URL | mpralib-0.10.6-py3-none-any.whl |
|---|---|
| Size | 37.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7836de7d843ce2dbe2dd00e2e876601485d3cb37f271d7f133bbb4a78995edb2
|
|
BLAKE2b-256 checksum How to use checksums |
8437d277d6b674f4e1883d8e341ff5a21fbe87e5d4011aa36dd378df60fd25b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|