-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathxsede_snps_script.sh
27 lines (23 loc) · 1.24 KB
/
xsede_snps_script.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
# Job name:
#SBATCH --job-name=plsareal
#SBATCH --account=csd635
#SBATCH --time=2:00:00
#SBATCH --partition=shared
#SBATCH --cpus-per-task=20
#SBATCH --mem-per-cpu=5000M
#SBATCH --nodes=1
#SBATCH --array=1-20
#
## Set up job environment:
source /cluster/bin/jobsetup
module purge # clear any inherited modules
module load plink
set -o errexit # exit on errors
export MODULEPATH=$MODULEPATH:/share/apps/compute/modulefiles && module purge && module load gnu/7.2.0 cmake/3.12.1 && /home/oleksanf/miniconda3/bin/python3 /oasis/projects/nsf/csd635/oleksanf/github/mixer_private/precimed/mixer.py snps \
--bim-file /oasis/projects/nsf/csd635/oleksanf/UKBDATA/projects/plsa_mixer/ukb_genetics_qc/ukb_bed/ukb_imp_chr@_v3_qc.bim \
--ld-file /oasis/projects/nsf/csd635/oleksanf/UKBDATA/projects/plsa_mixer/ukb_genetics_qc/ukb_bed/ukb_imp_chr@_v3_qc.run1.ld \
--lib /oasis/projects/nsf/csd635/oleksanf/github/mixer_private/src/build/lib/libbgmg.so \
--out /oasis/projects/nsf/csd635/oleksanf/UKBDATA/projects/plsa_mixer/ukb_genetics_qc/ukb_bed/ukb_imp_chr@_qc.prune_maf0p05_rand3M_r2p8_rep${SLURM_ARRAY_TASK_ID}.snps \
--chr2use 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22 \
--seed ${SLURM_ARRAY_TASK_ID} --r2 0.8 --maf 0.05 --subset 3000000 \