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.
Release files for fcsy 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fcsy-0.2.0.tar.gz | 12.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fcsy-0.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 18.2 kB
Release files / fcsy-0.2.0.tar.gz
| Download URL | fcsy-0.2.0.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
555d9fb61ba36f076faeee5dee7f42d8dc662dae1adf675aebe6b35b563f1dd9
|
|
BLAKE2b-256 checksum How to use checksums |
afce48cf7f9ae5e79f735801db8f3f9e72be23138365621d1e4debb5e23f752a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / fcsy-0.2.0-py2.py3-none-any.whl
| Download URL | fcsy-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ebca4f4c61f77735bbbad15f7a88fd62ac011e138b579c45a524c83d8275ef82
|
|
BLAKE2b-256 checksum How to use checksums |
7137ee73972291a30a786d8fc95096746371c4c56d2a155577901fdaaf2980f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|