Commit 11ee29ad authored by Hanna  JULIENNE's avatar Hanna JULIENNE
Browse files


parent 14a70c94
......@@ -82,7 +82,7 @@ def map_on_ref_panel(gw_df , ref_panel, index_type="rs-number"):
raise ValueError("index_type can take only two values: 'rs-number' or 'positional'")
if (("pos" in merge_GWAS.columns) and ("POS" in merge_GWAS.columns))
if (("pos" in merge_GWAS.columns) and ("POS" in merge_GWAS.columns)):
if (merge_GWAS.pos == merge_GWAS.POS).mean()> 0.95):
merge_GWAS = merge_GWAS.loc[(merge_GWAS.pos == merge_GWAS.POS)]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment