Adding initial version of CellBender WILDS Docker image#367
Merged
Conversation
…cker-library into add-cellbender
…cker-library into add-cellbender
…cker-library into add-cellbender
emjbishop
approved these changes
Jun 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of Change
Description
Adds a Docker image for CellBender v0.3.2, a tool for removing ambient RNA and barcode swapping artifacts from droplet-based scRNA-seq and snRNA-seq count matrices using a deep generative model (published in Nature Methods 2023).
python:3.11-slim.h5file I/Olinux/amd64andlinux/arm64Note on version pinning exception: CellBender is installed directly from the upstream
mainbranch rather than a pinned PyPI release. The v0.3.2 PyPI release has atorch.savecheckpoint serialization bug (broadinstitute/CellBender#444) that causes runs to fail in practice. The fix is merged onmainbut not yet in a release. This image will be updated to pin a specific version once v0.3.3 is published.Testing
How did you test these changes?
Ran
make lint IMAGE=cellbenderwith hadolint v2.12.0 and validated end-to-end by running a WDL workflow against the built image.Did the tests pass?
Yes — lint passed clean and the WDL workflow completed successfully.
Checklist
Dockerfile_X.Y.ZorDockerfile_latest)README.mdis included/updated in the tool directorymake validate IMAGE=toolname(or manually built and verified)Additional Context
PyTorch is installed with CUDA support (the default pip wheel) so users can take advantage of GPU acceleration via
--cudaon GPU-enabled machines. CellBender falls back to CPU automatically when no GPU is detected.