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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

cytotable-1.2.1-py3-none-any.whl (61.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cytotable-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 61.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 555dd24b2d9d2b90b20876e25370fb803e88d68fd12d70f903951c95b0744ece
MD5 687ba202ef1f6159ecb73a63c0b13be3
BLAKE2b-256 42f89349c9e2c87691e221f11fc4eae448c19f273d72298fd8999868e7343b25

See more details on using hashes here.

Provenance

The following attestation bundles were made for cytotable-1.2.1-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