Skip to main content

Methylome segmentation algorithm using a changepoint detection HMM

Project description

NanoEpiSeg 1.0.0b3

GitHub license Language Build Status Code style: black

PyPI version PyPI downloads Anaconda Version Anaconda Downloads

NanoEpiSeg is a tool for de novo segmentation of a methylome from read-level methylation calls (such as Nanopolish).

NanoEpiSeg is currently in development. Please do not hesitate to report bugs or feature requests.

A detailed documentation is in the works, stay tuned!

Prerequisites

NanoEpiSeg assumes that your methylation calls are stored in MetH5 format.

Installation

Through pip:

pip install nanoepiseg

Through anaconda:

conda install -c snajder-r nanoepiseg

Usage

NanoEpiSeg is meant to be parallelizable, which is why you would typically call nanoepiseg on a cluster system in parallel. In order to best accomplish load-balancing, it is done per hdf5 chunk.

You can list the number of chunks per chromosome via:

nanoepiseg list_chunks --m5file INPUT_FILE.m5

To then perform segmentation for a certain chunk, you can run:

nanoepiseg segment_h5 --m5file INPUT_FILE.m5 \
    --out_tsv OUTPUT_FILE \ 
    --reader_workers NUM_READER_WORKERS \ 
    --workers NUM_SEGMENTATION_WORKERS \ 
    --chromosome CHROMOSOME \
    --chunks CHUNK1 [CHUNK2 ...]

There are further options available. Please check out the help to discover them.

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

nanoepiseg-1.0.0b3.tar.gz (14.3 kB view details)

Uploaded Source

File details

Details for the file nanoepiseg-1.0.0b3.tar.gz.

File metadata

  • Download URL: nanoepiseg-1.0.0b3.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.0

File hashes

Hashes for nanoepiseg-1.0.0b3.tar.gz
Algorithm Hash digest
SHA256 5903ae1962fa6641f56000b935c95897d7ae75cd039ed352e2cb376a8bc8f414
MD5 d27b139a0b52d416be2a3cce9a88d4bf
BLAKE2b-256 3bbc9402364807da2cd28fd4bf26738cf61739cf81aad9fad3b7ddbb07f87879

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