precimed / mixer

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

Issue on ${SLURM_ARRAY_TASK_ID} #74

Open shenlan17 opened 1 year ago

shenlan17 commented 1 year ago

Hi, There is no SLURM on our linux server, thus , I changed the code as follows:

for i in $(seq 1 20); do cmd="anaconda/anaconda3/envs/python3.8.8/bin/python3.8 mixer/mixer-master/precimed/mixer.py snps --lib mixer/mixer-master/src/build/lib/libbgmg.so --bim-file mixer/1000G_EUR_Phase3_plink/1000G.EUR.QC.@.bim --ld-file mixer/1000G_EUR_Phase3_plink/1000G.EUR.QC.@.run4.ld --out mixer/1000G_EUR_Phase3_plink/1000G.EUR.QC.prune_maf0p05_rand2M_r2p8.rep"$i".snps --maf 0.05 --subset 2000000 --r2 0.8 --seed "$i echo $cmd > mixer/test/a$i.sh qsub -q cluster40@c007 -e mixer/test/$i.err -o mixer/test/$i.out mixer/test/a$i.sh done

I wonder if that's correct?

Thanks!

XuanxiaoLi commented 6 months ago

Hi,

Did your code work?

Thanks

shenlan17 commented 6 months ago

Hi,

Did your code work?

Thanks

yes