A collection of handy tools for GWAS
Project description
gwaslab
A collection of handy python scripts for GWAS.
- Manhattan plot
- QQ plot
- Calculate lamda GC
- Select top SNPs based on a given window size.
- Convert beta/se <-> OR/95%L_U/95%L_L
- Select hapmap3 SNPs from sumstats
- Convert Observed scale heritability to liability scale heritability
Requirements:
- Python>3
- scipy
- numpy
- pandas
- matplotlib
- seaborn
Install:
pip install gwaslab
--
Usage:
import gwaslab as gl
gl.mplot(df,chr,pos,p,cut,cutfactor)
gl.qqplot()
gl.gc()
gl.getsig()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gwaslab-0.0.3.tar.gz
(7.3 kB
view details)
Built Distribution
File details
Details for the file gwaslab-0.0.3.tar.gz
.
File metadata
- Download URL: gwaslab-0.0.3.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ee8085f136fea47273247ba613565862633d6ce37d5deeeac1f8bfdb0b6261e |
|
MD5 | a0f1df11808656310b5a515d8d2422db |
|
BLAKE2b-256 | 128e26691b9f5a6462840219f5bf1734480012e60530e95470f8332959b2c74c |
File details
Details for the file gwaslab-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: gwaslab-0.0.3-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2908a8ae5b3e68d9bf1d47b68da776e9ea63ae948d49aa0a846b9f686a8e751 |
|
MD5 | ac97461b613c7ca2ca84a14ffee7ac70 |
|
BLAKE2b-256 | 8420338f96945dc0b5372bde58b918fd771e079115e89a369c55ec2d7a721b6e |