Skip to main content

Library to analyze count data of MPRA experiments.

Project description

MPRAlib

Documentation Status Tests Coverage badge PyPI version Bioconda Version

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

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

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mpralib-0.9.0.tar.gz (49.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mpralib-0.9.0-py3-none-any.whl (36.6 kB view details)

Uploaded Python 3

File details

Details for the file mpralib-0.9.0.tar.gz.

File metadata

  • Download URL: mpralib-0.9.0.tar.gz
  • Upload date:
  • Size: 49.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mpralib-0.9.0.tar.gz
Algorithm Hash digest
SHA256 a1d48a00a4466ce529945f987f31be5fe6744b4a3c06c150d05c903b486b2d8f
MD5 51a48ee45a05ff4509f970152913b344
BLAKE2b-256 ee8175d136b25180b604f9b8d28b972ce997da4a8ad62f6ad852f1494edf7156

See more details on using hashes here.

File details

Details for the file mpralib-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: mpralib-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 36.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mpralib-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e74e077e8a4ae2d4d956ad107ba29636366012620d604630715159ab10a8b062
MD5 853a8e3e14fc8211e21959c0522335fa
BLAKE2b-256 1cd9eff6c1a62c8a4ed2fe21705146ce2e899effcb8a723e34df9a0cdaaa53cb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page