Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
run_PRScs/01_PRScs.sh
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
24 lines (21 sloc)
618 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#================================== | |
# Author: alicia_schowe@psych.mpg.de | |
# Script to execute PRScs for a given phenotype, use run_PRS.sh to specify array job | |
#================================== | |
#case-specific parameter | |
GENOTYPES=${1} | |
SUM_STATS_FILE=${2} | |
GWAS_SAMPLE_SIZE=${3} | |
OUTPUT_DIR=${4} | |
#execute PRScs | |
module load anaconda/anaconda3 | |
python ./PRScs/PRScs.py \ | |
--ref_dir=/binder/common/PRS-CS/ldblk_1kg_eur \ | |
--bim_prefix=${GENOTYPES} \ | |
--sst_file=${SUM_STATS_FILE} \ | |
--n_gwas=${GWAS_SAMPLE_SIZE} \ | |
--n_iter=10000 \ | |
--n_burnin=5000 \ | |
--out_dir=${OUTPUT_DIR} \ | |
--chrom=${SLURM_ARRAY_TASK_ID} |