Convert variant IDs from Open GWAS format or PredictDB weight format

convert_to_ukb_varIDs(varIDs, ref_format = "%s:%s_%s_%s")

Arguments

varIDs

a vector of variant IDs from Open GWAS format ("chr_pos_ref_alt") or PredictDB weight format (“chr_pos_ref_alt_build” or “chr:pos_ref_alt_build”)

ref_format

variant ID format in the LD reference.

Value

a vector of variant IDs in the format of the LD reference.