Skip to main content

A convenient phase program

Project description

ConvPhase

PyPI - Version PyPI - Python Version PyPI - License GitHub - Tests

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

Windows MacOS

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.

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_convphase-0.1.3.tar.gz (1.3 MB view details)

Uploaded Source

Built Distributions

itaxotools_convphase-0.1.3-cp312-cp312-win_amd64.whl (769.9 kB view details)

Uploaded CPython 3.12 Windows x86-64

itaxotools_convphase-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

itaxotools_convphase-0.1.3-cp312-cp312-macosx_11_0_universal2.whl (1.8 MB view details)

Uploaded CPython 3.12 macOS 11.0+ universal2 (ARM64, x86-64)

itaxotools_convphase-0.1.3-cp312-cp312-macosx_11_0_arm64.whl (876.0 kB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

itaxotools_convphase-0.1.3-cp312-cp312-macosx_10_9_x86_64.whl (955.0 kB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

itaxotools_convphase-0.1.3-cp311-cp311-win_amd64.whl (769.8 kB view details)

Uploaded CPython 3.11 Windows x86-64

itaxotools_convphase-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

itaxotools_convphase-0.1.3-cp311-cp311-macosx_11_0_universal2.whl (1.8 MB view details)

Uploaded CPython 3.11 macOS 11.0+ universal2 (ARM64, x86-64)

itaxotools_convphase-0.1.3-cp311-cp311-macosx_11_0_arm64.whl (876.0 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

itaxotools_convphase-0.1.3-cp311-cp311-macosx_10_9_x86_64.whl (954.9 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

itaxotools_convphase-0.1.3-cp310-cp310-win_amd64.whl (769.8 kB view details)

Uploaded CPython 3.10 Windows x86-64

itaxotools_convphase-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

itaxotools_convphase-0.1.3-cp310-cp310-macosx_11_0_universal2.whl (1.8 MB view details)

Uploaded CPython 3.10 macOS 11.0+ universal2 (ARM64, x86-64)

itaxotools_convphase-0.1.3-cp310-cp310-macosx_11_0_arm64.whl (876.0 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

itaxotools_convphase-0.1.3-cp310-cp310-macosx_10_9_x86_64.whl (954.9 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

File details

Details for the file itaxotools_convphase-0.1.3.tar.gz.

File metadata

  • Download URL: itaxotools_convphase-0.1.3.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for itaxotools_convphase-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e4f9b2047666cf5d190fed4509840c7d7fcd73dfa8dc10b0bf7862fb8186c53a
MD5 ea4d97f6038dc03b71bd0d5fa6b5ee55
BLAKE2b-256 55994dd83976de14b8864357099114bbc956d70c0d8c5771c748c8e595110b46

See more details on using hashes here.

File details

Details for the file itaxotools_convphase-0.1.3-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for itaxotools_convphase-0.1.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3eb9f7a00c6347e403e63f63615250926afb8c9bd681210206fb59cb644a6615
MD5 68a20d2b9a6caed3ef97030501387198
BLAKE2b-256 cc1591a0f5b05db3987f2098e93a88d05f8cae6277c776b4be8095f3305f1d80

See more details on using hashes here.

File details

Details for the file itaxotools_convphase-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for itaxotools_convphase-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b2b52edfc53e5461221564c9e7a23a999a5bb13e199992e53f20e91f5d297a19
MD5 d5e6a88b2b7f8303730734e93228c0db
BLAKE2b-256 dd8f2aeff5ba039c1d605c4b4d0d41832baae221a85d6863cdce0b9ed20e9119

See more details on using hashes here.

File details

Details for the file itaxotools_convphase-0.1.3-cp312-cp312-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for itaxotools_convphase-0.1.3-cp312-cp312-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 ad704abbfbb53a79c1ba995318ef86ac9263ec8b540bc9bc4639904ee20235f2
MD5 29086803df7a23a54bfed16a230622ef
BLAKE2b-256 ed4081de5cd7c87f0f8ac77040cdc74f9e501d58afb388d3eae88d3d8c6d8ff6

See more details on using hashes here.

File details

Details for the file itaxotools_convphase-0.1.3-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for itaxotools_convphase-0.1.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ee48a0e57f20786b29f1d9ff3d5cc7b1564535d537793d22e004864b14fd6f8a
MD5 46ef3849c4cafabb3c84681977a90c7e
BLAKE2b-256 3a9c93e2bd18f1c50cce420865e5642868ce661992b44738ee2fab6e8ff79271

See more details on using hashes here.

File details

Details for the file itaxotools_convphase-0.1.3-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for itaxotools_convphase-0.1.3-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1907b73558e245929aea9381426a215cf8f3038c0b1fa158a8d717c211b45f56
MD5 768dc15fc8862e175470a6a9a32d0644
BLAKE2b-256 6e3832ca9c116a2e586491ff126ad31fa7022b42c5e537874ba02c814f76c724

See more details on using hashes here.

File details

Details for the file itaxotools_convphase-0.1.3-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for itaxotools_convphase-0.1.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4073b9c397f19724b78780fa4086364ed7fe5d182ae317669dd643191ca55096
MD5 5bb9b442cd4ec8abe5dd0f259e6269e3
BLAKE2b-256 8dcc0bcf5c633500094f34eb7ff1b80567af8dad0516088a81a80b1b1db0a304

See more details on using hashes here.

File details

Details for the file itaxotools_convphase-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for itaxotools_convphase-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9283ab230065068809264bcf73cb6ba96d1e93c9a1d9cd5e689e5c40acbcef8c
MD5 67e83309ff3941b89fbd8e420e6ec422
BLAKE2b-256 73a01b7dacd952de87f8d56533b926b92804ef231faa8db7b6b6ab674d3c25b9

See more details on using hashes here.

File details

Details for the file itaxotools_convphase-0.1.3-cp311-cp311-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for itaxotools_convphase-0.1.3-cp311-cp311-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 46bfbefa16a40fec09c7739399cbfb9728d69877496cf5a66e1357a9061d07f5
MD5 260abb69b62a173c0dd95968cdca78c6
BLAKE2b-256 637152ab4fb5a627de1176b6775806e474c25cc954cc194cf11fcbddaf4f7779

See more details on using hashes here.

File details

Details for the file itaxotools_convphase-0.1.3-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for itaxotools_convphase-0.1.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8675072757b54059b125879a4d62e54fd26898c7cb98efd819cbcfe0a0d7e51b
MD5 050258ae6e0c07347a14bb2d4317dea1
BLAKE2b-256 95e1290684b254d4e9e1c195761134ca269e718ae1c8955490f2b9f0aa87482b

See more details on using hashes here.

File details

Details for the file itaxotools_convphase-0.1.3-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for itaxotools_convphase-0.1.3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 637e3a0ce9b374a58c23598b46a250e80afd47afb582654931124a8f588030b4
MD5 efc965e6d2c7b4a0d67f3cd42aa2e8a1
BLAKE2b-256 3ac9200bc10d317f6fa6c72e9f62d90d3dd3669c26fc77a2e8c06189aea27309

See more details on using hashes here.

File details

Details for the file itaxotools_convphase-0.1.3-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for itaxotools_convphase-0.1.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e14d52be29a6c578fcba5199ab5c722cabeb7e3aa650358e32f925a6111033b2
MD5 ce665bf8b68bf9f4770fc8dd5de1d1d8
BLAKE2b-256 938ddbbf4c17420e2dfc9dc3657dab3d8a3952846621bf5de0ab5211dabf0b8b

See more details on using hashes here.

File details

Details for the file itaxotools_convphase-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for itaxotools_convphase-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 88556e201417be0b1389a6f620c8984afd8f7e249222d420955be412b9812df4
MD5 17d4c577d3b22c42e2b1c42e7cf8c629
BLAKE2b-256 03368e2aab14dc427c9d24cdfc4a7f9a4c82a156b4f72b7b85794272f5f8ddef

See more details on using hashes here.

File details

Details for the file itaxotools_convphase-0.1.3-cp310-cp310-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for itaxotools_convphase-0.1.3-cp310-cp310-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 72ae47005fa858084455cdf16f08e5dfd06f7336d023541de6289759af3e9467
MD5 10d25bc9f6ac6587cdd84f206c58f57a
BLAKE2b-256 11919e65bf7cb65e33574583f47f7139c0045a6e1a224f891979011032c95e66

See more details on using hashes here.

File details

Details for the file itaxotools_convphase-0.1.3-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for itaxotools_convphase-0.1.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 590f9b9efeaa3f6c46ccbedf7d66d37f37e7da1cc1f71b217ee0416aec8b3974
MD5 1865e04c5a70b7a08fa1c66e00100700
BLAKE2b-256 6ac65bfb0a904958c542311e162167213b923e399b19d508319eb8584bd5475c

See more details on using hashes here.

File details

Details for the file itaxotools_convphase-0.1.3-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for itaxotools_convphase-0.1.3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 26db24e6b61539cf0a4d11329af7251b90ece36a8385af47b2f7bf9372758f60
MD5 2aca1842c9726affd606147d047bed0f
BLAKE2b-256 6fe8f029af2765b185e3435eb406577f0b3c2eb2e17ee5637f9c371505ebb71c

See more details on using hashes here.

Supported by

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