/bio-basecalling
Convert raw Nanopore signal data (FAST5/POD5) to nucleotide sequences using Dorado basecaller. Covers model selection, GPU acceleration, modified base detection, and quality filtering. Use when processing raw Nanopore data before alignment. Guppy is deprecated; use Dorado for
Claude Code
$ npx -y skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-basecalling --agent claude-code
Codex
$ npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-basecalling -a codex -y
Cursor
$ npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-basecalling -a cursor -y
Gemini CLI
$ npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-basecalling -a gemini-cli -y
GitHub Copilot
$ npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-basecalling -a github-copilot -y
OpenCode
$ npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-basecalling -a opencode -y
Windsurf
$ npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-basecalling -a windsurf -y
SKILL.md
bio-basecalling.SKILL.mdname: bio-basecalling
description: Convert raw Nanopore signal data (FAST5/POD5) to nucleotide sequences using Dorado basecaller. Covers model selection, GPU acceleration, modified base detection, and quality filtering. Use when processing raw Nanopore data before alignment. Guppy is deprecated; use Dorado for all new analyses.
tool_type: cli
primary_tool: dorado
Version Compatibility
Reference examples tested with: samtools 1.19+
Before using code patterns, verify installed versions match. If versions differ:
- CLI: `<tool> --version` then `<tool> --help` to confirm flags
If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.
Nanopore Basecalling
**"Basecall my Nanopore data"** → Convert raw electrical signal (FAST5/POD5) into nucleotide sequences with quality scores, optionally detecting modified bases.
- CLI: `dorado basecaller sup pod5/ > calls.bam` (recommended), `dorado basecaller sup,5mCG_5hmCG pod5/` (with modifications)
Convert raw electrical signal from Nanopore sequencing into nucleotide sequences.
Dorado (Recommended)
Dorado is ONT's current production basecaller, replacing Guppy. It offers better accuracy and speed.
Basic Basecalling
dorado basecaller sup pod5_dir/ > calls.bam
Choose Model
dorado basecaller fast pod5_dir/ > calls.bam
dorado basecaller hac pod5_dir/ > calls.bam
dorado basecaller sup pod5_dir/ > calls.bam
Model Speed vs Accuracy
| Model | Speed | Accuracy | Use Case | |-------|-------|----------|----------| | fast | Fastest | Lower | Quick preview | | hac | Medium | High | General use | | sup | Slowest | Highest | Publication quality |
Specific Model Version
dorado download --model dna_r10.4.1_e8.2_400bps_sup@v5.1.0
dorado basecaller dna_r10.4.1_e8.2_400bps_sup@v5.1.0 pod5_dir/ > calls.bam
List Available Models
dorado download --list
Output FASTQ Instead of BAM
dorado basecaller sup pod5_dir/ --emit-fastq > calls.fastq
Modified Base Detection
dorado basecaller sup,5mCG_5hmCG pod5_dir/ > calls_mods.bam
dorado basecaller sup,5mCG pod5_dir/ > calls_5mc.bam
dorado basecaller sup,6mA pod5_dir/ > calls_6ma.bam
GPU Selection
dorado basecaller sup pod5_dir/ --device cuda:0 > calls.bam
dorado basecaller sup pod5_dir/ --device cuda:0,1 > calls.bam
dorado basecaller sup pod5_dir/ --device cpu > calls.bam
Batch Size for Memory
dorado basecaller sup pod5_dir/ --batchsize 64 > calls.bam
Duplex Calling
dorado duplex sup pod5_dir/ > duplex.bam
Demultiplexing During Basecalling
dorado basecaller sup pod5_dir/ --kit-name SQK-NBD114-24 > calls.bam
dorado demux calls.bam --output-dir demuxed/ --kit-name SQK-NBD114-24
Trim Adapters
dorado basecaller sup pod5_dir/ --trim adapters > calls.bam
dorado basecaller sup pod5_dir/ --no-trim > calls_untrimmed.bam
Resume Interrupted Run
dorado basecaller sup pod5_dir/ --resume-from calls.bam > calls_complete.bam
Guppy (Deprecated - Legacy Only)
Guppy is deprecated and no longer receiving updates. Use Dorado for all new analyses. Guppy examples below are only for maintaining legacy pipelines.
Basic Basecalling
guppy_basecaller \
-i fast5_dir/ \
-s output_dir/ \
-c dna_r10.4.1_e8.2_400bps_sup.cfg \
--device cuda:0CPU Mode
guppy_basecaller \
-i fast5_dir/ \
-s output_dir/ \
-c dna_r10.4.1_e8.2_400bps_fast.cfg \
--num_callers 8 \
--cpu_threads_per_caller 4High Accuracy Model
guppy_basecaller \
-i fast5_dir/ \
-s output_dir/ \
-c dna_r10.4.1_e8.2_400bps_hac.cfg \
--device cuda:0Super Accuracy Model
guppy_basecaller \
-i fast5_dir/ \
-s output_dir/ \
-c dna_r10.4.1_e8.2_400bps_sup.cfg \
--device cuda:0List Available Configs
guppy_basecaller --print_workflows
ls /opt/ont/guppy/data/*.cfg
Modified Base Calling
guppy_basecaller \
-i fast5_dir/ \
-s output_dir/ \
-c dna_r10.4.1_e8.2_400bps_modbases_5mc_cg_sup.cfg \
--device cuda:0Barcoding During Basecalling
guppy_basecaller \
-i fast5_dir/ \
-s output_dir/ \
-c dna_r10.4.1_e8.2_400bps_sup.cfg \
--device cuda:0 \
--barcode_kits SQK-NBD114-24Output BAM
guppy_basecaller \
-i fast5_dir/ \
-s output_dir/ \
-c dna_r10.4.1_e8.2_400bps_sup.cfg \
--device cuda:0 \
--bam_out \
--indexPOD5 File Handling
POD5 is the new format replacing FAST5.
Convert FAST5 to POD5
pod5 convert fast5 fast5_dir/*.fast5 --output pod5_dir/
Merge POD5 Files
pod5 merge pod5_dir/*.pod5 --output merged.pod5
Inspect POD5
pod5 inspect reads input.pod5
pod5 inspect summary input.pod5
Subset POD5
pod5 subset input.pod5 --output subset.pod5 --read-id-file read_ids.txt
Quality Filtering
Filter with Chopper (After Basecalling)
gunzip -c calls.fastq.gz | chopper -q 10 -l 500 | gzip > filtered.fastq.gz
Filter by Quality Score
gunzip -c calls.fastq.gz | \
awk 'BEGIN{OFS="\n"} {h=$0; getline seq; getline plus; getline qual;
split(h, a, " "); split(a[4], q, "=");
if(q[2] >= 10) print h, seq, plus, qual}' | \
gzip > q10_filtered.fastq.gzNanoFilt (Alternative)
gunzip -c calls.fastq.gz | NanoFilt -q 10 -l 500 | gzip > filtered.fastq.gz
Basecalling QC
NanoPlot
NanoPlot --fastq calls.fastq.gz -o qc_report/ --plots hex dot
NanoPlot --bam calls.bam -o qc_report/
pycoQC (From Sequencing Summary)
pycoQC -f sequencing_summary.txt -o pycoqc_report.html
Basic Stats
seqkit stats calls.fastq.gz
awk 'NR%4==2 {sum+=length($0);Read more
name: bio-basecalling description: Convert raw Nanopore signal data (FAST5/POD5) to nucleotide sequences using Dorado basecaller. Covers model selection, GPU acceleration, modified base detection, and quality filtering. Use when processing raw Nanopore data before alignment. Guppy is deprecated; use Dorado for all new analyses. tool_type: cli primary_tool: dorado
Version Compatibility
Reference examples tested with: samtools 1.19+
Before using code patterns, verify installed versions match. If versions differ:
- CLI: `<tool> --version` then `<tool> --help` to confirm flags
If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.
Nanopore Basecalling
**"Basecall my Nanopore data"** → Convert raw electrical signal (FAST5/POD5) into nucleotide sequences with quality scores, optionally detecting modified bases.
- CLI: `dorado basecaller sup pod5/ > calls.bam` (recommended), `dorado basecaller sup,5mCG_5hmCG pod5/` (with modifications)
Convert raw electrical signal from Nanopore sequencing into nucleotide sequences.
Dorado (Recommended)
Dorado is ONT's current production basecaller, replacing Guppy. It offers better accuracy and speed.
Basic Basecalling
dorado basecaller sup pod5_dir/ > calls.bam
Choose Model
dorado basecaller fast pod5_dir/ > calls.bam dorado basecaller hac pod5_dir/ > calls.bam dorado basecaller sup pod5_dir/ > calls.bam
Model Speed vs Accuracy
| Model | Speed | Accuracy | Use Case | |-------|-------|----------|----------| | fast | Fastest | Lower | Quick preview | | hac | Medium | High | General use | | sup | Slowest | Highest | Publication quality |
Specific Model Version
dorado download --model dna_r10.4.1_e8.2_400bps_sup@v5.1.0 dorado basecaller dna_r10.4.1_e8.2_400bps_sup@v5.1.0 pod5_dir/ > calls.bam
List Available Models
dorado download --list
Output FASTQ Instead of BAM
dorado basecaller sup pod5_dir/ --emit-fastq > calls.fastq
Modified Base Detection
dorado basecaller sup,5mCG_5hmCG pod5_dir/ > calls_mods.bam dorado basecaller sup,5mCG pod5_dir/ > calls_5mc.bam dorado basecaller sup,6mA pod5_dir/ > calls_6ma.bam
GPU Selection
dorado basecaller sup pod5_dir/ --device cuda:0 > calls.bam dorado basecaller sup pod5_dir/ --device cuda:0,1 > calls.bam dorado basecaller sup pod5_dir/ --device cpu > calls.bam
Batch Size for Memory
dorado basecaller sup pod5_dir/ --batchsize 64 > calls.bam
Duplex Calling
dorado duplex sup pod5_dir/ > duplex.bam
Demultiplexing During Basecalling
dorado basecaller sup pod5_dir/ --kit-name SQK-NBD114-24 > calls.bam dorado demux calls.bam --output-dir demuxed/ --kit-name SQK-NBD114-24
Trim Adapters
dorado basecaller sup pod5_dir/ --trim adapters > calls.bam dorado basecaller sup pod5_dir/ --no-trim > calls_untrimmed.bam
Resume Interrupted Run
dorado basecaller sup pod5_dir/ --resume-from calls.bam > calls_complete.bam
Guppy (Deprecated - Legacy Only)
Guppy is deprecated and no longer receiving updates. Use Dorado for all new analyses. Guppy examples below are only for maintaining legacy pipelines.
Basic Basecalling
guppy_basecaller \
-i fast5_dir/ \
-s output_dir/ \
-c dna_r10.4.1_e8.2_400bps_sup.cfg \
--device cuda:0CPU Mode
guppy_basecaller \
-i fast5_dir/ \
-s output_dir/ \
-c dna_r10.4.1_e8.2_400bps_fast.cfg \
--num_callers 8 \
--cpu_threads_per_caller 4High Accuracy Model
guppy_basecaller \
-i fast5_dir/ \
-s output_dir/ \
-c dna_r10.4.1_e8.2_400bps_hac.cfg \
--device cuda:0Super Accuracy Model
guppy_basecaller \
-i fast5_dir/ \
-s output_dir/ \
-c dna_r10.4.1_e8.2_400bps_sup.cfg \
--device cuda:0List Available Configs
guppy_basecaller --print_workflows ls /opt/ont/guppy/data/*.cfg
Modified Base Calling
guppy_basecaller \
-i fast5_dir/ \
-s output_dir/ \
-c dna_r10.4.1_e8.2_400bps_modbases_5mc_cg_sup.cfg \
--device cuda:0Barcoding During Basecalling
guppy_basecaller \
-i fast5_dir/ \
-s output_dir/ \
-c dna_r10.4.1_e8.2_400bps_sup.cfg \
--device cuda:0 \
--barcode_kits SQK-NBD114-24Output BAM
guppy_basecaller \
-i fast5_dir/ \
-s output_dir/ \
-c dna_r10.4.1_e8.2_400bps_sup.cfg \
--device cuda:0 \
--bam_out \
--indexPOD5 File Handling
POD5 is the new format replacing FAST5.
Convert FAST5 to POD5
pod5 convert fast5 fast5_dir/*.fast5 --output pod5_dir/
Merge POD5 Files
pod5 merge pod5_dir/*.pod5 --output merged.pod5
Inspect POD5
pod5 inspect reads input.pod5 pod5 inspect summary input.pod5
Subset POD5
pod5 subset input.pod5 --output subset.pod5 --read-id-file read_ids.txt
Quality Filtering
Filter with Chopper (After Basecalling)
gunzip -c calls.fastq.gz | chopper -q 10 -l 500 | gzip > filtered.fastq.gz
Filter by Quality Score
gunzip -c calls.fastq.gz | \
awk 'BEGIN{OFS="\n"} {h=$0; getline seq; getline plus; getline qual;
split(h, a, " "); split(a[4], q, "=");
if(q[2] >= 10) print h, seq, plus, qual}' | \
gzip > q10_filtered.fastq.gzNanoFilt (Alternative)
gunzip -c calls.fastq.gz | NanoFilt -q 10 -l 500 | gzip > filtered.fastq.gz
Basecalling QC
NanoPlot
NanoPlot --fastq calls.fastq.gz -o qc_report/ --plots hex dot NanoPlot --bam calls.bam -o qc_report/
pycoQC (From Sequencing Summary)
pycoQC -f sequencing_summary.txt -o pycoqc_report.html
Basic Stats
seqkit stats calls.fastq.gz
awk 'NR%4==2 {sum+=length($0);Other skills on openclaw-medical-skills.
adaptyv
Cloud laboratory platform for automated protein testing and validation. Use when designing proteins and needing experimental…
adhd-daily-planner
Time-blind friendly planning, executive function support, and daily structure for ADHD brains. Specializes in realistic time…
aeon
This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting,…
agent-browser
Browse the web for any task — research topics, read articles, interact with web apps, fill forms, take screenshots, extract data,…
More skills from other plugins.
paddleocr-doc-parsing
Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…
13c-metabolic-flux
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…
Questions about bio-basecalling.
- Which coding agents can use bio-basecalling?
- bio-basecalling installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

