Skip to content
Agentmart
Submit a tool

metagenome-assembly

De novo assembly of metagenomic contigs from short reads using MEGAHIT or metaSPAdes.

Skill by Scientific-Tooling

IndexedMIT★ 4
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/scientific-tooling-metagenome-assembly

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

De novo assembly of metagenomic contigs from short reads using MEGAHIT or metaSPAdes.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/metagenome-assembly

What's inside

Skill name
metagenome-assembly
Description
De novo assembly of metagenomic contigs from short reads using MEGAHIT or metaSPAdes.
License
MIT
Instructions
48 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (10)

  • SKILL.md
  • README.md · agents/
  • claude.yaml · agents/
  • openai.yaml · agents/
  • .gitkeep · assets/
  • config.yaml
  • README.md · references/
  • megahit-metaspades.md · references/
  • batch_run.sh · scripts/
  • run.sh · scripts/

SKILL.md (first lines)

# Skill: metagenome-assembly

## Use When

- The user wants to assemble metagenomic reads into contigs for downstream analysis.
- The user needs contigs for downstream binning and gene prediction.
- The user wants to compare assemblers (MEGAHIT vs metaSPAdes).
- The user has sufficient compute resources for de novo metagenomic assembly.

## Inputs

- Required:
  - Host-depleted FASTQ file(s) (`.fastq`, `.fq`, `.fastq.gz`, `.fq.gz`).
- Optional:
  - `--assembler STR` — Assembler to use: `megahit` or `metaspades` (default: `megahit`).
  - `--threads N` — Number of threads (default: 4).
  - `--memory N` — Memory limit in GB (default: 16).
  - `--min-length N` — Minimum contig length in bp (default: 1000).
  - `--kmer-sizes STR` — Comma-separated k-mer sizes for metaSPAdes (e.g., `21,33,55,77`).
  - `--outdir DIR` — Output directory (default: `assembly_results`).

## Workflow

1. If MEGAHIT: run `megahit` with `--min-contig-len`, `--num-cpu-threads`, `-m` memory.
2. If metaSPAdes: run `spades.py --meta` with `-k` kmer sizes, `-t` threads, `-m` memory.
3. Filter contigs by minimum length.
4. Generate assembly statistics: total contigs, total length, N50, L50, largest contig, GC content.
5. Report assembly summary.

## Output Contract

- **Contigs FASTA** — Assembled contigs filtered by minimum length (`<outdir>/contigs_min<N>bp.fasta`).
- **Assembly statistics** — N50, L50, total length, contig count, largest contig, GC percentage (`<outdir>/assembly_stats.txt`).

## Limits

- metaSPAdes requires significantly more memory than MEGAHIT (100-500 GB vs 10-50 GB for human gut metagenomes).
- MEGAHIT is faster and more memory-efficient; recommended as the default for most samples.
- Minimum contig length of 1000 bp is recommended for downstream binning.
- Assembly quality depends heavily on sequencing depth and community complexity.
- MEGAHIT and metaSPAdes (SPAdes) must be installed and available on `$PATH`.
- This skill does not perform scaffolding; output is contigs only.
- Common failure cases:
  - metaSPAdes running out of memory on complex or deeply sequenced samples.
  - MEGAHIT crashing due to insufficient disk space for intermediate k-mer graph files.
  - Input reads still containing host contamination, inflating assembly size with host contigs.

From Scientific-Tooling/structured-intelligence, MIT.

More from Scientific-Tooling/structured-intelligence

Signals

Stars
4
Forks
1
Open issues
0
Last commit (this folder)
Mar 15, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Scientific-Tooling

Cite this page

metagenome-assembly skill. Agent Mart. https://agentmart.dev/skills/scientific-tooling-metagenome-assembly (last updated 2026-10-24)