Skip to main content

Transform CellProfiler and DeepProfiler data for processing image-based profiling readouts with Pycytominer and other Cytomining tools.

Project description

CytoTable

PyPI - Version Build Status uv Manuscript DOI badge Software DOI badge

dataflow Diagram showing data flow relative to this project.

Summary

Image-based profiling often entails preparing data for analysis by transforming the outputs of image analysis tools into a consistent, analysis-ready format. CytoTable streamlines analyses by harmonizing CellProfiler (.csv or .sqlite), cytominer-database (.sqlite), DeepProfiler (.npz), or other sources such as IN Carta output data at scale. This helps biologists by lowering the barrier between image acquisition and data interpretation, enabling them to focus on biological insights rather than file formats or data wrangling.

CytoTable creates Parquet or AnnData files for both independent analysis and for input into Pycytominer. The output files (such as Parquet and AnnData file formats) have a documented data model, including referenceable schema where appropriate (for validation within Pycytominer or other image-based profiling projects).

The name for the project is inspired by:

  • Cyto: "1. (biology) cell." (Wiktionary: Cyto-)
  • Table:
    • "1. Furniture with a top surface to accommodate a variety of uses."
    • "3.1. A matrix or grid of data arranged in rows and columns."
      (Wiktionary: Table)

Installation

Install CytoTable from PyPI or from source:

# install from pypi
pip install cytotable

# install directly from source
pip install git+https://github.com/cytomining/CytoTable.git

Getting started

Check out the following resources to get started with CytoTable! We created tutorials which follow a narrative-driven approach. We also provide Jupyter notebooks for pragmatic, hands-on explanations.

We suggest image analysts begin with the tutorials and explore the example notebooks afterwards.

Resource What it covers Link
Tutorial CellProfiler SQLite or CSV to Parquet Open tutorial
Tutorial NPZ embeddings to Parquet Open tutorial
Tutorial Multi-plate merge with tablenumber Open tutorial
Example notebook CytoTable mise en place (general overview) Open notebook
Example notebook CytoTable from the cloud (cloud-based overview) Open notebook

Contributing, Development, and Testing

We test CytoTable using ubuntu-latest and macos-latest GitHub Actions runner images.

Please see contributing.md for more details on contributions, development, and testing.

Relationship to other projects

CytoTable focuses on image-based profiling data harmonization and serialization. At scale, CytoTable transforms data into file formats which can be directly integrated with:

Please let us know how you use CytoTable (we'd love to add your project to this list)!

  • Pycytominer for the bioinformatics pipeline for image-based profiling.
  • coSMicQC for quality control.
  • CytoDataFrame for interactive visualization of profiles with single cell images.

References

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cytotable-1.2.3.tar.gz (605.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cytotable-1.2.3-py3-none-any.whl (65.5 kB view details)

Uploaded Python 3

File details

Details for the file cytotable-1.2.3.tar.gz.

File metadata

  • Download URL: cytotable-1.2.3.tar.gz
  • Upload date:
  • Size: 605.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cytotable-1.2.3.tar.gz
Algorithm Hash digest
SHA256 91b0a7fc869dec5f41614281bdff865ff0e095fc89408ba8450c1cdbe53a3ca3
MD5 a2cbaa207ecacf178f9f78ce8a2e46f5
BLAKE2b-256 e1ec4ac7ce883d338b5c1bb12120a10c97d567f18b9209528a8ff8a8e602282e

See more details on using hashes here.

Provenance

The following attestation bundles were made for cytotable-1.2.3.tar.gz:

Publisher: publish-pypi.yml on cytomining/CytoTable

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cytotable-1.2.3-py3-none-any.whl.

File metadata

  • Download URL: cytotable-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 65.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cytotable-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 94c321059e4745c3918c7979bc75bee00bf6f5bb4ee62387fe50bc49e5818336
MD5 570f9035272f14c67ec74b358d7d8abc
BLAKE2b-256 dfe06671cfaeb1953aa66ecc8ce580801ad6e81600b6d903ce6f8a5934fee79d

See more details on using hashes here.

Provenance

The following attestation bundles were made for cytotable-1.2.3-py3-none-any.whl:

Publisher: publish-pypi.yml on cytomining/CytoTable

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page