Skip to main content

anndata-fcs

GitHub Actions Workflow Status PyPI - Version PyPI - License PyPI - Python Version

Converting CITESeq data to FCS file format. anndata-fcs implements function to convert from AnnData object to FlowData objects, DataFrame objects and vice versa. For loading and generation of FCS files anndata-fcs uses the implementation of the flowio package.

Get started

You can install anndata-fcs with pip:

pip install anndata-fcs

Example

# Load anndata object
adata = sc.read_10x_h5(
    filename="5k_pbmc_protein_v3_nextgem_filtered_feature_bc_matrix.h5",
    gex_only=False,
)

# Filter citeseq data
adata_citeseq = adata[:, adata.var["feature_types"] == "Antibody Capture"]

# Convert data to fcs format
fcs_data = anndata_to_fcs(adata_citeseq)

# Save fcs file
fcs_data.write_fcs("citeseq.fcs")

Development

Install development version of anndata-fcs with git:

git clone git+https://github.com/harryhaller001/citeseq_to_fcs.git

To setup development environment create python virtual environment:

python3 -m virtualenv venv
source venv/bin/activate

Use make to setup dependencies:

make install

# activate pre-commit
pre-commit install

Run checks with make:

# Run all checks
make check

# Run formatting
make format

# Run unit testing with pytest
make testing

# Run type checks with mypy
make typing

Dependencies

Required dependencies:

Optional dependencies:

  • For density plots, scipy is required.

License

Please refer to the LICENSE file

Metadata

Release files for anndata-fcs 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for anndata-fcs 0.2.1
File Size Uploaded Provenance Actions
anndata_fcs-0.2.1.tar.gz 8.4 kB Without provenance Details for anndata_fcs-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for anndata-fcs 0.2.1
File Interpreter ABI Platform Actions
anndata_fcs-0.2.1-py3-none-any.whl Python 3 none any Details for anndata_fcs-0.2.1-py3-none-any.whl

Total release size: 17.9 kB

Release files / anndata_fcs-0.2.1.tar.gz

Download URL anndata_fcs-0.2.1.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5db1828b1c64587cb21fb5063dfc26a464cdf21b5ba914ec0fbe5bf57ec8eb34
BLAKE2b-256 checksum
How to use checksums
e5d8d5f53553678de70f88a3764b6513fad7de6c7a846e601d6a1adaab205660
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / anndata_fcs-0.2.1-py3-none-any.whl

Download URL anndata_fcs-0.2.1-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b392cd0f23d2a122c23ce29196443727311cbf83e7282b23de1751d5f1a5e3ab
BLAKE2b-256 checksum
How to use checksums
e8d253f5cd62ad4ada09e1afd9d9835f60b1cbe5449d20372eef2d2af9f7e59e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for anndata-fcs 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page