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.2.tar.gz (40.8 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.2-py3-none-any.whl (34.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mpralib-0.8.2.tar.gz
  • Upload date:
  • Size: 40.8 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.2.tar.gz
Algorithm Hash digest
SHA256 21506fd7c3576c0db0e3e2da768a747ae911be27cbf06a38b5d18568af526428
MD5 393a95fe790cbfeeac8bbc3998244219
BLAKE2b-256 7886f77664550d1d5b299d86d3f9fd7b2aca4b1bf5905f643b162fffbc6c2bf9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mpralib-0.8.2-py3-none-any.whl
  • Upload date:
  • Size: 34.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 adccf8d73d8b81710941e03239ac598ee282a6ea16cad59dda09c346197df274
MD5 68223f0860ba61704b6aea9be6595b02
BLAKE2b-256 f1bffb6c12d54771003433780d438e900080c2465dff040c5f56e4561c3ff260

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