Release notes summarize intended changes. For reproducible analysis, also record the exact Git commit, model files, quality-control database, and dependency environment.
This development snapshot hardens the code paths audited after the V1.2.2 tag. It must receive a new release tag before these changes are described as part of a published version.
- Corrected MetaBinner, VAMB 5, and LorBin command construction, executable discovery, sorted-BAM inputs, output-table parsing, and normalized candidate-folder names.
- Added strict
BASALT_WEIGHTvalidation down to every descriptor-referenced checkpoint, rejected unsafe descriptor/archive paths, and removed the unpinned legacy model fallback. - Added CLI validation for positive resource values, percentage ranges, paired-read grammar, optional-binner identifiers, and route-specific input requirements.
- Fixed undefined variables and imports identified by Python 3.12 compilation and Ruff critical-error checks in comparison, retrieval, mapping, dataset, and dereplication paths.
- Made the installed launcher independent of the caller's active
$CONDA_PREFIXand changed installation to fail clearly when MetaBAT 2 does not supplyjgi_summarize_bam_contig_depths. - Removed an ineffective Pilon probe and redundant post-reassembly moves that could emit errors or reference an undefined final loop item.
- Made
--moduleeffective for the external-binset (-r) route. Omitting--modulekeeps standalone outlier screening and now writes a numeric checkpoint plus a follow-up hint;--module refinement,reassembly, orallprepares the stage-list state normally produced by autobinning and enters the checkpointed contig-retrieval, secondary-dereplication, rOLC, and reassembly stages without rerunning candidate generation. The same dispatch is used for CheckM2 and legacy CheckM.-bruns now state explicitly that they perform dereplication only. - Checkpoint resume no longer resets to step 0 when the last checkpoint line is non-numeric (for example
Outlier removal done!written by standalone-rscreening); the highest numbered step is used and the file is not truncated. - Parallelized the step 8/10 OLC verification loops: the worker pool is sized from
-twith a per-worker thread budget,blastnand per-merge CheckM2/CheckM calls use the budgeted thread count instead of hard-coded single threads, and small candidate sets (two or more pending bins) also use the pool. - Added a content-keyed CheckM2 evaluation cache for the OLC merge loops. Deterministic metrics are stored by sequence-content MD5 in
Checkm2_metrics_cache.tsv(shared across concurrent workers with file locking), so unchanged candidates — the original target bin recopied into every*_mergedbatch and merge candidates recurring across convergence iterations — are reused instead of re-annotated, and only new content is evaluated in one batched multi-threadedcheckm2 predictcall. The cache is invalidated automatically when the CheckM2 version orCHECKM2DBdatabase changes and is reset by--mode new; any batch failure falls back to the historical direct per-folder prediction. Legacy-CheckM OLC paths keep the threaded direct calls. - Hardened step 8 resume after wall-time kills: partial per-bin OLC products (
*_merged,blast_*self_merged*, per-bin*_checkm,Merged_seqs_*) are discarded when a bin restarts, and empty FASTA files in a*_OLCresult folder are not counted as finished work, preventing a non-converging re-evaluation loop. The BLAST connected-component grouping loop is now bounded. - Depth parsing accepts
jgi_summarize_bam_contig_depthsheaders from MetaBAT 2.15+ where sample names no longer carry.bam, replacing the.bam-varsubstring count that causedZeroDivisionError. Cytoscapeviz.plis resolved next to the calling script or onPATH, so data feeding and autobinning no longer depend on the current working directory containing the Perl helper.- CheckM2 genome sizes formatted as floats (for example
1860636.0) are parsed viaint(float(...))instead of raisingValueError.
- Added
external_workflow.pyand shared runtime helpers (read_checkpoint_step,depth_sample_count,pe_read_names,worker_thread_budget,clean_stale_olc_intermediates,evaluate_bins_checkm2) with release-smoke tests covering checkpoint promotion, depth headers, thread budgeting, stale-state cleanup, CheckM2 cache reuse/invalidation/fallback, and external-route CLI errors. - Removed the obsolete general-purpose
BASALT_setup.py, duplicateBASALT/BASALTlauncher, tracked bytecode and Finder metadata, and the stale bundled x86-64jgi_summarize_bam_contig_depthsbinary. - Added
unzipto the canonical environment because compressed read inputs use it at runtime, and removed the unused direct Pilon dependency. - Standardized installed executable permissions on mode
0755; world-writable0777permissions are neither required nor recommended. - Added Linux CI for Python, Bash and Perl syntax, critical Ruff diagnostics, release-smoke tests, launcher isolation, and permission behavior.
Released 21 July 2026.
BASALT 1.2.2 improves installation reliability, model reproducibility, and documentation. It retains the Python 3.12 workflow introduced in 1.2.1 while preventing optional packages from silently replacing the validated BASALT runtime.
- Resolves the Python 3.12 base runtime in one Conda transaction using the CPU-generic PyTorch stack.
- Downloads models from
PKU-EMBL/BASALT_WEIGHTwith a pinned revision, resumable transfers, connection timeouts, and documented fallback routes. - Improves mainland-China installation with micromamba and selectable TUNA, BFSU, USTC, upstream, or institutional mirrors without modifying global Conda or pip configuration.
- Keeps VAMB and other conflicting optional adapters outside the validated base environment.
- Expands the README and Read the Docs guide, including LorBin integration, multi-assembly study design, troubleshooting, reproducibility, and BASALT-Air guidance.
- Removed the duplicate uv/pip scientific-stack transaction that could download a second PyTorch build and large CUDA dependencies.
- Added
--hf-timeoutso blocked Hugging Face routes fail promptly instead of hanging indefinitely. - Pinned the default model revision to
bc98b102522d1c80dd8c2594df4ab3155438320e. - Isolated VAMB because VAMB 5.0.4 requires PyTorch 2.6, whereas the validated BASALT model runtime uses CPU-generic PyTorch 2.4.
- Standardized model discovery around one validated absolute
BASALT_WEIGHTpath, preferably configured once in~/.bashrc. - Removed obsolete channel requirements and separated legacy CheckM from the maintained CheckM2/Python 3.12 route.
The release was installed and tested on Ubuntu 22.04 x86-64 with micromamba. The BASALT launcher, Python stack, CheckM2 database, required executables, 81 model checkpoints, five ensemble descriptors, and CPU model loading all passed validation. The complete documentation also passed strict Sphinx and external-link checks. These checks do not constitute a new biological-performance benchmark.
- Recreate or update the environment from
basalt_environment.yml, then reruninstall.shbecause BASALT scripts are copied into the environment. - Keep VAMB, LorBin, MetaBinner, legacy CheckM, and GPU-specific stacks isolated unless independently validated.
- Record the BASALT commit, model revision and checksums, CheckM2 database, environment export, commands, and warnings for production analyses.
- Start updated analyses in a new working directory rather than resuming checkpoints created with a different software stack.
Tagged 15 May 2026.
- Updated the VAMB adapter for the VAMB 5 command family.
- Added VAMB 5 to the Python 3.12 environment definition.
- Added warning-based failure handling for optional binners so other candidate generators can continue.
- Optional-adapter success must be verified from logs and output FASTA files.
- VAMB, PyTorch, CUDA, and driver versions remain part of the analysis provenance.
- The Conda edition does not implement
BASALT --version; record the Git tag and commit directly.
Released 16 December 2025.
- Updated the documented environment to Python 3.12.
- Added a LorBin adapter under
-e l. - Selected CheckM2 as the default quality-control backend.
- Added accelerator-compatible dependency paths for SemiBin 2 and model inference.
- Made the model directory configurable through
BASALT_WEIGHT. - Renamed the historical
--autoparaoption to--sensitive.
- The Conda edition does not implement
BASALT --versionorBASALT --check-deps. - Optional binner adapters require independent installation and validation.
- Resuming checkpoints created with earlier code or database versions is not recommended.
Released 12 June 2024.
- Revised installation workflows.
- Added China-mainland mirror support.
- Added a Singularity distribution route.
- Included maintenance and stability changes.
Released 18 August 2023.
- Introduced multi-assembly candidate generation and bin selection.
- Introduced model-based contig screening and read-supported retrieval.
- Added bin-level reassembly and OLC stages.
- Added external-bin data feeding.
- Added CheckM-based quality assessment and textual checkpoints.
BASALT-Air v1.0.0 is now available from the separate BASALT-Air repository. See BASALT-Air: the new implementation for the implementation comparison and migration boundary.
BASALT-Air uses Pixi and adds first-class absolute paths, separate work and output directories, and implementation-specific dependency checks. Its CLI and dependency model differ from the Conda-based BASALT documented on this site.
Do not infer byte-identical output between implementations without a version-matched regression test.
Qiu, Z., Yuan, L., Lian, C.-A. et al. BASALT refines binning from metagenomic data and increases resolution of genome-resolved metagenomic analysis. Nature Communications 15, 2179 (2024). https://doi.org/10.1038/s41467-024-46539-7