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

Merge branch 'save_computed_N' into 'master'

Update file save_output.py

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