Haplodemo
A graphical backend module to visualize, edit and export haplotype networks.
This is not a standalone application. For an implementation that visualizes sequence files, visit Hapsolutely.
Examples
Lay out the initial graph using a modified spring algorithm:
Interact with the graph before saving the results:
Supports haploweb visualization:
Installation
Haplodemo is available on PyPI. You can install it through pip:
pip install itaxotools-haplodemo
Executables
Standalone executables are included for demonstrating the library capabilities.
It is not possible to open custom haplotype networks with the demo program.
Usage
Launch the demo application to get an overview of the features: haplodemo
To get started on instantiating the scene, view and controls, look at window.py.
For some examples of data visualization, look at demos.py.
For a comprehensive example of a network in YAML format, look at members_graph.yaml.
The network can be given in tree or graph format using the HaploTreeNode and HaploGraph types.
It is also possible to load a network from a properly formatted YAML file, or directly from a Python dictionary.
Alternatively, populate the scene manually with nodes and edges.
Release files for itaxotools-haplodemo 0.3.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 | |
|---|---|---|---|
| itaxotools_haplodemo-0.3.0.tar.gz | 865.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| itaxotools_haplodemo-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 950.4 kB
Release files / itaxotools_haplodemo-0.3.0.tar.gz
| Download URL | itaxotools_haplodemo-0.3.0.tar.gz |
|---|---|
| Size | 865.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a5a1f74991d97af99631fdcaea4d9013047bc401f2f8d1c141c267e6e1b3ab4
|
|
BLAKE2b-256 checksum How to use checksums |
1bbb776036ebde70878c12e5a09fc2f7507ea0358973f4eeb3e99019d0b4c9b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 4, 2025.
Transparency logRelease files / itaxotools_haplodemo-0.3.0-py3-none-any.whl
| Download URL | itaxotools_haplodemo-0.3.0-py3-none-any.whl |
|---|---|
| Size | 84.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4293fdc950db1e469a2972c7221457648661a40e3d90d994921c23790520c29
|
|
BLAKE2b-256 checksum How to use checksums |
b98ecf0c9b7418554e7366b4603bee2c51cad61232606c69627fdfbd9247bb8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 4, 2025.
Transparency log