Wrapper for the ONT dorado duplex basecalling tool. This tool performs basecalling on both strands of a duplex read.
Current version: 1.0.0 (First stable release)
For a detailed list of changes, see the CHANGELOG.md.
Dorado can be installed from the Nanopore GitHub repository:
# Clone the repository
git clone https://github.com/nanoporetech/dorado.git
cd dorado
# Build dorado (requires CMake and a C++ compiler)
mkdir build && cd build
cmake ..
make -j
# Add dorado to your PATH
export PATH=$PATH:$(pwd)/binFor general information on how to use wrappers in Snakemake, please refer to the root README.md.
rule dorado_duplex:
input:
pod="path/to/pod5/file.pod5",
reference="path/to/reference.fa" # optional
output:
"path/to/output.bam"
params:
model="sup",
gpu="all"
threads: 8
wrapper:
"file://path/to/damlab-wrappers/dorado/duplex"model(str, optional): Model to use for basecalling (default: "sup")models_directory(str, optional): Path to custom models directorydorado_path(str, optional): Path to dorado executable (default: "dorado")gpu(str, optional): GPU device to use (default: "all")- Can be "all" or specific device number
pod: Path to POD5 file or directory (required)reference: Path to reference file (optional)
- BAM file containing basecalled reads
The wrapper includes error handling for:
- Missing input files
- Invalid parameters
- Dorado execution errors
- Basecalling failures
This project is licensed under the MIT License - see the LICENSE file for details.
- Will Dampier, PhD
- DORADO (tested with v0.9.1)