ld_based_clumping
gentropy.ld_based_clumping.LDBasedClumpingStep
¶
Step to perform LD-based clumping on study locus dataset.
As a first step, study locus is enriched with population specific linked-variants. That's why the study index and the ld index is required for this step. Study loci are flaggged in the resulting dataset, which can be explained by a more significant association from the same study.
Source code in src/gentropy/ld_based_clumping.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
|
__init__(session: Session, study_locus_input_path: str, study_index_path: str, ld_index_path: str, clumped_study_locus_output_path: str) -> None
¶
Run LD-based clumping step.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
session |
Session
|
Session object. |
required |
study_locus_input_path |
str
|
Path to the input study locus. |
required |
study_index_path |
str
|
Path to the study index. |
required |
ld_index_path |
str
|
Path to the LD index. |
required |
clumped_study_locus_output_path |
str
|
path of the resulting, clumped study-locus dataset. |
required |
Source code in src/gentropy/ld_based_clumping.py
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
|