Skip to main content

GraDiv

GraDiv is a tool to lead diversity analysis on a pangenome graph.

It allows users to call variants from a pangenome graph, then compute diversity statistics from them.

Version history

0.1 (2024-06-24): Original version, implementing the atomic variant calling algorithm.

0.2 (2026-05-05): Include the VGF format (version 2) for graph navigation. Region specification disabled.

0.3 (2026-10-28): VGF version 3.

Installation

To install version 0.1 (expecting a graph processed by Gratools) use:

$ python3 -m pip install gradiv

To install the current version use:

$ git clone git@forge.ird.fr:phim/gradiv.git
$ cd gradiv
$ pip install .

Usage of GraDiv

Commands available

Usage: gradiv [OPTIONS] COMMAND [ARGS]...

  A tool for diversity analysis of pangenome graphs

Options:
  -v, --version Show the version and exit.
  -h, --help    Show this message and exit.

Commands:
  call    Call polymorphisms from a VGF file
  compute Compute statistics from a genotype table
  convert Convert GFA file to VGF format

Testing a small GFA

A small test graph is available in test_data/. The GFA file and GraTools index are provided.

Figures are provided to visualize the graph’s structure. It is displayed as four different sub-graphs.

https://forge.ird.fr/phim/gradiv/-/raw/main/test_data/figures/indels.png?ref_type=heads

Authors

  • Margaux IMBERT (PHIM, UM)

  • Sébastien RAVEL (PHIM, CIRAD)

  • Christine TRANCHANT (DIADE, IRD)

  • Stéphane DE MITA (PHIM, INRAE)

Metadata

Release files for GraDiv 0.3.0

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

Source distribution (sdist)

Source distribution for GraDiv 0.3.0
File Size Uploaded Provenance Actions
gradiv-0.3.0.tar.gz 446.6 kB Without provenance Details for gradiv-0.3.0.tar.gz

Release files / gradiv-0.3.0.tar.gz

Download URL gradiv-0.3.0.tar.gz
Size 446.6 kB
Tags Source
SHA-256 checksum
How to use checksums
916d46e99cbd121692d528515bf2f62d52d16fd896a50e6be1b8fa5eac44e6dd
BLAKE2b-256 checksum
How to use checksums
f1c97b4c87a943263bd09e1d5a679be40b3081b0f99202e26d41515923f120aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for GraDiv 0.3.0

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.

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 release file No provenance

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