This skill builds de novo genome assemblies from noisy long reads - Oxford Nanopore (R9.4.1, R10.4.1, Dorado simplex/duplex) and PacBio CLR. It covers the modern long-read assemblers (Flye, Canu, NextDenovo, Shasta, Raven, wtdbg2, miniasm) and the bacterial multi-assembler consensus tools (Trycycler, Autocycler). The two decisions it exists to get right are: matching the assembler input flag to the basecaller error regime (the wrong flag silently over-collapses repeats while raising N50), and treating the assembler as the halfway point because a raw long-read assembly is contiguous but low-QV and is not finished until it is polished and its QV is measured. PacBio HiFi reads are accurate, not noisy - use the hifi-assembly skill for those.
conda install -c bioconda flye canu nextdenovo shasta raven-assembler wtdbg miniasm minimap2 purge_dups porechop_abi trycycler
Genome-size/coverage estimation (GenomeScope2 + jellyfish/KMC) is best run on accurate short reads, not raw ONT, because errors inflate unique k-mers. Polishing (Medaka/Racon) and QV assessment (Merqury) are separate downstream tools - see the assembly-polishing and assembly-qc skills.
Tell your AI agent what you want to do: - "Assemble my ONT R10 reads with Flye" - "I have Nanopore reads basecalled with Dorado SUP - which Flye flag do I use?" - "Assemble a bacterial genome reliably from Nanopore reads" - "My assembly is twice the expected size - what went wrong?" - "Assemble a large plant genome from noisy long reads"
"I have Nanopore reads from an R10.4.1 flow cell basecalled with Dorado SUP. Assemble them with Flye using the correct input mode and explain why --nano-raw would be wrong here."
"Assemble my bacterial isolate from ONT reads as reliably as possible. Use a multi-assembler consensus rather than trusting one assembler, and tell me which contigs are circular."
"Assemble a 3 Gb repetitive plant genome from noisy long reads. Pick the most memory-efficient contiguity-first assembler and downsample to the longest reads for the initial assembly."
"My Flye assembly of a diploid genome is 1.8x the expected genome size and BUSCO-Duplicated is high. Diagnose whether this is haplotig duplication and run purge_dups, checking the coverage cutoffs before trusting them."
"Before assembling my Nanopore reads, check for and remove mid-read adapter chimeras so I don't get structural mis-joins."
--nano-hq for modern ONT; Trycycler/Autocycler for bacterial reliability; NextDenovo for large repetitive genomes).--asm-coverage) on deep large-genome data.--nano-raw on R10/Dorado data over-collapses repeats and raises N50 as the assembly gets worse - nothing crashes.wtpoa-cns consensus step; miniasm does no consensus at all and its output must be polished.--nano-raw plus an unnecessary short-read polish - check the chemistry the advice was written for before applying it.