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.4.tar.gz
(8.4 kB
view details)
Built Distribution
gwaslab-0.0.4-py3-none-any.whl
(12.1 kB
view details)
File details
Details for the file gwaslab-0.0.4.tar.gz
.
File metadata
- Download URL: gwaslab-0.0.4.tar.gz
- Upload date:
- Size: 8.4 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 | 13a1548831f2d58a2693e1b907c3939e015860401f569188e8cdd7b1bb487fca |
|
MD5 | c45bfa95fed61b92e4184d7edcd7075e |
|
BLAKE2b-256 | 4cb4c7927e8d4691d286543aad7c406acdfcb506f7177b6c507190a4f46482a5 |
File details
Details for the file gwaslab-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: gwaslab-0.0.4-py3-none-any.whl
- Upload date:
- Size: 12.1 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 | 8a8d6258be9b2ac941fd7f6a99ac4798c300a3b20c44dc12ff3c3202a29bb6a2 |
|
MD5 | 4e6c77945e0615e7b020c82628735302 |
|
BLAKE2b-256 | c36860fc393ad986af662bf0bf839f52569326324d48b1598110b0501d08741c |