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
- 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
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.1.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.1-py3-none-any.whl
(53.0 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bf5793fde658969d6520b35433de470e0ea2b349bae3a0f716fc2adccd0b467
|
|
| MD5 |
754fb4d43a054b99403a58e7eebbc8b1
|
|
| BLAKE2b-256 |
5f1dd4e948228e33f32dcafc8a87ee702fcc4932a9c3029a57f7926b64c365cb
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc1fd3a892b1b00f925d87ccba796f048ea071a135a2a9eaee675f52fe110961
|
|
| MD5 |
4f3102bb3112e3e37ccf6ea1cddd34ac
|
|
| BLAKE2b-256 |
081273cb10c3211c8c3e5cbe5ea1ec08c6bdbfabeb3042efc57317879ac063c0
|