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.4.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

gwaslab-0.0.4-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

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

Hashes for gwaslab-0.0.4.tar.gz
Algorithm Hash digest
SHA256 13a1548831f2d58a2693e1b907c3939e015860401f569188e8cdd7b1bb487fca
MD5 c45bfa95fed61b92e4184d7edcd7075e
BLAKE2b-256 4cb4c7927e8d4691d286543aad7c406acdfcb506f7177b6c507190a4f46482a5

See more details on using hashes here.

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

Hashes for gwaslab-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8a8d6258be9b2ac941fd7f6a99ac4798c300a3b20c44dc12ff3c3202a29bb6a2
MD5 4e6c77945e0615e7b020c82628735302
BLAKE2b-256 c36860fc393ad986af662bf0bf839f52569326324d48b1598110b0501d08741c

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