-
Notifications
You must be signed in to change notification settings - Fork 62
Description
Hi all,
I ran MTAG for 2 traits. Trait 2 was categorical.
I met the error after Merge of GWAS summary statistics complete. Please see the below and advise me; (I also attached the log file for your info.)
Thank you,
Kijoung
OA.log
2019/11/08/08:43:28 PM ... Merge of GWAS summary statistics complete. Number of SNPs: 6459385
2019/11/08/08:45:13 PM divide by zero encountered in true_divide
Traceback (most recent call last):
File "mtag-master/mtag.py", line 1567, in
mtag(args)
File "mtag-master/mtag.py", line 1339, in mtag
Zs , Ns ,Fs, res_temp, DATA, N_raw = extract_gwas_sumstats(DATA,args,list(np.arange(args.P)))
File "mtag-master/mtag.py", line 590, in extract_gwas_sumstats
Ns = 1 / np.square(SEs)
FloatingPointError: divide by zero encountered in true_divide
2019/11/08/08:45:13 PM Analysis terminated from error at Fri Nov 8 20:45:13 2019
2019/11/08/08:45:13 PM Total time elapsed: 41.0m:47.66s