Fitchi
Haplotype genealogies based on Fitch distances.
This is a Python package for Fitchi. For more information on the original, see here.
Click for a comprehensive output example
Installation
Fitchi is available on PyPI. You can install it through pip:
pip install itaxotools-fitchi
Usage
The original command-line tool is included as part of the installation. It produces HTML files from Nexus files, as demonstrated with the example input and output files. For information about the available options, you may refer to the original documentation.
Note that you will need all dependencies in order to run Fitchi this way:
fitchi examples/example.nex examples/example.html -m 3 -p pop1 pop2
start examples/example.html # browse results on Windows
You may also invoke Fitchi from Python using compute_fitchi_tree(). This returns a tree in the form of HaploNode objects, which can be used for downstream analysis or visualization. Only scipy is required in this case.
See the scripts folder for some usage examples.
Dependencies
Fitchi requires scipy. Extra statistics require biopython. Visualization requires pygraphviz.
To install pygraphviz, please follow these instructions from the pygraphviz documentation. For example, to install pygraphviz on Windows, first install Graphviz to the default location, then execute the following command in PowerShell:
pip install pygraphviz --config-setting build_ext^="^--include-dir=C:\Program Files\Graphviz\include" --config-setting build_ext^="^--library-dir=C:\Program Files\Graphviz\lib"
Citation
Matschiner M (2015) Fitchi: Haplotype genealogy graphs based on the Fitch algorithm. Bioinformatics, 32:1250-252.
Metadata
Release files for itaxotools-fitchi 1.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 | Provenance | Actions |
|---|---|---|---|---|
| itaxotools-fitchi-1.3.0.tar.gz | 117.5 kB | Without provenance | Details for itaxotools-fitchi-1.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| itaxotools_fitchi-1.3.0-py3-none-any.whl | Python 3 | none | any | Details for itaxotools_fitchi-1.3.0-py3-none-any.whl |
Total release size: 161.7 kB
Release files / itaxotools-fitchi-1.3.0.tar.gz
| Download URL | itaxotools-fitchi-1.3.0.tar.gz |
|---|---|
| Size | 117.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c157fa2d82eff5d0ccfef6341d7460ee87e1beb0cdd7cde238e68aaa6a10c91
|
|
BLAKE2b-256 checksum How to use checksums |
5b103a40fffde5356482a4638120d04862300a08d8efac04db6e1f41705ce4c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / itaxotools_fitchi-1.3.0-py3-none-any.whl
| Download URL | itaxotools_fitchi-1.3.0-py3-none-any.whl |
|---|---|
| Size | 44.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b332970693bc4bd3441adcfb991653ebbe14b5d3e6aa55bdee5dc257f499bcee
|
|
BLAKE2b-256 checksum How to use checksums |
82e4d30c009fe50b26cf3964b4a5f7683c2aa6c6a2080cf12ec59803b64a5bc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Security for itaxotools-fitchi 1.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.