Skip to content

Commit

Permalink
fix: wrong step parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
d0choa committed Oct 1, 2024
1 parent a5588ae commit a479920
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gentropy/gwas_catalog_ingestion.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(
catalog_ancestry_files: list[str],
catalog_sumstats_lut: str,
catalog_associations_file: str,
gnomad_variant_path: str,
variant_annotation_path: str,
catalog_studies_out: str,
catalog_associations_out: str,
distance: int = WindowBasedClumpingStepConfig().distance,
Expand All @@ -43,15 +43,15 @@ def __init__(
catalog_ancestry_files (list[str]): List of raw ancestry annotations files from GWAS Catalog.
catalog_sumstats_lut (str): GWAS Catalog summary statistics lookup table.
catalog_associations_file (str): Raw GWAS catalog associations file.
gnomad_variant_path (str): Path to GnomAD variants.
variant_annotation_path (str): Path to GnomAD variants.
catalog_studies_out (str): Output GWAS catalog studies path.
catalog_associations_out (str): Output GWAS catalog associations path.
distance (int): Distance, within which tagging variants are collected around the semi-index.
gwas_catalog_study_curation_file (str | None): file of the curation table. Optional.
inclusion_list_path (str | None): optional inclusion list (parquet)
"""
# Extract
gnomad_variants = VariantIndex.from_parquet(session, gnomad_variant_path)
gnomad_variants = VariantIndex.from_parquet(session, variant_annotation_path)
catalog_studies = session.spark.read.csv(
list(catalog_study_files), sep="\t", header=True
)
Expand Down

0 comments on commit a479920

Please sign in to comment.