Skip to content
Snippets Groups Projects

explicity argument naming in pd.dataframe.all , .any

Merged Hanna JULIENNE requested to merge fingenn_bug into master
4 files
+ 20
15
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -46,6 +46,10 @@ def launch_preprocessing(args):
print("#SNPs in GWAS summary statistic file: {}".format(gw_df.shape[0]))
ref = jp.map_reference.read_reference(args.ref_path, np.bool_(args.mask_MHC), np.double(args.minimum_MAF), region_to_mask=eval(args.additional_masked_region))
print("Unique chromosome in reference")
print(ref.chr.unique())
mgwas = jp.map_reference.map_on_ref_panel(gw_df, ref, gwas_map.loc[tag, "index_type"])
print("#SNPs mapped to reference panel: {}".format(mgwas.shape[0]))