Skip to main content
GraTools Logo

PyPI version fury.io PyPI license

PyPI pyversions PyPi downloads

GraTools is a powerful tool for analyzing and handling pangenome graphs quickly, whatever the model and therefore the size and the complexity of the GFA file.

It allows users to extract sequences or subgraphs, convert graphs into FASTA sequences, and identify shared and specific nodes across samples. Additionally, it provides essential statistics for chromosomes and samples data. With multi-threading support and flexible logging capabilities, Gratools is an efficient solution for pangenome graph analysis.

GraTools has been developed by IRD and CIRAD, as part of a collaboration between the PANEEC/DIADE and PHIM research teams.

./docs/source/_static/paneec_small.png ./docs/source/_static/ird_small.png ./docs/source/_static/cirad_small.jpg

Documentation

https://gratools.readthedocs.io/en/latest/

Install GraTools

GraTools can be installed like any standard Python package. For a quick start, please refer to the quick start guide in the official documentation.

Using GraTools

Gratools is composed of multiple commands that can be used with the following syntax:

gratools [command] [options]

To view the list of available commands and their descriptions, simply run:

gratools

This will display all the commands supported by Gratools.

For example, to list the chromosomes per sample in a GFA file

gratools show_chr --gfa graph.gfa --full

For more details, refer to the For more details, refer to the Quick Start section or the full command manual in the official documentation. or the full command manual in the official documentation.

Test GraTools with a GFA file

wget http://itrop.ird.fr/GraTools/data-gratools.tar.gz
tar -zxvf data-gratools.tar.gz

Discovering GraSuite

GraTools Logo

GraTools is one of the tools in GraSuite, a comprehensive ecosystem of tools for working with GFA pangenome graphs — from creation to analysis and visualization.

Citation

https://forge.ird.fr/diade/gratools

Maintainer

Authors

  • Sébastien RAVEL (PHIM, CIRAD)

  • Camille CARRETTE (PANEEC/DIADE, IRD/SYNGENTA)

  • Nina MARTHE (PANEEC/DIADE, IRD)

  • Mohamed MOURDAS (PANEEC/DIADE, IRD)

  • François SABOT (PANEEC/DIADE, IRD)

  • Christine TRANCHANT (PANEEC/DIADE, IRD)

Thanks

  • Cécile Triay for the logo.

  • the i-trop plateform, especially Ndomassi Tando, for the support.

License

Licensed under GLPLv3.

Intellectual property belongs to IRD , CIRAD and previously cited authors.

Metadata

Release files for GraTools 1.1.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 GraTools 1.1.0
File Size Uploaded
gratools-1.1.0.tar.gz 415.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for GraTools 1.1.0
File Interpreter ABI Platform
gratools-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 558.0 kB

Release files / gratools-1.1.0.tar.gz

Download URL gratools-1.1.0.tar.gz
Size 415.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d7866e42dc738a78ceb8c6329add4f0d96710f59bc368cd830e48cf7d0b4ef2d
BLAKE2b-256 checksum
How to use checksums
f51c1fe4366f61171f78e22d53455ff38d71248d9d6168caa122722d7753cdc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / gratools-1.1.0-py3-none-any.whl

Download URL gratools-1.1.0-py3-none-any.whl
Size 142.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0fee36963fda57565d2a1fceec53d6b9b63b6720061d221b807653e1fba56de
BLAKE2b-256 checksum
How to use checksums
56afe862b46e6bdeac54299dbbf08c97795a2a14c8b5359faec81630c6e69dbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

2 release files

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