precimed / mixer

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

The MIXER runs extremely slowly. #80

Open shenlan17 opened 10 months ago

shenlan17 commented 10 months ago

Hi, I'm running univariate analyses using MIXER, and my code looks like this. However, I've noticed that a single for loop is taking five hours or even longer to complete, I don’t know why, I'm not sure if it's because I did something wrong.

for i in $(seq 1 20); do python3.8 mixer/mixer-master/precimed/mixer.py fit1 --trait1-file mixer/data/a0001.csv.gz --out result/a0001.fit.rep$i --extract mixer/1000G_EUR_Phase3_plink/1000G.EUR.QC.prune_maf0p05_rand2M_r2p8.rep$i.snps --bim-file mixer/1000G_EUR_Phase3_plink/1000G.EUR.QC.@.bim --ld-file mixer/1000G_EUR_Phase3_plink/1000G.EUR.QC.@.run4.ld --lib mixer/mixer-master/src/build/lib/libbgmg.so done