mixer
mixer copied to clipboard
some problems for generating 1000G.EUR.QC.prune_maf0p05_rand2M_r2p8.repNN.snps in DATA PREPARATION
Hi,
I've tried to use mixer in Linux(CentOS 7.9),
Q1:--bim-file LDSR/1000G_EUR_Phase3_plink/[email protected]
--ld-file LDSR/1000G_EUR_Phase3_plink/[email protected]
i don't know the meaning of "@" in the code provided by Tutorials?
Q2: I have a problem with ${SLURM_ARRAY_TASK_ID} and our Linux system doesn't have SLURM.
Q3: i don't know "--seed ${SLURM_ARRAY_TASK_ID}" why it need set seed here?
so i changed the code in Tutorials and hope you could help me check out the following code:
#!/bin/sh
for i in {1..20}
do
python3 /home/ychen/Downloads/mixer/precimed/mixer.py snps
--lib /home/ychen/Downloads/mixer/src/build/lib/libbgmg.so
--bim-file /home/ychen/Downloads/1000G_EUR_Phase3_plink/1000G.EUR.QC.$i
--ld-file /home/ychen/Downloads/1000G_EUR_Phase3_plink/1000G.EUR.QC.$i.run4.ld
--out LDSR/1000G_EUR_Phase3_plink/1000G.EUR.QC.prune_maf0p05_rand2M_r2p8.rep$i.snps
--maf 0.05 --subset 2000000 --r2 0.8 --seed $i
done
Thank you in advance for your help!