<< All versions

Skill v1.0.1

currentAutomated scan100/100
pku-embl/metagenomics-skills/antismash

+3 new

──Details
PublishedNovember 14, 2026 at 11:23 PM
Content Hashsha256:4e9bcd9eb98d0c89...
Git SHAdd5ee42ae7e8
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 5.0 KB)
SKILL.md5.0 KBactive
SKILL.md · 135 lines · 5.0 KB

name: antismash description: > 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. license: MIT metadata: version: "1.0.1" metagenomics.category: "analysis-tools" metagenomics.tags: "BGC, secondary-metabolite, genome-mining" metagenomics.upstream: "https://github.com/antismash/antismash" metagenomics.stage: "mining" metagenomics.maturity: "reviewed" metagenomics.last-reviewed: "2026-10-24" metagenomics.command-status: "per-genome antiSMASH CLI template statically reviewed; not executed here"


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

← v1.0.0All versions