Skip to main content

Visualize, edit and export haplotype networks

Project description

Haplodemo

PyPI - Version PyPI - Python Version GitHub - Tests GitHub - Windows GitHub - macOS

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:

Long tree

Interact with the graph before saving the results:

Heavy tree

Supports haploweb visualization:

Haploweb

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.

Release Windows MacOS

Usage

Launch the demo application to get an overview of the features: haplodemo

Demo

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.

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

itaxotools_haplodemo-0.3.0.tar.gz (865.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

itaxotools_haplodemo-0.3.0-py3-none-any.whl (84.9 kB view details)

Uploaded Python 3

File details

Details for the file itaxotools_haplodemo-0.3.0.tar.gz.

File metadata

  • Download URL: itaxotools_haplodemo-0.3.0.tar.gz
  • Upload date:
  • Size: 865.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for itaxotools_haplodemo-0.3.0.tar.gz
Algorithm Hash digest
SHA256 0a5a1f74991d97af99631fdcaea4d9013047bc401f2f8d1c141c267e6e1b3ab4
MD5 7bb9597251c32784718470697925b0b0
BLAKE2b-256 1bbb776036ebde70878c12e5a09fc2f7507ea0358973f4eeb3e99019d0b4c9b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for itaxotools_haplodemo-0.3.0.tar.gz:

Publisher: deploy.yml on iTaxoTools/haplodemo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file itaxotools_haplodemo-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for itaxotools_haplodemo-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b4293fdc950db1e469a2972c7221457648661a40e3d90d994921c23790520c29
MD5 b3444ffa7598c751bb968466c95c2da5
BLAKE2b-256 b98ecf0c9b7418554e7366b4603bee2c51cad61232606c69627fdfbd9247bb8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for itaxotools_haplodemo-0.3.0-py3-none-any.whl:

Publisher: deploy.yml on iTaxoTools/haplodemo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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