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.8.0.tar.gz (32.2 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.8.0-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mpralib-0.8.0.tar.gz
Algorithm Hash digest
SHA256 1023d3d45af3c1bb7c36aac685c7b959b7a99fe991bee5fe98e3bde41929213b
MD5 8d2d5b4c4cb29706817bb26b39e14167
BLAKE2b-256 0f0e3689f61014c94d4d1826f93472a36ca4a523acc02b2179134455642e970c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mpralib-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 26.9 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.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e10a46d71267fbb705f1adac1cc83c496f1bf27ae1d777933ba3d3cb569c0d8
MD5 7cf6e7e936d7085f8202f0fb8f7fc6b9
BLAKE2b-256 4ae30b88257db9592909f2976dcf0718f17a522b0f912afe1dc53fc10bf7662c

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