Skip to main content

A collection of handy tools for GWAS

Project description

gwaslab

A collection of handy python scripts for GWAS.

  1. Manhattan plot
  2. QQ plot
  3. Calculate lamda GC
  4. Select top SNPs based on a given window size.
  5. Convert beta/se <-> OR/95%L_U/95%L_L
  6. Select hapmap3 SNPs from sumstats
  7. Convert Observed scale heritability to liability scale heritability

Requirements:

  1. Python>3
  2. scipy
  3. numpy
  4. pandas
  5. matplotlib
  6. 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)

Uploaded Source

Built Distribution

gwaslab-0.0.3-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

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

Hashes for gwaslab-0.0.3.tar.gz
Algorithm Hash digest
SHA256 1ee8085f136fea47273247ba613565862633d6ce37d5deeeac1f8bfdb0b6261e
MD5 a0f1df11808656310b5a515d8d2422db
BLAKE2b-256 128e26691b9f5a6462840219f5bf1734480012e60530e95470f8332959b2c74c

See more details on using hashes here.

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

Hashes for gwaslab-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b2908a8ae5b3e68d9bf1d47b68da776e9ea63ae948d49aa0a846b9f686a8e751
MD5 ac97461b613c7ca2ca84a14ffee7ac70
BLAKE2b-256 8420338f96945dc0b5372bde58b918fd771e079115e89a369c55ec2d7a721b6e

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