Downloads a tabix-indexed BED file (.bed.gz
and .bed.gz.tbi
) with
low to modest risk variants associated with disease phenotypes (as found in
the NHGRI-EBI GWAS catalog). Only variants where the risk-allele is properly
identified are included here. The name of each record in the BED file has
the following format: rsid|risk_allele|pmid|tag_snp|p_valule|efo_id
(multiple instances separated by the at
sign)
Arguments
- cache_dir
Local directory for data download
- force_download
Logical indicating if local cache should be overwritten (set to TRUE to force download if file exists in cache)
- build
genome assembly (grch37/grch38)
- cancer_only
logical indicating retrieval of all variants versus cancer-associated variants only