Sign inSign up

getwilds/scvi-tools

Sponsored OSS

By Fred Hutch Data Science Lab

Updated 12 months ago

Container image for the use of scvi-tools library for Single-Cell analysis in Python

Image
Data science
0

743

getwilds/scvi-tools repository overview

scvi-tools

This directory contains Docker images for scvi-tools, a package for probabilistic modeling of single-cell omics data, focused on deep generative models.

Available Versions

Image Details

These Docker images are built from Python 3.12-slim and include:

  • scvi-tools v1.1.6: Deep probabilistic analysis of single-cell omics data
  • scanpy v1.10.2: Single-Cell Analysis in Python
  • PyTorch v2.6.0: Deep learning framework
  • leiden-clustering v0.1.0: Community detection for single-cell data
  • scikit-misc v0.5.1: Miscellaneous scikit additions

The images are designed to provide a comprehensive environment for single-cell analysis with deep learning capabilities and CUDA support.

Usage

Docker
docker pull getwilds/scvi-tools:latest
# or
docker pull getwilds/scvi-tools:1.1.6

# Alternatively, pull from GitHub Container Registry
docker pull ghcr.io/getwilds/scvi-tools:latest
Singularity/Apptainer
apptainer pull docker://getwilds/scvi-tools:latest
# or
apptainer pull docker://getwilds/scvi-tools:1.1.6

# Alternatively, pull from GitHub Container Registry
apptainer pull docker://ghcr.io/getwilds/scvi-tools:latest
Example Command
# Docker (using a hypothetical script called "analyze_scRNA.py" with GPU support)
docker run --gpus all --rm -v /path/to/project:/project getwilds/scvi-tools:latest python /project/analyze_scRNA.py

# Apptainer
apptainer run --nv --bind /path/to/project:/project docker://getwilds/scvi-tools:latest python /project/analyze_scRNA.py

# Apptainer (local SIF file)
apptainer run --nv --bind /path/to/project:/project scvi-tools_latest.sif python /project/analyze_scRNA.py

GPU Support

This image includes CUDA-enabled PyTorch (cu118). To use GPU acceleration:

  1. Your host needs NVIDIA drivers installed
  2. You need the NVIDIA Container Toolkit installed
  3. Use the --gpus all flag when running the container

Security Features

The scvi-tools Docker images include:

  • Python 3.12-slim base for minimal attack surface
  • Pinned versions for all dependencies to ensure reproducibility
  • Installation via pip with no-cache-dir to keep image size minimal
Security Scanning and CVEs

These images are regularly scanned for vulnerabilities using Docker Scout. However, due to the nature of deep learning frameworks and their dependencies, some Docker images may contain components with known vulnerabilities (CVEs).

Use at your own risk: While we strive to minimize security issues, these images are primarily designed for research and analytical workflows in controlled environments.

For the latest security information about this image, please check the CVEs_*.md files in this directory, which are automatically updated through our GitHub Actions workflow. If a particular vulnerability is of concern, please file an issue in the GitHub repo citing which CVE you would like to be addressed.

Dockerfile Structure

The Dockerfile follows these main steps:

  1. Uses Python 3.12-slim as the base image
  2. Adds metadata labels for documentation and attribution
  3. Installs scvi-tools, scanpy, and leiden-clustering with pinned versions
  4. Installs PyTorch with CUDA support from the PyTorch index

Source Repository

These Dockerfiles are maintained in the WILDS Docker Library repository.

Tag summary

Content type

Image

Digest

sha256:6a60922aa

Size

4.5 GB

Last updated

about 1 year ago

docker pull getwilds/scvi-tools