FlowIO FCS Reader/Writer
Read, inspect, and write flow cytometry FCS 2.0/3.0/3.1 files correctly with FlowIO 1.4.0.
Data & AnalyticsIntermediate★ 33,030⑂ 3,248AI score 8/10Last updated: Aug 9, 2026
What it does
- Inspects HEADER, TEXT, ANALYSIS segments and PnN/PnS channel labels of FCS 2.0/3.0/3.1 files.
- Extracts events as a
(event_count, channel_count)NumPy array while making thepreprocess=Truevspreprocess=Falsedistinction explicit. - Reads legacy multi-dataset files via
read_multiple_data_sets()instead of hand-parsing$NEXTDATAoffsets. - Writes FCS 3.1 list-mode single-precision files with
create_fcs(), or copies/de-identifies withwrite_fcs(), always followed by a reopen-and-validate step. - Ships
scripts/inspect_fcs.pyfor a metadata-first inventory report with size and memory limits.
Who it's for
- Immunology and life-science researchers preprocessing cytometry data in Python.
- Data engineers validating FCS structure before pandas or ML pipelines.
- Core-lab staff diagnosing offset errors, vendor format defects, or corrupted acquisitions.
Example uses
- "Summarize channel labels and event counts for every FCS file in this folder" → metadata-only parsing or the bundled inspector.
- "Export my NumPy matrix as an FCS 3.1 file and verify the round trip" →
create_fcs()plus reopen andnp.testing.assert_allclose. - "Produce a copy without subject/operator identifiers" →
write_fcs(..., metadata={"src": "Deidentified export"}).
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/K-Dense-AI/scientific-agent-skills/HEAD/skills/flowio/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/flowio folder from the GitHub repo K-Dense-AI/scientific-agent-skills into my ~/.claude/skills/flowio/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/K-Dense-AI/scientific-agent-skills.git && mkdir -p ~/.claude/skills && cp -r scientific-agent-skills/skills/flowio ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and confirm Python 3.9–3.13 plus
uvare available (uv --version). - Clone the repo:
git clone https://github.com/K-Dense-AI/scientific-agent-skills.git - Create the skills directory:
mkdir -p ~/.claude/skills - Copy the skill in:
cp -r scientific-agent-skills/skills/flowio ~/.claude/skills/ - Install the pinned library:
uv pip install "flowio==1.4.0"(or useuv run --no-project --with "flowio==1.4.0"per the examples). - Restart Claude Code and ask something like "inspect the metadata of this FCS file" to trigger the skill.
- To run the inspector manually, set
FLOWIO_SKILL_DIR=~/.claude/skills/flowioand runpython "$FLOWIO_SKILL_DIR/scripts/inspect_fcs.py" sample.fcs.
View source on GitHub ↗License: MIT