SPAdes and Flye are assemblers built around different read types. SPAdes works with short reads and offers modes for isolate, metagenome and RNA-seq data; Flye is designed for long reads and uses a repeat graph. The choice is mostly determined by the sequencing technology, but the expected genome structure and the downstream analysis also matter.
What each approach is
SPAdes
SPAdes builds de Bruijn graphs from short reads and includes error correction and several assembly modes. Its isolate mode is aimed at single genomes, while metagenome and RNA-seq modes adjust the graph and reporting for mixed or transcribed data. The output is a set of contigs and scaffolds with coverage information.
Flye
Flye assembles long reads by building a repeat graph from overlaps and resolving paths through it. It is designed for noisy long reads and can use a polishing step to improve the consensus. The output includes contigs and, where possible, scaffolds, with a graph that records the assembly decisions.
How they differ
| Aspect | SPAdes | Flye |
|---|---|---|
| What it is | A short-read de Bruijn graph assembler with several modes. | A long-read repeat-graph assembler. |
| Typical use | Isolate genomes, metagenomes and transcriptomes from short reads. | Bacterial and eukaryotic genomes from long reads. |
| Input | Short reads, often paired-end, with optional mate pairs. | Long reads, with optional short reads for polishing. |
| Strengths | Accurate at the base level and flexible across library types. | Spans repeats and produces longer contigs from long reads. |
| Limits | Repeats longer than the reads fragment the assembly. | Long-read error and coverage variation affect the consensus; polishing is often needed. |
| When to choose | You have short reads and need a mode that matches the sample type. | You have long reads and want to resolve repeats and structure. |
In practice
SPAdes is built around short reads and de Bruijn graphs, with modes for isolated genomes, metagenomes and RNA-seq. It can assemble high-coverage short-read data into contigs, but repeats longer than the reads remain a limit, and the graph can be complex. Flye is built for long reads and uses an overlap graph. It can produce more continuous assemblies and resolve repeats that short reads cannot span, but its result depends on read length, coverage and the error profile of the platform.
Many projects combine the two: long reads for structure and contiguity, short reads for polishing or for accurate variant calls. That hybrid route adds steps and can introduce its own biases, so decide whether the extra continuity changes the conclusion. Check assembly size, N50, BUSCO completeness, contamination and mapping rate before comparing assemblies. A higher N50 alone is not evidence of a better assembly, especially if the assembly is fragmented, misjoined or incomplete.
Coverage is a major practical constraint. Low-coverage long-read assemblies can be fragmented, while very high-coverage short-read assemblies can collapse repeats or introduce chimeric joins. Check the assembly graph, the coverage histogram and the mapping of reads back to the assembly. If the organism has a large repeat content, a long-read or hybrid approach may be necessary. Report the assembler, version, preset and any polishing steps, because these change the result.
How to decide
1. What read technology do you have?
The assembler must match the reads. Short reads suit a de Bruijn graph; long reads suit an overlap or repeat graph. Mixing technologies is possible but needs a defined hybrid strategy rather than simply concatenating files.
2. How repetitive is the genome?
Repeats determine whether an assembly can be resolved. Long reads cross many repeats that short reads cannot, but even long-read assemblies can collapse near-identical repeats. Check the assembly graph and report unresolved regions.
3. What coverage do you have?
Both assemblers need enough coverage, and too much coverage can also cause problems. Inspect the coverage distribution and consider downsampling or filtering reads before assembly, and report what you did.
4. How will you judge the assembly?
Use more than one metric: contiguity, completeness, contamination, gene content and concordance with an independent assembly or map. A single N50 value can hide misassemblies and missing regions.
What this comparison does not settle
An assembly is a model of the genome, not the genome itself. Both tools can produce contigs that look plausible but contain collapsed repeats, chimeras or missing plasmids. Validate important regions with read mapping, PCR or an independent assembly.
What to record
Record the read type and preprocessing, the assembler and version, the mode and parameters, the coverage, any polishing and the evaluation metrics. Keep the assembly graph and the contig files so that the result can be inspected later.
Sources
Related pages
Related reading
Last reviewed: . This is an editorial summary, not a benchmark. If a tool or method has changed, tell us and we will update the page.