This skill assembles a genome de novo from Illumina short reads. SPAdes is the field default for bacterial, fungal, and small-eukaryotic isolates; MEGAHIT handles huge or memory-constrained datasets and metagenomes; Unicycler finishes bacterial genomes (short-only or hybrid); Platanus targets highly heterozygous diploids. The defining reality is that short reads cannot span repeats longer than the read or paired insert, so a short-read assembly is structurally fragmented at every long repeat - its contiguity ceiling is set by the genome's repeat structure and the input DNA quality, not by the sequencing depth or the assembler. The skill profiles the reads first (GenomeScope2 on a k-mer histogram) to know that ceiling before touching parameters, and reports NG50/auN/BUSCO rather than a vanity N50. For anything that needs to be finished or complete, it routes to long-read assembly.
conda install -c bioconda spades megahit unicycler abyss genomescope2 kmc
# SPAdes 4.0+ requires Python >=3.8
# GenomeScope2 also needs R; smudgeplot ships alongside it
Tell your AI agent what you want to do: - "Profile my reads with GenomeScope2 before I assemble, to estimate genome size and heterozygosity" - "Assemble my bacterial isolate from paired-end Illumina reads with SPAdes" - "Assemble a finished, circularized bacterial genome from Illumina plus Nanopore reads" - "My eukaryote assembly is twice the expected size - tell me whether that is heterozygosity" - "Assemble a huge metagenomic dataset with limited RAM"
"Build a k=21 k-mer histogram with KMC and fit GenomeScope2 with ploidy 2, then tell me the estimated genome size, heterozygosity, and repeat content, and whether short reads can give me a usable assembly for this genome."
"Assemble my paired-end reads R1.fastq.gz and R2.fastq.gz with SPAdes in isolate mode at 16 threads, then report contig count, NG50 against the expected genome size, and whether the contig count looks like rRNA-operon fragmentation rather than a problem."
"Combine my Illumina reads with ONT long reads in Unicycler to get a finished, circularized chromosome plus plasmids, rotated to dnaA."
"My SPAdes assembly is 1.8x the GenomeScope estimate and BUSCO-Duplicated is high - tell me whether this is un-purged haplotigs and what to do about it."
"Assemble this large short-read metagenome with MEGAHIT because I am RAM-limited, and explain why MEGAHIT instead of metaSPAdes here."
--isolate for a clean isolate, --careful only for small genomes, --sc for single-cell, MEGAHIT for huge/low-memory, Unicycler for finishing/hybrid, Platanus-allee for high heterozygosity.--careful-on-a-eukaryote anti-pattern, and using --only-assembler for heterozygous/pooled data to preserve rare alleles.--careful is small-genome isolate-only and incompatible with --meta/--rna; never --careful a eukaryote, and avoid the redundant --isolate --careful combination.--only-assembler) - k-mer-spectrum correction erases the rare alleles or strains that are the signal.--careful reflexes