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

Update file save_output.py

parent 004f6a7f
No related branches found
No related tags found
1 merge request!4Update file save_output.py
......@@ -43,8 +43,9 @@ def save_output(mgwas, ImpG_output_Folder, my_study):
'A0': mgwas_copy.ref,
'A1':mgwas_copy.alt,
'Z': mgwas_copy.computed_z,
'P': mgwas_copy.pval
}, columns= ['chrom','rsID', 'pos', 'A0', "A1", "Z", "P" ])
'P': mgwas_copy.pval,
"N": mgwas_copy.computed_N
}, columns= ['chrom','rsID', 'pos', 'A0', "A1", "Z", "P", "N"])
impg_output_file = ImpG_output_Folder + 'z_'+ my_study +".txt"
print("WRITING results for {} to: {}".format( my_study, ImpG_output_Folder))
......
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