Skip to main content

KGWAS

Project description

KGWAS: genetics discovery powered by functional genomics knowledge graph

Installation

pip install kgwas

How to use KGWAS

from kgwas import KGWAS, KGWAS_Data
data = KGWAS_Data()
data.load_kg()

data.load_external_gwas(PATH)
data.process_gwas_file()
data.prepare_split()

run = KGWAS(data,
            weight_bias_track = True,
            device = device,
            proj_name = 'KGWAS',
            exp_name = exp_name,
            seed = seed)

run.initialize_model()
run.train(epoch = 10)

Reproducing experiments

Cite Us

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

kgwas-0.0.1.tar.gz (29.1 kB view details)

Uploaded Source

File details

Details for the file kgwas-0.0.1.tar.gz.

File metadata

  • Download URL: kgwas-0.0.1.tar.gz
  • Upload date:
  • Size: 29.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for kgwas-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5640e9879f71e5c02bdc2ccf973dc4a93b0cd4ced02ae4f631995882abc7c5f0
MD5 f98119f73c6769bef38c9635d150bf26
BLAKE2b-256 268635d930ee840c26ffc7444b6e5a225e0a6bae7cafa2403ca7208eb8d04e0e

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