Skip to main content

Computer vision-Based Antigen Target Selector CuBATS

codecov CI PyPI version

CuBATS (Computer vision-Based Antigen Target Selector) is an open-source computer vision pipeline for patient-specific tumor-associated antigen (TAA) selection to support multi-target CAR T-cell strategies. It analyzes a variable number of immunohistochemically (IHC) stained whole-slide images (WSIs), alongside a single hematoxylin and eosin (HE) stained WSI for tumor segmentation. CuBATS systematically quantifies antigen expression and identifies optimal mono-, dual-, or triplet combinations for multi-targeted CAR T-cell therapy design—maximizing spatial tumor coverage while minimizing TAA overlap. CuBATS can be applied to any solid tumor type, given an appropriate tumor segmentation model.

CuBATS integrates WSI registration, tumor segmentation, color deconvolution, quantification, and combinatorial analysis into a unified, streamlined framework. It enables patient-specific, reproducible, and scalable TAA selection addressing the challenges of spatial tumor heterogeneity and antigen escape that currently hinder translation of CAR T-cell therapy to solid tumors.

Pipeline Overview

CuBATS includes the following steps:

  1. WSI Registration: Registration and alignment of tissue across all WSIs using VALIS.
  2. Tumor Segmentation: Configurable tumor segmentation based on the HE WSI. CuBATS accepts segmentation models in ONNX format, enabling tumor-type independent application, if an appropriate model is provided.
  3. Color Deconvolution: Separation of antigen-specific DAB stain from counterstains.
  4. Quantification of Staining Intensities: Classification of tissue regions into high-, medium-, low-positive and negative intensity categories.
  5. Combinatorial Analysis: Evaluation of spatial TAA co-expression to identify optimal mono-, dual-, and triplet TAA combinations that maximize tumor coverage while minimizing TAA overlap.

For full details and installation instructions, see the Documentation.

Contribute to the Project

If you want to contribute to the project please read our Contributing Guideline.

License

MIT © 2025 Moritz Dinser, Daniel Hieber

Metadata

Release files for CuBATS 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for CuBATS 1.0.1
File Size Uploaded
cubats-1.0.1.tar.gz 2.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for CuBATS 1.0.1
File Interpreter ABI Platform
cubats-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 4.4 MB

Release files / cubats-1.0.1.tar.gz

Download URL cubats-1.0.1.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
a709e2ec78f30098a1cfc7edcec8c5d0864613ba2335ab6364589e4fe549064c
BLAKE2b-256 checksum
How to use checksums
dffd5f4889bac91f76c88795d6ac406bd3a8e41831fde77542409a5449078024
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / cubats-1.0.1-py3-none-any.whl

Download URL cubats-1.0.1-py3-none-any.whl
Size 2.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
bb6e3eaa2c02dfa10b4f7c1bf8d06bfda95e95bdaec95571ea29d82872ea9322
BLAKE2b-256 checksum
How to use checksums
4d10af93521b74461d6ec75648837455e6ac1ece85a6fd6f003b2922c6375423
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page