Skip to main content

Segmentation/resquiggling tool for ONT signals.

Project description

Dynamont

A Dynamic Programming Approach to Segment ONT Signals Dynamont is a segmentation/resquiggling tool for ONT signals.

PyPI - Python Version License: GPL v3 PyPI PyPI - Downloads Anaconda-Server Badge Conda Conda package Conda package



Installation

Pypi/pip

pip install dynamont

Conda

conda create -n dynamont jannessp::dynamont
conda activate dynamont

Usage

# segment a dataset
dynamont-resquiggle -r <path/to/pod5/dataset/> -b <basecalls.bam> --mode basic --model_path <path/to/model> -o <output.csv> -p <pore>

# train model
dynamont-train -r <path/to/pod5/dataset/> -b <basecalls.bam> --mode basic --model_path <path/to/init/model> -o <output/path> -p <pore>

Exit-Codes

  • -11: Segmentation fault
  • -9: Out of Memory error. Decrease the number of processes or move to a system with more memory.
  • -6: std::bad_alloc
  • 1: resquiggle mode specific: alignment score (Z) does not match between forward and backward run in preprocessing on signal (T) and read (N).
  • 2: resquiggle mode specific: alignment score (Z) does not match between forward and backward run in preprocessing on signal (T) and error correction (C).
  • 3: Alignment score (Z) does not match between forward and backward pass or is -Infinity
  • 4: Input signal is missing or not found in stdin stream
  • 5: Input read is missing or not found in stdin stream
  • 6:
  • 7: Invalid model path was provided
  • 8: Provided ONT signal is too short
  • 9: Read is too short
  • 10: Signal is smaller than read
  • 11: Read is smaller than kmerSize of provided pore model

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

dynamont-0.6.1.tar.gz (45.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dynamont-0.6.1-py3-none-any.whl (53.0 kB view details)

Uploaded Python 3

File details

Details for the file dynamont-0.6.1.tar.gz.

File metadata

  • Download URL: dynamont-0.6.1.tar.gz
  • Upload date:
  • Size: 45.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for dynamont-0.6.1.tar.gz
Algorithm Hash digest
SHA256 2bf5793fde658969d6520b35433de470e0ea2b349bae3a0f716fc2adccd0b467
MD5 754fb4d43a054b99403a58e7eebbc8b1
BLAKE2b-256 5f1dd4e948228e33f32dcafc8a87ee702fcc4932a9c3029a57f7926b64c365cb

See more details on using hashes here.

File details

Details for the file dynamont-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: dynamont-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 53.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for dynamont-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bc1fd3a892b1b00f925d87ccba796f048ea071a135a2a9eaee675f52fe110961
MD5 4f3102bb3112e3e37ccf6ea1cddd34ac
BLAKE2b-256 081273cb10c3211c8c3e5cbe5ea1ec08c6bdbfabeb3042efc57317879ac063c0

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