Skip to main content

Library to analyze count data of MPRA experiments.

Project description

MPRAlib

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

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.6.2.tar.gz (25.0 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.6.2-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mpralib-0.6.2.tar.gz
Algorithm Hash digest
SHA256 066d7854e25664a23a651877ba815d220beaeb9190d635926190ee44f22caf15
MD5 9879f8bf7f73087e9f3644fae612c0b9
BLAKE2b-256 5f094ff34b79750f4fac46888023f71db14cfc0324cd169610338373535865b5

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mpralib-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cda1c9b5afb55369d632c58af2f6b1528078fb059ad26900dca4f7165b213098
MD5 7ce47938cf08edb52e97040ea99a9ece
BLAKE2b-256 c883f3d3809918d6dea1a64a29a26001fb4bb6dc3a3dae36650e63e3d67c7499

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