Hapsolutely
Reconstruct haplotypes and produce genealogy graphs from population data.
- Phase sequences: Reconstruct haplotypes from sequence data
- Haplotype visualization: Generate haplotype networks, genealogies and haplowebs
- Haplotype statistics: Detect fields for recombination and subset overlap
Hapsolutely is a comprehensive program that integrates ConvPhase, haplodemo, popart_networks and haplostats.
Input files can be in TSV, FASTA or SPART/XML format.
Executables
Download and run the standalone executables without installing Python.
Installation
Hapsolutely is available on PyPI. You can install it through pip:
pip install itaxotools-hapsolutely
hapsolutely
Usage
Please refer to the Hapsolutely manual for information on how to use the program.
Citations
Hapsolutely was developed in the framework of the iTaxoTools project:
Vences M. et al. (2021): iTaxoTools 0.1: Kickstarting a specimen-based software toolkit for taxonomists. - Megataxa 6: 77-92.
Sequences are phased using PHASE and SeqPHASE:
Stephens, M., Smith, N., and Donnelly, P. (2001). A new statistical method for haplotype reconstruction from population data. American Journal of Human Genetics, 68, 978--989.
Stephens, M., and Donnelly, P. (2003). A comparison of Bayesian methods for haplotype reconstruction from population genotype data. American Journal of Human Genetics, 73:1162-1169.
Flot, J.F. (2010) seqphase: a web tool for interconverting phase input/output files and fasta sequence alignments. Mol. Ecol. Resour., 10, 162–166.
Networks are generated using either of Fitchi or popart_networks:
Matschiner M (2015) Fitchi: Haplotype genealogy graphs based on the Fitch algorithm. Bioinformatics, 32:1250-252.
Leigh, JW, Bryant D (2015). PopART: Full-feature software for haplotype network construction. Methods Ecol Evol 6(9):1110-1116.
Bandelt H, Forster P, Röhl A (1999). Median-joining networks for inferring intraspecific phylogenies. Mol Biol Evol 16(1):37-48.
Clement M, Snell Q, Walke P, Posada D, Crandall, K (2002). TCS: estimating gene genealogies. Proc 16th Int Parallel Distrib Process Symp 2:184.
Doyle, J. J. (1995) The irrelevance of allele tree topologies for species delimitation, and a non-topological alternative. Syst. Bot., 20, 574-588.
BioPython is used to create ML/NJ trees if needed. networkx is used for laying out the initial graph.
Cock, P.J. et al., 2009. Biopython: freely available Python tools for computational molecular biology and bioinformatics. Bioinformatics, 25(11), pp.1422-1423.
Hagberg, A., Swart, P. & S Chult, D., 2008. Exploring network structure, dynamics, and function using NetworkX.
Release files for itaxotools-hapsolutely 0.2.3
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_hapsolutely-0.2.3.tar.gz | 506.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| itaxotools_hapsolutely-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 613.8 kB
Release files / itaxotools_hapsolutely-0.2.3.tar.gz
| Download URL | itaxotools_hapsolutely-0.2.3.tar.gz |
|---|---|
| Size | 506.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7d6bb013102bd4ffea86421b8759727ebbb082545fcd5832ff5bb19da8e9bc5
|
|
BLAKE2b-256 checksum How to use checksums |
baf6e00e99f4d095b7b8d145b4d4f20cf778a83bc4b31e1c5a0d86334cf69d81
|
| 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 5, 2025.
Transparency logRelease files / itaxotools_hapsolutely-0.2.3-py3-none-any.whl
| Download URL | itaxotools_hapsolutely-0.2.3-py3-none-any.whl |
|---|---|
| Size | 107.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
834961386c805ddf6a474be3bb5817ab1de1184e0191ee15aee0f5b3a0d781e3
|
|
BLAKE2b-256 checksum How to use checksums |
496e6b0a012e1ad35bd6434b521ed6d13918128fab8da7de698bb9a6d21ad564
|
| 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 5, 2025.
Transparency log