Resources

Resources#

resources.get_1000genomes([config_path, ...])

Download and preprocess the 1000 Genomes Project genotype data.

resources.get_1000genomes_grch38([...])

Download and preprocess the GRcH38 1000 Genomes Project genotype data (https://www.cell.com/cell/pdf/S0092-8674(22)00991-6.pdf).

resources.get_dummy_onek1k([config_path, ...])

Download and load the dummy OneK1K dataset.

resources.get_onek1k([config_path, ...])

Download and preprocess the OneK1K genotype and expression dataset.

resources.get_eqtl_catalog_dataset_associations(...)

Retrieve associations for a specific eQTL catalog dataset and cache locally.

resources.get_eqtl_catalog_datasets([...])

Retrieve eQTL catalog datasets and cache locally.

resources.get_gwas_catalog_studies([...])

resources.get_gwas_catalog_study(...)

Fetch details of a single GWAS study.

resources.get_gwas_catalog_study_summary_stats(...)

Download full summary statistics for a GWAS study.

resources.liftover_gwas_summary_stats(df, ...)

Translate SNP positions in a GWAS summary-statistics DataFrame between genome builds.

resources.get_pgs_catalog_score(pgs_id, **params)

Fetch details for a single PGS score.

resources.get_pgs_catalog_scores([...])

Retrieve PGS catalog scores and cache locally.

resources.get_1000genomes_ld_scores([...])

Download, extract, and load precomputed 1000 Genomes linkage disequilibrium (LD) scores.

resources.get_1000genomes_ld_weights([...])

Download, extract, and load precomputed 1000 Genomes LD weights.

resources.get_1000genomes_plink_files([...])

Download and extract 1000 Genomes PLINK files (BED/BIM/FAM format).

resources.get_1000genomes_frq([config_path, ...])

Download and extract 1000 Genomes allele frequency files.

resources.get_1000genomes_hapmap3([...])

Download the HapMap3 SNP list (no MHC region).

resources.merge_1000g_plink_chromosomes(...)

Merge per-chromosome 1000G PLINK bfiles into a single genome-wide bfile.