About gprs package
This package aims to generate the PRS model from GWAS summary statistics. It is designed to deal with the data format based on the GWAS catalog and GeneATLAS database GWAS summary statistics data.
Understanding the workflow of this package:
Filter GWAS summary statistics files (remove duplicate SNPID and select significant SNPs by P-value)
Generate bfiles by Plink1.9
Do clumping by Plink1.9
Generate PRS model by Plink2.0
Calculate statistic value of PRS model
Environment setup
Setup virtualenv
$ python3 -m venv venv
Activate virtualenv
$ source ./venv/bin/activate
Install this package
$ pip install -e .
Twelve commands in gprs:
geneatlas-filter-data
gwas-filter-data
generate-plink-bfiles
clump
select-clump-snps
build-prs
combine-prs
prs-statistics
combine-prs-stat
transfer_atcg
(optional)sub-setpop
(optional)generate_plink_bfiles_w_individual_info
(optional)random_draw_samples_from_fam
(optional)subset_vcf_w_random_sample
(optional)