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.7.3.tar.gz (32.1 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.7.3-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mpralib-0.7.3.tar.gz
Algorithm Hash digest
SHA256 8a744f951fdd931838d3c7d1b7ad892cffd67ab81f84e7ef98fbe563d2609d9b
MD5 2944615de50a9c18265781763f739ff1
BLAKE2b-256 38e59eba1ec4125ee7550777d1479bfad32ce9cb5098da1dccf0c32d7b216971

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mpralib-0.7.3-py3-none-any.whl
  • Upload date:
  • Size: 26.8 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.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 248723377a878de99443ebcf51f80348534696f0a22bcf3c21c696618d37a632
MD5 60a35ffa524b93aa5d79d83a3ea5fa0d
BLAKE2b-256 f3bdb6ee7d4d42270e175c6988208f5504fe63a6b5b9de20d5ae02557b3509ba

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