flowio

Solid

Parse FCS (Flow Cytometry Standard) files v2.0-3.1. Extract events as NumPy arrays, read metadata/channels, convert to CSV/DataFrame, for flow cytometry data preprocessing.

AI & Automation 2,279 stars 168 forks Updated 3 weeks ago Apache-2.0

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# FlowIO: Flow Cytometry Standard File Handler ## Overview FlowIO is a lightweight Python library for reading and writing Flow Cytometry Standard (FCS) files. Parse FCS metadata, extract event data, and create new FCS files with minimal dependencies. The library supports FCS versions 2.0, 3.0, and 3.1, making it ideal for backend services, data pipelines, and basic cytometry file operations. ## When to Use This Skill This skill should be used when: - FCS files requiring parsing or metadata extraction - Flow cytometry data needing conversion to NumPy arrays - Event data requiring export to FCS format - Multi-dataset FCS files needing separation - Channel information extraction (scatter, fluorescence, time) - Cytometry file validation or inspection - Pre-processing workflows before advanced analysis **Related Tools:** For advanced flow cytometry analysis including compensation, gating, and FlowJo/GatingML support, recommend FlowKit library as a companion to FlowIO. ## Installation ```bash uv pip install flowio ``` Requires Python 3.9 or later. ## Quick Start ### Basic File Reading ```python from flowio import FlowData # Read FCS file flow_data = FlowData('experiment.fcs') # Access basic information print(f"FCS Version: {flow_data.version}") print(f"Events: {flow_data.event_count}") print(f"Channels: {flow_data.pnn_labels}") # Get event data as NumPy array events = flow_data.as_array() # Shape: (events, channels) ``` ### Creating FCS Files ```python import nump...

Details

Author
foryourhealth111-pixel
Repository
foryourhealth111-pixel/Vibe-Skills
Created
3 months ago
Last Updated
3 weeks ago
Language
Python
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category