fast hardy weinberg test
Project description
snphwe: An exact test of Hardy-Weinberg Equilibrium
Reimplementation in Python of an exact SNP test of Hardy-Weinberg Equilibrium, as described in Wigginton, JE, Cutler, DJ, and Abecasis, GR (2005) A Note on Exact Tests of Hardy-Weinberg Equilibrium. AJHG 76: 887-893.
This package is just a python wrapper around their c implementation.
Installation
The simplest way to install snphwe is through pip:
pip install snphwe
Usage
Use snphwe within a python environment
from snphwe import snphwe
hom1 = 10
hets = 500
hom2 = 5000
hwe_p = snphwe(hets, hom1, hom2)
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
snphwe-1.1.0.tar.gz
(26.7 kB
view details)
File details
Details for the file snphwe-1.1.0.tar.gz
.
File metadata
- Download URL: snphwe-1.1.0.tar.gz
- Upload date:
- Size: 26.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
3ee216d63f8c47ad306ea4c34b4e89450215d16b04b4d569868f8da4197285dd
|
|
MD5 |
525f8277dd8e8bfac9bad67392af320f
|
|
BLAKE2b-256 |
eaeea0eafcae87afcd0f1896d118670960fc08ee58d13aa2662744548afe16b8
|