Self-contained flow cytometry analysis helpers with a slim vendored Cytoflow runtime.
Project description
zeztz-flow
zeztz-flow is a 96-well plate flow-cytometry FCS analysis package.
It bundles Xiaoyu's analysis helpers with a vendored Cytoflow runtime
subset — no separate cytoflow installation needed.
Features: FCS import, metadata assignment, outlier removal, cell/doublet gating, histograms, density plots, well/row/column subsetting, and 96-well median export.
The vendored subset includes: FCS import, range/polygon/density gates,
autofluorescence and linear bleedthrough correction, histogram/density
views, and linear/log scales. The compiled logicle extension was
removed — pure Python only.
Installation
mamba env create -f environment.yml
mamba activate zeztz-flow
Or in an existing Python >=3.9 environment: pip install -e .
Quick Start
import matplotlib.pyplot as plt
import zeztzflow as flow
expr = flow.zeztz_exp("path/to/fcs_directory")
cells = flow.auto_gate_FSC_SSC(expr.expr, keep=0.6)
single_cells = flow.auto_gate_FSC_A_H(cells, keep=0.7)
flow.density_plot(single_cells, xchannel="FSC 488/10-A",
ychannel="Alexa 647-A", xscale="log", yscale="log")
expr.median_96well(single_cells, channel="Alexa 647-A")
plt.show()
Documentation
- PROJECT_GUIDE.md — API reference, workflows, testing, publishing
- AGENTS.md — guide for AI coding agents
- llms.txt — machine-readable project map
Testing
MPLCONFIGDIR=/tmp/mplconfig python test/package_smoke_test.py
License
GPL-compatible. See LICENSE.txt and THIRD_PARTY_NOTICES.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zeztz_flow-0.1.0.tar.gz.
File metadata
- Download URL: zeztz_flow-0.1.0.tar.gz
- Upload date:
- Size: 71.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.4 CPython/3.10.13 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6aee91055f420603a46b991608995d84a387a4af733a9bcca2fb6addaf3097f9
|
|
| MD5 |
aea6c96cf582a69765c0642e4982c4bb
|
|
| BLAKE2b-256 |
7ed2ede18c97eacdabf24874d3cc1866d32f0b9527ac6fe576ff7f38577eac42
|
File details
Details for the file zeztz_flow-0.1.0-py3-none-any.whl.
File metadata
- Download URL: zeztz_flow-0.1.0-py3-none-any.whl
- Upload date:
- Size: 71.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.4 CPython/3.10.13 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fc8011fd2b9845eb961ad68e950126c343b883af1c3c8f75d97af4872537ec1
|
|
| MD5 |
e3c4b8edb42fcd8dd653d14e85633b35
|
|
| BLAKE2b-256 |
e9e8b1d5a26c39ab23923d5c6b6f2a90bded0b2d9e2744fa76ac3fae6327fa4c
|