Segmentation/resquiggling tool for ONT signals.
Project description
A Dynamic Programming Approach to Segment ONT Signals. Dynamont is a segmentation/resquiggling tool for ONT signals.
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 modespecific: alignment score (Z) does not match between forward and backward run in preprocessing on signal (T) and read (N). - 2:
resquiggle modespecific: 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
- 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
kmerSizeof provided pore model
Project details
Release history Release notifications | RSS feed
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.2.tar.gz
(45.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
dynamont-0.6.2-py3-none-any.whl
(53.0 kB
view details)
File details
Details for the file dynamont-0.6.2.tar.gz.
File metadata
- Download URL: dynamont-0.6.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed61c2cd56b3f310113a2ad370ff0fa67c5839cf6fa26cd0ddb6c87f384181f8
|
|
| MD5 |
6a40ee8b70e44c8e9ea432feb2f23938
|
|
| BLAKE2b-256 |
8089af055ae340de02a3a60bfaa27721e419f1ddb5bef935d550b6cda820226a
|
File details
Details for the file dynamont-0.6.2-py3-none-any.whl.
File metadata
- Download URL: dynamont-0.6.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3878fbc9f0fcf8f661502227e474e282684aeba0b8a8a14220d3712885143698
|
|
| MD5 |
7a52c3f19383c457d8e89e229ff31138
|
|
| BLAKE2b-256 |
07fcb255ea0e680c9c63875f9e877d7e86d6505158a4596cc48d441af7ef58a8
|