Skip to main content

Flow Cytometry Standard I/O

Project description

FlowIO

PyPI license PyPI pyversions PyPI version

Build Status Coverage

Overview

FlowIO is a Python library for reading and writing Flow Cytometry Standard (FCS) files. Flow IO has zero external dependencies and works in both Python 2 and 3. 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))

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

FlowIO-0.9.9.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

FlowIO-0.9.9-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file FlowIO-0.9.9.tar.gz.

File metadata

  • Download URL: FlowIO-0.9.9.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.6

File hashes

Hashes for FlowIO-0.9.9.tar.gz
Algorithm Hash digest
SHA256 45e98d684643c9aab8992440d3a6c21d403825365c81b1940698b5289b6ee8d0
MD5 285723c88f75728fbd3529a89c4cc87b
BLAKE2b-256 603e7fc937c801539d14ed78d8333fd11b3a9a16fbb37a6f5b12e1be359cc883

See more details on using hashes here.

File details

Details for the file FlowIO-0.9.9-py3-none-any.whl.

File metadata

  • Download URL: FlowIO-0.9.9-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.6

File hashes

Hashes for FlowIO-0.9.9-py3-none-any.whl
Algorithm Hash digest
SHA256 95c23aa303e4b997aa396da496cc5c5f560a8aade20c1009f5d670ac64532c43
MD5 18193f077487c4e2ecc65986c9ae2df4
BLAKE2b-256 7d20f082a0b907e7988d3a9ece24235174620cf7d7b47a342acaedc912432bfe

See more details on using hashes here.

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