Skip to content
Snippets Groups Projects
Commit 11ee29ad authored by Hanna  JULIENNE's avatar Hanna JULIENNE
Browse files

typo

parent 14a70c94
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ def map_on_ref_panel(gw_df , ref_panel, index_type="rs-number"):
else:
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)]
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment