Skip to content

Adding initial version of mosdepth WILDS Docker image#363

Merged
tefirman merged 3 commits into
mainfrom
add-mosdepth
Jun 10, 2026
Merged

Adding initial version of mosdepth WILDS Docker image#363
tefirman merged 3 commits into
mainfrom
add-mosdepth

Conversation

@tefirman

Copy link
Copy Markdown
Member

Type of Change

  • New Docker image

Description

Adds a new WILDS Docker image for mosdepth, a fast tool for calculating sequencing coverage depth from BAM/CRAM alignments at per-base, per-region, or windowed resolution (Pedersen & Quinlan, Bioinformatics 2018).

  • Tool version: mosdepth 0.3.14 (latest upstream release)
  • Base image: ubuntu:24.04
  • Install method: Official pre-built static x86_64 binary downloaded from the GitHub release to /usr/local/bin/mosdepth
  • Runtime deps (pinned via apt-cache policy): wget, ca-certificates, zlib1g, libbz2-1.0, liblzma5, libcurl4t64 — htslib's compression and HTTPS transitive deps
  • Final image size: ~106 MB
  • Files added: mosdepth/Dockerfile_latest, mosdepth/Dockerfile_0.3.14, mosdepth/README.md
  • Also updated: amd64_only_tools.txt — mosdepth added so the ARM64 build is skipped (see Additional Context)

Testing

How did you test these changes?

  • make lint IMAGE=mosdepth — both Dockerfiles pass hadolint with no warnings
  • make build_amd64 IMAGE=mosdepth — both Dockerfile_latest and Dockerfile_0.3.14 build successfully and the in-build smoke test mosdepth --version reports mosdepth 0.3.14

Did the tests pass?

Yes. Lint clean, build green, smoke test green on linux/amd64.

Checklist

  • Dockerfile follows naming convention (Dockerfile_X.Y.Z or Dockerfile_latest)
  • All required OCI metadata labels are present and accurate
  • README.md is included/updated in the tool directory
  • Tested locally with make validate IMAGE=toolname (or manually built and verified)
  • Image builds successfully for target platform(s)

Additional Context

AMD64 only. Upstream mosdepth only publishes a linux/amd64 binary, so mosdepth is added to amd64_only_tools.txt to skip ARM64 builds — same pattern smoove already uses for the mosdepth it bundles.

@tefirman
tefirman marked this pull request as ready for review June 10, 2026 17:30
@tefirman

Copy link
Copy Markdown
Member Author

Relatively basic image, merging without additional review for a Tech Talk demo.

@tefirman
tefirman merged commit 5aa9e41 into main Jun 10, 2026
1 check passed
@tefirman
tefirman deleted the add-mosdepth branch June 10, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant