Published April 30, 2026
| Version v4.0.0
Software
Open
Bactopia: a Flexible Pipeline for Complete Analysis of Bacterial Genomes. mSystems. 5 (2020)
Authors/Creators
Description
v4.0.0 bactopia/bactopia "Cream Puff" 2026/04/29
<!-- markdownlint-disable-next-line MD036 -->
"Cream Puff" a key component of Mash Burnedead's Muscle Magic
Changed
- Major Refactoring: Complete conversion to Nextflow 26.04 syntax and architecture
- Minimum Nextflow version now
>=26.04.0 - Removed legacy
lib/folder in favor ofnf-bactopiaplugin - Updated all modules, subworkflows and workflows to support strict syntax requirements
- Migrated from
nextflow.preview.typestonextflow.enable.types(GA in Nextflow 26.04.0) - Moved all modules from
modules/nf-core/namespace to flatmodules/directory - Split single
workflows/bactopia-tools.nfinto 67 independent workflow entry points underworkflows/bactopia-tools/<name>/ - Consolidated
params.configandprocess.configinto unifiedmodule.configfiles - Adopted Nextflow record types for all module/subworkflow I/O (replaces Map-based meta)
- Removed direct
.outaccess in favor of result assignment
- Minimum Nextflow version now
- Replaced
EMPTY_*placeholder files withPath?null inputs (removeddata/empty/) - Updated output structure to use "supplemental" instead of "results" for consistency
- Improved parameter naming consistency
- common names for similar parameters across modules and workflows
- tool name used as a prefix to prevent overlaps in names
- Replaced
meta.ymlfiles with standardized GroovyDoc documentation in all .nf files - Implemented type annotations in all .nf files
- Replaced
publishDirwithoutputblock publishing - Removed all
whenconditions in modules - Replaced
data/workflows.ymlwithcatalog.jsonat repo root — a comprehensive component index covering all modules, subworkflows, and workflows with metadata - Replaced
k2scrubberwithnohumanfor human read removal in scrubber, cleanyerreads, and teton workflows - Migrated pipeline utility scripts from
bin/tobactopia-pyCLI commands - Moved
bactopia-prokkatomodules/prokka/bin/ - Updated default
max_memoryfrom 128 GB to 144 GB andmax_cpusfrom 4 to 12 - Reverted to pre-2025 MLST database versions due to PubMLST licensing changes
Added
- Bactopia Tools (
bactopia --wf <NAME>)gigatyper- Run all available MLST schemes for a species against an assembly
- New module:
nohumanfor human read removal --list_wfsto list available workflows--verboseflag for debug output in bactopia wrapper- Output format validation in bactopia wrapper
- MLST now includes headers and uses sample name as label
--emmtyper_no_headeroption to suppress header row in emmtyper outputmax_genome_sizeenforcement during assemblybactopia-py >=2.0.2as a pipeline dependency- Comprehensive documentation system (
.claude/docs/)- Style guide and templates for GroovyDoc documentation
- Logic rules and taxonomy for component classification
- Technical specifications and implementation details
- Project documentation including repository structure and development workflow
- Reference materials with examples and troubleshooting
- Help messages to modules for improved user guidance
- Converted pytest tests to nf-test framework
llms.txtfor AI-readable project context- Claude Code skills for AI-assisted development (
.claude/skills/)add-bactopia-tool- Scaffold a complete Bactopia Tool across all three tiersadd-module- Scaffold a new module from a bioconda/conda-forge packageadd-subworkflow- Scaffold a new subworkflow that orchestrates existing modulesmerge-schemas- Regenerate nextflow.config and nextflow_schema.json for workflowsproject-status- Show a live snapshot of project state and coveragereview-citations- Review citation integrity across citations.yml and @citation tagsreview-docs- Review staleness of reference docs under .claude/docs/review-groovydoc- Review GroovyDoc accuracy across modules and subworkflowsreview-tests- Review nf-test run results with diagnostic summaryrun-tests- Run nf-tests via bactopia-test with timestamped logsupdate-catalog- Regenerate catalog.json and llms.txtupdate-module- Check for newer tool versions and apply updates
- Bump program versions in modules
abricate: 1.0.1 -> 1.4.0abritamr: 1.0.19 -> 1.2.0ariba: 2.14.6 -> 2.14.7bakta: 1.11.0 -> 1.12.0blast: 2.16.0 -> 2.17.0busco: 5.8.2 -> 6.0.0checkm-genome: 1.2.3 -> 1.2.5checkm2: 1.0.2 -> 1.1.0clonalframeml: 1.12 -> 1.13defense-finder: 2.0.0 -> 2.0.1ectyper: 1.0.0 -> 2.0.0eggnog-mapper: 2.1.12 -> 2.1.13gtdbtk: 2.4.0 -> 2.7.1gubbins: 3.4 -> 3.4.3iqtree: 2.4.0 -> 3.1.1kleborate: 3.1.3 -> 3.2.4legsta: 0.5.1 -> 0.5.2lissero: 0.4.9 -> 0.4.10meningotype: 0.8.5 -> 0.8.6bmlst: 2.23.0 -> 2.33.1ncbi-amrfinderplus: 4.0.19 -> 4.2.7ngmaster: 0.5.8 -> 2.0.0panaroo: 1.5.1 -> 1.6.0phispy: 4.2.21 -> 5.0.6prokka: 1.14.6 -> 1.15.6rgi: 6.0.3 -> 6.0.5seqsero2: 1.3.1 -> 1.3.2snp-dists: 0.8.2 -> 1.2.0sylph: 0.8.0 -> 0.9.0tb-profiler: 6.6.3 -> 6.7.0
- Bump internal bactopia-* pipeline tool versions
bactopia-assembler: 1.0.4 -> 1.0.5bactopia-gather: 1.0.4 -> 1.0.5bactopia-qc: 1.0.3 -> 1.0.4bactopia-sketcher: 1.0.1 -> 1.0.3bactopia-teton: 1.1.1 -> 1.1.3bactopia-variants: 1.0.2 -> 1.0.4
Fixed
- Corrected container build numbers for multiple modules
- AbritAMR prefix handling to use sample-specific prefixes with safe renames
- Missing configuration in Teton subworkflow
- Config path resolution issues
- Missing
fastq_onlyparameter when usingask_merlin - Assembler now only passes the main FASTQ type forward
- Config value using string type instead of
list<string> - Various typos throughout the codebase
- Debug information removal from production code
- Container image descriptions and fixes
- File existence checks when using
file()function in Nextflow
Removed
bin/utility scripts (~14 Python/Bash scripts) migrated tobactopia-pyCLI commandsdata/empty/directory and allEMPTY_*placeholder filesdata/workflows.yml(replaced bycatalog.json)- Per-module
meta.ymlfiles (replaced by GroovyDoc) - Per-module
params.configandprocess.configfiles (merged intomodule.config) phyloflashmodule (bothmakedbandphyloflashsubmodules)custom/dumpsoftwareversionsmodule (replaced bynf-bactopiaplugin)mlst/updatemodule due to PubMLST licensingcustom/wgetmoduleworkflows/updater.nf- Single monolithic
workflows/bactopia-tools.nf(replaced by per-tool workflow directories)
Notes
Files
bactopia/bactopia-v4.0.0.zip
Files
(8.8 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:141f62a162253b315ee4ec3990eff4a7
|
8.8 MB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/bactopia/bactopia/tree/v4.0.0 (URL)
Software
- Repository URL
- https://github.com/bactopia/bactopia