Skip to main content

A set of tools to manipulate and visualize data from base modification bam files

Project description

PyPI Changelog Tests License

A set of tools to manipulate and visualize data from base modification bam files

For full documentation and tutorials visit https://rrazaghi.github.io/modbamtools/

Installation

Required: Python 3.8

In a clean environment:

$ pip install modbamtools

Usage

General commands:

Usage: modbamtools [OPTIONS] COMMAND [ARGS]...

  A set of tools to manipulate and visualize data from base modification bam
  files

Options:
  --version  Show the version and exit.  [default: False]
  --help     Show this message and exit.  [default: False]

Commands:
  calcHet   Calculate heterogeneity of modified bases for regions in a...
  calcMeth  Calculate methylation statistics for regions in a bed file
  cluster   Calculate clustering statistics for regions in a bed file
  plot      Plot single-read base modification data


example plot

Development

To contribute to this tool, first checkout the code. Then create a new virtual environment:

cd modbamtools
python -m venv venv
source venv/bin/activate

Or if you are using pipenv:

pipenv shell

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

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

modbamtools-0.4.8.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

modbamtools-0.4.8-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

Details for the file modbamtools-0.4.8.tar.gz.

File metadata

  • Download URL: modbamtools-0.4.8.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for modbamtools-0.4.8.tar.gz
Algorithm Hash digest
SHA256 2c9e6e2b8333afaadf3608844ebbc850f6de6075e8121f557beb02ef5586fac1
MD5 04d18018c30c8fbb46cfacd1923d04f8
BLAKE2b-256 35931cd17e4617883819f526010c1d94740c615cee8ce79feae9ee70e01840e2

See more details on using hashes here.

File details

Details for the file modbamtools-0.4.8-py3-none-any.whl.

File metadata

  • Download URL: modbamtools-0.4.8-py3-none-any.whl
  • Upload date:
  • Size: 24.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for modbamtools-0.4.8-py3-none-any.whl
Algorithm Hash digest
SHA256 51432ca79acacc0cacb3a168a16921ced2e28c6aadb251b3253589b71e3458a1
MD5 b67dcd99e71d5d2f7aa23e4068a2576f
BLAKE2b-256 a6f0515d29e80aec630581a79829e024e0a413e38255a8aeecd7b0a50740d4aa

See more details on using hashes here.

Supported by

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