Commit c5ca18bf authored by Hanna  JULIENNE's avatar Hanna JULIENNE
Browse files

typo

parent 11ee29ad
......@@ -83,7 +83,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 (merge_GWAS.pos == merge_GWAS.POS).mean()> 0.95):
if ((merge_GWAS.pos == merge_GWAS.POS).mean()> 0.95):
merge_GWAS = merge_GWAS.loc[(merge_GWAS.pos == merge_GWAS.POS)]
else:
raise ValueError("SNP positions in reference panel and in Summary statistic are different! Different assembly?")
......
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