Skip to content

v0.17.0

Choose a tag to compare

@github-actions github-actions released this 29 May 20:03

atb osf download can now extract downloaded assembly tarballs directly — no external xz toolchain required.

Added

  • --extract flag: after downloading, unpack eligible archives (.tar.xz, .tar.gz/.tgz, .tar) in place. Designed for AllTheBacteria .tar.xz assembly tarballs (#18).
  • --compress none|gz|xz (default gz): controls how extracted FASTA files are stored after unpacking.
  • --delete-archive flag: removes each source archive after it extracts successfully.

xz decoding and re-compression use the pure-Go github.com/ulikunitz/xz library, so the release binaries remain statically linked with no dependency on an external xz or tar toolchain. This matters on Windows and minimal Linux systems where system xz is absent.

Extraction is path-traversal safe. A failed extraction is reported and its archive is preserved; the remaining files continue. The command exits non-zero if any download or extraction failed.

Example

atb osf download \
  --project AllTheBacteria/Assembly \
  --all \
  --extract \
  --compress gz \
  --delete-archive \
  -o ./assemblies

Full changelog: v0.16.1...v0.17.0