-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_qc_wynton.sh
35 lines (29 loc) · 1.31 KB
/
run_qc_wynton.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
28
29
30
31
32
33
34
35
#!/bin/bash # the shell language when run outside of the job scheduler
# # lines starting with #$ is an instruction to the job scheduler
#$ -S /bin/bash # the shell language when run via the job scheduler [IMPORTANT]
#$ -cwd # job should run in the current working directory
#$ -j y # STDERR and STDOUT should be joined
#$ -l mem_free=16G # job requires up to 16 GiB of RAM per slot
#$ -l scratch=60G # job requires up to 20 GiB of local /scratch space
#$ -l h_rt=120:00:00 # job requires up to 24 hours of runtime
#$ -r n # if job crashes, it should be restarted
date
hostname
## End-of-job summary, if running as a job
[[ -n "$JOB_ID" ]] && qstat -j "$JOB_ID"
# This is useful for debugging and usage purposes,
# e.g. "did my job exceed its memory request?
module load CBI miniconda3/23.5.2-0-py311 #wynton
conda activate nextflow_env #optional
# Make sure to modify Paths!
WORKDIR=/wynton/scratch/your_directory/work_qc
INPUT=/wynton/scratch/your_directory/data
OUTPUT=/wynton/scratch/your_directory/results_qc
# Nextflow pipeline stored in shared drive
nextflow run /wynton/home/eppicenter/shared/WGS_pipeline_nextflow/main.nf \
-profile sge,apptainer \
-work-dir $WORKDIR \
--inputdir $INPUT \
--outputdir $OUTPUT \
--qc_only true
exit 0