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.1.3.tar.gz (34.9 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.1.3-py3-none-any.whl (37.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cytotable-1.1.3.tar.gz
Algorithm Hash digest
SHA256 d1686655180c1b37e7fda1c44111f703e1ae117247aafa6e6083a05deaf8398a
MD5 39cf99e26f9d54bc55f970e9fda606df
BLAKE2b-256 06fe0388b9a699b27328511ae33ef254a6499317003c6d605d9023e22e61010c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: cytotable-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 37.6 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.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ffead80ae85e855ee1dccb18ff138343fc7eb75816849415edc04ffa7e2ca304
MD5 8d8844b35e900f9078129fe4ae2a460d
BLAKE2b-256 7ff5724b7bec8bb5cef6a3fb396052da8a3e620ecf7cfaa59703cc0d53641e03

See more details on using hashes here.

Provenance

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