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.7.tar.gz (9.0 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.7-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: FlowIO-0.9.7.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2

File hashes

Hashes for FlowIO-0.9.7.tar.gz
Algorithm Hash digest
SHA256 e9531e7329c015b89b1158f7dee23e48ad1f750da77cd75a689f6c6bc8c3c541
MD5 555fe771d47421a1a9f724db78b7a049
BLAKE2b-256 9900a2bae905876c640473ed2752694818307a177695870dd6c41e61720b3ec0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: FlowIO-0.9.7-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2

File hashes

Hashes for FlowIO-0.9.7-py3-none-any.whl
Algorithm Hash digest
SHA256 4b24aca98f6ff42a61dd5e12b3624d3e154477f00c4cbf35f82781af8e4cc75f
MD5 294299624ad11a5186b0aaf6f17533c3
BLAKE2b-256 c8802c6d62209bba1d657598e1cd08632b043d3753a996b0aaee3a359c1b3656

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