gwas_catalog_study_curation
gentropy.gwas_catalog_study_curation.GWASCatalogStudyCurationStep
¶
Annotate GWAS Catalog studies with additional curation and create a curation backlog.
Source code in src/gentropy/gwas_catalog_study_curation.py
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 49 50 51 52 53 54 55 56 57 58 |
|
__init__(session: Session, catalog_study_files: list[str], catalog_ancestry_files: list[str], catalog_sumstats_lut: str, gwas_catalog_study_curation_out: str, gwas_catalog_study_curation_file: str | None) -> None
¶
Run step to annotate and create backlog.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
session |
Session
|
Session object. |
required |
catalog_study_files |
list[str]
|
List of raw GWAS catalog studies file. |
required |
catalog_ancestry_files |
list[str]
|
List of raw ancestry annotations files from GWAS Catalog. |
required |
catalog_sumstats_lut |
str
|
GWAS Catalog summary statistics lookup table. |
required |
gwas_catalog_study_curation_out |
str
|
Path for the updated curation table. |
required |
gwas_catalog_study_curation_file |
str | None
|
Path to the original curation table. Optinal |
required |
Source code in src/gentropy/gwas_catalog_study_curation.py
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 49 50 51 52 53 54 55 56 57 58 |
|