RunSnake.sh 447 Bytes
Newer Older
Cedric Midoux's avatar
Cedric Midoux committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mkdir -p ./.log/out/ ./.log/err/
#PYTHONPATH=''
source /usr/local/genome/Anaconda3-5.1.0/envs/snakemake-5.2.0/snakemake-5.2.0_conda

snakemake \
--snakefile $1 \
--jobscript jobscript.sh \
--cluster-config cluster.json \
--cluster "qsub -V -cwd -N {rule} -o {cluster.out} -e {cluster.err} -q {cluster.queue} -pe thread {threads} {cluster.cluster}" \
--keep-going \
--jobs 80 \
--wait-for-files \
--latency-wait 150 \
--verbose \
--printshellcmds