pku-embl/metagenomics-skills/antismash

Claude Code and agent skill by pku-embl/metagenomics-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Detect and annotate biosynthetic gene clusters (BGCs) on genomes and MAGs. Use for natural-product genome mining, choosing genefinding, interpreting region HTML/JSON, and stating validation limits.

Install

npx vskill@latest install pku-embl/metagenomics-skills/antismash

SKILL.md

antiSMASH

Upstream: antismash/antismash

Citation

Blin, K. et al. antiSMASH 7.0: new and improved predictions for detection, regulation, chemical structures and visualisation. Nucleic Acids Res. 51, W46–W50 (2023). https://doi.org/10.1093/nar/gkad344

Analytical thinking

antiSMASH finds BGC regions (PKS, NRPS, RiPP, terpene, …). It does not prove a compound is produced. Fragmented MAGs truncate clusters — prefer near-complete bins (checkm2 / mag-qc) and note contig breaks inside regions.

Run on per-genome FASTA (or GenBank from bakta/prokka), not mixed community contigs, unless you explicitly want contig-level screens and will not assign clusters to species without binning.

Record antiSMASH version and database download date. For comparative BGC families across MAGs, follow with BiG-SCAPE (bigscape).

Prerequisites

RequirementMinimumRecommended
InputGenome/MAG FASTACompleteness ≥50–70% for claims
DBsdownload-antismash-databasesShared read-only path
CPU816+
Gene findingprodigal (meta/MAGs)Or use Bakta GenBank

How to run

Install databases in a pinned environment before the study. This example is for one bacterial MAG FASTA; use a separate output per genome.

bash
set -Eeuo pipefail
id="${1:?usage: run-antismash.sh GENOME_ID GENOME_FASTA OUTPUT_DIR}"
genome="${2:?usage: run-antismash.sh GENOME_ID GENOME_FASTA OUTPUT_DIR}"
out="${3:?usage: run-antismash.sh GENOME_ID GENOME_FASTA OUTPUT_DIR}"
threads="${THREADS:-16}"
taxon="${ANTISMASH_TAXON:-bacteria}"
[[ "$id" =~ ^[A-Za-z0-9][A-Za-z0-9._-]*$ ]] || exit 2
case "$taxon" in bacteria|fungi) ;; *) exit 2 ;; esac
test -s "$genome" || exit 2
log_dir="${out}.logs"
test ! -e "$out" && test ! -e "$log_dir" || {
echo "use new output and log paths" >&2; exit 2;
}
mkdir -p "$(dirname "$out")" "$log_dir"
antismash "$genome" --output-dir "$out" --html-title "$id" \
--cpus "$threads" --genefinding-tool prodigal --taxon "$taxon" \
>"$log_dir/antismash.stdout.log" 2>"$log_dir/antismash.stderr.log"
test -s "$out/index.html"
find "$out" -maxdepth 1 -type f -name '*.json' -print -quit | grep -q .

For Bakta/Prokka GenBank input, omit or verify gene-finding options so existing annotations are handled as intended. Do not mix outputs from different module or database configurations in one comparative set.

Key parameters

OptionGuidance
--genefinding-tool prodigalDefault for MAG FASTA
--taxon bacteria/fungiAffects rules; match organism
--cb-knownclusters / MiBIG optsEnable when comparing to known BGCs (version-dependent)
--minimalFaster, fewer analyses — for screens only

Outputs to archive

PathMeaning
index.htmlInteractive regions
*.json / region GenBanksMachine-readable clusters
stdout cluster countsSummary for tables

Decision tree

text
BGC mining goal?
├─ Single HQ MAG → bakta/prokka → antismash → (optional) bigscape
├─ Many MAGs catalogue → filter by checkm2 first, then batch antismash
└─ Need AMP smORFs not BGCs → macrel (different claim)

Troubleshooting

SymptomAction
DB missing errorsRe-run download-antismash-databases
Zero clusters on huge MAGCheck prodigal ran; try GenBank input
Huge runtimeUse --minimal for pilot; full mode for finals

Validation, recovery, and provenance

Require HTML, JSON, annotated GenBank and region files, completed logs, unique record IDs, and an input-to-region audit including zero-region genomes. Inspect cluster boundaries, contig-edge truncation, product/class confidence, gene finding, known-cluster similarity, and MAG quality. Cross-genome family analysis must use compatible antiSMASH/module/database versions.

Use a fresh directory after changing genome, database, modules, or release. Record antiSMASH and dependency versions, database/MIBiG snapshot and checksums, input/annotation checksums, taxon/gene-finding/module flags, commands, logs, region manifest, and output checksums. BGC predictions indicate biosynthetic potential, not expression or compound production.

Related skills

microbial-mining · bakta · prokka · bigscape · dram · checkm2 · mag-qc

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
6
7-day trend score
10

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/pku-embl/metagenomics-skills/antismash/badge)](https://verified-skill.com/skills/pku-embl/metagenomics-skills/antismash)

Something wrong with this skill or its page? Tell us.