Skip to content

Set of tools to manipulate and visualize modified base bam files

License

Notifications You must be signed in to change notification settings

rrazaghi/modbamtools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Set of tools to manipulate and visualize modified base bam files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages