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 Poetry Preprint 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.0.tar.gz (51.3 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.0-py3-none-any.whl (56.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cytotable-1.2.0.tar.gz
Algorithm Hash digest
SHA256 fb9a76261f4b172357a8a151d1efa2a84e745b7d0e847a3d3f3c4fccc0d96ef9
MD5 23ba13172f0a561b5854b12728cdbd3d
BLAKE2b-256 c750273a1877ed4ad840ab6f44e6f5b8a24ed1d650bb5a6b250dfc8435707f57

See more details on using hashes here.

Provenance

The following attestation bundles were made for cytotable-1.2.0.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.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for cytotable-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 820dff6b0ddad0a6d26866691b685dfa8d135473a7ce5f9654e44db5f6cbbb75
MD5 334da10d99f3a9d35b794e58296c4036
BLAKE2b-256 842dc1042bcc87b5936d248fa75713a005e4eab49a445b3656018c943bdc526f

See more details on using hashes here.

Provenance

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