Skip to main content

efficient processing of pangenomes in Graphical Fragment Assembly (GFA) format

Project description

Python Bindings for FlatGFA

This is a Python wrapper for the FlatGFA library. Read the API documentation for details about what it can do so far.

To build it, first install Maturin:

pipx install maturin

Next, we'll build and install the Python library in our virtualenv. Starting from the repository root:

uv venv  # Unless you already created the virtualenv.
uv pip install pip  # Maturin depends on pip.
source .venv/bin/activate
cd flatgfa-py
maturin develop

Now the flatgfa module is available to Python programs. Try our example:

python example.py

Or run the tests:

uv pip install pytest
pytest

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

flatgfa-0.1.3.tar.gz (32.2 kB view hashes)

Uploaded Source

Built Distributions

flatgfa-0.1.3-cp38-abi3-win_amd64.whl (171.5 kB view hashes)

Uploaded CPython 3.8+ Windows x86-64

flatgfa-0.1.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.8+ manylinux: glibc 2.17+ x86-64

flatgfa-0.1.3-cp38-abi3-macosx_11_0_arm64.whl (284.4 kB view hashes)

Uploaded CPython 3.8+ macOS 11.0+ ARM64

flatgfa-0.1.3-cp38-abi3-macosx_10_12_x86_64.whl (287.1 kB view hashes)

Uploaded CPython 3.8+ macOS 10.12+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page