ConvPhase
A convenient phase program.
The purpose of this program is to combine PHASE and SeqPHASE into a single python package, while making some crucial configuration options available.
Unfortunately, internal communication between PHASE and SeqPHASE is done through Fasta files. However, an iterative protocol was implemented to parse and write common Python datatypes. It is also possible to work with TSV and Fasta variants (MolD, HapView) by leveraging Taxi2.
This is a computational backend. For the GUI application, please visit ConvPhaseGui.
Installation
ConvPhase is available on PyPI. You can install it through pip:
pip install itaxotools-convphase
Executables
Download and run the standalone executables without installing Python from the latest ConvPhaseGui release page.
No executables are currently provided for the command-line tool.
Usage
The package comes with a command-line tool:
convphase examples/simple.fas ambiguous.fas
convphase examples/simple.tsv phased.tsv -p 0.4 -q 0.4
The program will replicate the input file format for the output file.
Allele identifiers are appended to the individual identifiers.
The following options from PHASE are available:
- phase threshold (-p)
- allele threshold (-q)
- number of iterations (-n)
- thinning interval (-t)
- burn-in (-b)
For some examples on how to use the Python API, please have look at the scripts folder.
Dependencies
Building from source requires:
PHASE and SeqPHASE are included as git submodules.
Taxi2 is included as a setuptools dependency.
Citations
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.
Release files for itaxotools-convphase 0.1.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_convphase-0.1.3.tar.gz | 1.3 MB | Details |
Built distributions (wheels)
Total release size: 18.0 MB
Release files / itaxotools_convphase-0.1.3.tar.gz
| Download URL | itaxotools_convphase-0.1.3.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4f9b2047666cf5d190fed4509840c7d7fcd73dfa8dc10b0bf7862fb8186c53a
|
|
BLAKE2b-256 checksum How to use checksums |
55994dd83976de14b8864357099114bbc956d70c0d8c5771c748c8e595110b46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / itaxotools_convphase-0.1.3-cp312-cp312-win_amd64.whl
| Download URL | itaxotools_convphase-0.1.3-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 769.9 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3eb9f7a00c6347e403e63f63615250926afb8c9bd681210206fb59cb644a6615
|
|
BLAKE2b-256 checksum How to use checksums |
cc1591a0f5b05db3987f2098e93a88d05f8cae6277c776b4be8095f3305f1d80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / itaxotools_convphase-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | itaxotools_convphase-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
b2b52edfc53e5461221564c9e7a23a999a5bb13e199992e53f20e91f5d297a19
|
|
BLAKE2b-256 checksum How to use checksums |
dd8f2aeff5ba039c1d605c4b4d0d41832baae221a85d6863cdce0b9ed20e9119
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / itaxotools_convphase-0.1.3-cp312-cp312-macosx_11_0_universal2.whl
| Download URL | itaxotools_convphase-0.1.3-cp312-cp312-macosx_11_0_universal2.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.12 macOS 11.0+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
ad704abbfbb53a79c1ba995318ef86ac9263ec8b540bc9bc4639904ee20235f2
|
|
BLAKE2b-256 checksum How to use checksums |
ed4081de5cd7c87f0f8ac77040cdc74f9e501d58afb388d3eae88d3d8c6d8ff6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / itaxotools_convphase-0.1.3-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | itaxotools_convphase-0.1.3-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 876.0 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ee48a0e57f20786b29f1d9ff3d5cc7b1564535d537793d22e004864b14fd6f8a
|
|
BLAKE2b-256 checksum How to use checksums |
3a9c93e2bd18f1c50cce420865e5642868ce661992b44738ee2fab6e8ff79271
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / itaxotools_convphase-0.1.3-cp312-cp312-macosx_10_9_x86_64.whl
| Download URL | itaxotools_convphase-0.1.3-cp312-cp312-macosx_10_9_x86_64.whl |
|---|---|
| Size | 955.0 kB |
| Tags | CPython 3.12 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
1907b73558e245929aea9381426a215cf8f3038c0b1fa158a8d717c211b45f56
|
|
BLAKE2b-256 checksum How to use checksums |
6e3832ca9c116a2e586491ff126ad31fa7022b42c5e537874ba02c814f76c724
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / itaxotools_convphase-0.1.3-cp311-cp311-win_amd64.whl
| Download URL | itaxotools_convphase-0.1.3-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 769.8 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4073b9c397f19724b78780fa4086364ed7fe5d182ae317669dd643191ca55096
|
|
BLAKE2b-256 checksum How to use checksums |
8dcc0bcf5c633500094f34eb7ff1b80567af8dad0516088a81a80b1b1db0a304
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / itaxotools_convphase-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | itaxotools_convphase-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
9283ab230065068809264bcf73cb6ba96d1e93c9a1d9cd5e689e5c40acbcef8c
|
|
BLAKE2b-256 checksum How to use checksums |
73a01b7dacd952de87f8d56533b926b92804ef231faa8db7b6b6ab674d3c25b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / itaxotools_convphase-0.1.3-cp311-cp311-macosx_11_0_universal2.whl
| Download URL | itaxotools_convphase-0.1.3-cp311-cp311-macosx_11_0_universal2.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.11 macOS 11.0+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
46bfbefa16a40fec09c7739399cbfb9728d69877496cf5a66e1357a9061d07f5
|
|
BLAKE2b-256 checksum How to use checksums |
637152ab4fb5a627de1176b6775806e474c25cc954cc194cf11fcbddaf4f7779
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / itaxotools_convphase-0.1.3-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | itaxotools_convphase-0.1.3-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 876.0 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8675072757b54059b125879a4d62e54fd26898c7cb98efd819cbcfe0a0d7e51b
|
|
BLAKE2b-256 checksum How to use checksums |
95e1290684b254d4e9e1c195761134ca269e718ae1c8955490f2b9f0aa87482b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / itaxotools_convphase-0.1.3-cp311-cp311-macosx_10_9_x86_64.whl
| Download URL | itaxotools_convphase-0.1.3-cp311-cp311-macosx_10_9_x86_64.whl |
|---|---|
| Size | 954.9 kB |
| Tags | CPython 3.11 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
637e3a0ce9b374a58c23598b46a250e80afd47afb582654931124a8f588030b4
|
|
BLAKE2b-256 checksum How to use checksums |
3ac9200bc10d317f6fa6c72e9f62d90d3dd3669c26fc77a2e8c06189aea27309
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / itaxotools_convphase-0.1.3-cp310-cp310-win_amd64.whl
| Download URL | itaxotools_convphase-0.1.3-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 769.8 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e14d52be29a6c578fcba5199ab5c722cabeb7e3aa650358e32f925a6111033b2
|
|
BLAKE2b-256 checksum How to use checksums |
938ddbbf4c17420e2dfc9dc3657dab3d8a3952846621bf5de0ab5211dabf0b8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / itaxotools_convphase-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | itaxotools_convphase-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
88556e201417be0b1389a6f620c8984afd8f7e249222d420955be412b9812df4
|
|
BLAKE2b-256 checksum How to use checksums |
03368e2aab14dc427c9d24cdfc4a7f9a4c82a156b4f72b7b85794272f5f8ddef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / itaxotools_convphase-0.1.3-cp310-cp310-macosx_11_0_universal2.whl
| Download URL | itaxotools_convphase-0.1.3-cp310-cp310-macosx_11_0_universal2.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.10 macOS 11.0+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
72ae47005fa858084455cdf16f08e5dfd06f7336d023541de6289759af3e9467
|
|
BLAKE2b-256 checksum How to use checksums |
11919e65bf7cb65e33574583f47f7139c0045a6e1a224f891979011032c95e66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / itaxotools_convphase-0.1.3-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | itaxotools_convphase-0.1.3-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 876.0 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
590f9b9efeaa3f6c46ccbedf7d66d37f37e7da1cc1f71b217ee0416aec8b3974
|
|
BLAKE2b-256 checksum How to use checksums |
6ac65bfb0a904958c542311e162167213b923e399b19d508319eb8584bd5475c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / itaxotools_convphase-0.1.3-cp310-cp310-macosx_10_9_x86_64.whl
| Download URL | itaxotools_convphase-0.1.3-cp310-cp310-macosx_10_9_x86_64.whl |
|---|---|
| Size | 954.9 kB |
| Tags | CPython 3.10 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
26db24e6b61539cf0a4d11329af7251b90ece36a8385af47b2f7bf9372758f60
|
|
BLAKE2b-256 checksum How to use checksums |
6fe8f029af2765b185e3435eb406577f0b3c2eb2e17ee5637f9c371505ebb71c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|