precimed / mixer

Causal Mixture Model for GWAS summary statistics
GNU General Public License v3.0
59 stars 17 forks source link

Error when running fit1. #82

Closed Zhangzzzzzy closed 11 months ago

Zhangzzzzzy commented 11 months ago

I carried out the process of rep1-8, however, at rep=9-10, I met the following error report:

python3 mixer/precimed/mixer.py fit1 \ --trait1-file pycharm-community-2023.2.1/packages/Mixer/MDD.csv.gz \ --out pycharm-community-2023.2.1/packages/Mixer/result/MDD.fit.rep${REP} \ --extract pycharm-community-2023.2.1/packages/ldsc/1000G_EUR_Phase3_plink/test/test/1000G.EUR.QC.prune_maf0p05_rand2M_r2p8.rep${REP}.snps \ --bim-file pycharm-community-2023.2.1/packages/ldsc/1000G_EUR_Phase3_plink/1000G.EUR.QC.@.bim \ --ld-file pycharm-community-2023.2.1/packages/ldsc/1000G_EUR_Phase3_plink/1000G.EUR.QC.@.run4.ld \ --lib mixer/src/build/lib/libbgmg.so INFO:root:init(lib_name=mixer/src/build/lib/libbgmg.so, context_id=0) INFO:root:init_log(pycharm-community-2023.2.1/packages/Mixer/result/MDD.fit.rep10.log) INFO:root:log_message(***

I don't know how to solve this problem and would appreciate an answer.

Zhangzzzzzy commented 11 months ago

I found the solution, just need to cull out the NA and 0 snp's in it, hope this helps anyone else who also has this problem.