FlowIO
Overview
FlowIO is a Python library for reading / writing Flow Cytometry Standard (FCS) files and has zero external dependencies. FlowIO is compatible with Python 3.6+ (FlowIO v0.9.9 was the last release supporting Python 2).
For higher level interaction with flow cytometry data, including GatingML and FlowJo 10 support, see the related FlowKit project.
Installation
The recommended way to install FlowIO is via the pip command:
pip install flowio
Or, if you prefer, you can install from the GitHub source:
git clone https://github.com/whitews/flowio
cd flowio
python setup.py install
Usage
FlowIO retrieves event data exactly as it is encoded in the FCS file: as a 1-dimensional list without separating the events into channels. However, all the metadata found within the FCS file is available as a dictionary via the 'text' attribute. Basic attributes are also available for commonly accessed properties. For example, the channel count can be used to easily convert the event data to a multi-column NumPy array:
import flowio
import numpy
fcs_data = flowio.FlowData('example.fcs')
npy_data = numpy.reshape(fcs_data.events, (-1, fcs_data.channel_count))
Metadata
Release files for FlowIO 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| FlowIO-1.0.1.tar.gz | 12.5 kB | Without provenance | Details for FlowIO-1.0.1.tar.gz |
Release files / FlowIO-1.0.1.tar.gz
| Download URL | FlowIO-1.0.1.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3bc3d4f3328c3767b6ae2a3c277a341b9e8f1941d2a7e0fd393f59336ecec5e2
|
|
BLAKE2b-256 checksum How to use checksums |
f4c1fde2ef454d2764ed5b1b7fadf7476a73dc89938fd0fd35863d02da3c84e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Security for FlowIO 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.