A package for processing FCS files
Project description
fcsy
A package for processing FCS files.
Free software: MIT license
Installation
pip install fcsy
Usage
Read a fcs file to pandas DataFrame.
import fcsy
df = fcsy.read_fcs('input_file')
Read a fcs file with “long name”
df = fcsy.read_fcs('input_file', name_type='long')
# or only read the names
long_names = fcsy.read_fcs_names('input_file', name_type='long')
Write a data frame to fcs. df.columns is written to both short and long names of the fcs.
fcsy.write_fcs(df, 'output_file')
Write to fcs with “long name”. df.columns and long_names are written to short and long names of the fcs.
fcsy.write_fcs(df, 'output_file', long_names=['a','b','c'])
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2018-12-18)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fcsy-0.2.0.tar.gz
(12.3 kB
view details)
Built Distribution
File details
Details for the file fcsy-0.2.0.tar.gz
.
File metadata
- Download URL: fcsy-0.2.0.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
555d9fb61ba36f076faeee5dee7f42d8dc662dae1adf675aebe6b35b563f1dd9
|
|
MD5 |
5670d0c036f8ddf46462190d9f0d4c1d
|
|
BLAKE2b-256 |
afce48cf7f9ae5e79f735801db8f3f9e72be23138365621d1e4debb5e23f752a
|
File details
Details for the file fcsy-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: fcsy-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
ebca4f4c61f77735bbbad15f7a88fd62ac011e138b579c45a524c83d8275ef82
|
|
MD5 |
381017089033e73d5e2e1d2e6e7f1fce
|
|
BLAKE2b-256 |
7137ee73972291a30a786d8fc95096746371c4c56d2a155577901fdaaf2980f0
|