Library to analyze count data of MPRA experiments.
Project description
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 out recent preprint:
Uniform processing and analysis of IGVF massively parallel reporter assay data with MPRAsnakeflow Jonathan D. Rosen, Arjun Devadas Vasanthakumari, Kilian Salomon, Nikola de Lange, Pyaree Mohan Dash, Pia Keukeleire, Ali Hassan, Alejandro Barrera, Martin Kircher, Michael I. Love, Max Schubach bioRxiv (2025). 2025.09.25.678548
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mpralib-0.9.1.tar.gz.
File metadata
- Download URL: mpralib-0.9.1.tar.gz
- Upload date:
- Size: 50.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2794396a05cde29d60eedf0a4d3859df8d646dd346754137cc8717bfc33cc0c7
|
|
| MD5 |
a5a4eb7dcaec5610b5afc915ce0e3f9f
|
|
| BLAKE2b-256 |
b9a8aad3bdbed097e666cf9718aca5479e11bedea2ee56108683211805a217dd
|
File details
Details for the file mpralib-0.9.1-py3-none-any.whl.
File metadata
- Download URL: mpralib-0.9.1-py3-none-any.whl
- Upload date:
- Size: 37.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffc1b281a1168c225718ed1d126126c95953615fbc6f715b915cba99cdd779aa
|
|
| MD5 |
58a3a7e509111842f2033de221fff98a
|
|
| BLAKE2b-256 |
f45ae6ba49a32841e76113a638b0bedda4a52a6fdc0e5576220bdd510afabf23
|