-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_snakemake_GDUserv.sh
executable file
·54 lines (51 loc) · 1.9 KB
/
run_snakemake_GDUserv.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/bash
echo "Plotting dag's..."
snakemake --dag | dot -Tpdf > dag.pdf
snakemake --rulegraph | dot -Tpdf > rulegraph.pdf
echo "[DONE]"
echo "Running main snakemake workflow ..."
snakemake --configfile config.yaml \
--snakefile Snakefile \
--jobs 10 \
--printshellcmds \
--reason \
--cluster-config cluster.yaml \
--cluster "qsub -pe threads {cluster.threads} \
-q {cluster.queue} \
-l virtual_free={cluster.virtual_free} \
-l h_vmem={cluster.h_vmem} \
-o {cluster.outstream} \
-e {cluster.errorstream}"
echo "[DONE]"
#echo "Running snakemake generate_bowtie2_summary_stats..."
#snakemake --configfile config.yaml \
# --snakefile Snakefile \
# --jobs 1 \
# --printshellcmds \
# --reason \
# --cluster "qsub -pe threads {cluster.threads} \
# -q {cluster.queue} \
# -l virtual_free={cluster.virtual_free} \
# -l h_vmem={cluster.h_vmem} \
# -o {cluster.outstream} \
# -e {cluster.errorstream}" \
# --cluster-config cluster.yaml \
# generate_bowtie2_summary_stats
#echo "[DONE]"
#
#echo "Running snakemake generate_MarkDuplicates_summary_stats..."
#snakemake --configfile config.yaml \
# --snakefile Snakefile \
# --jobs 1 \
# --printshellcmds \
# --timestamp \
# --reason \
# --cluster "qsub -pe threads {cluster.threads} \
# -q {cluster.queue} \
# -l virtual_free={cluster.virtual_free} \
# -l h_vmem={cluster.h_vmem} \
# -o {cluster.outstream} \
# -e {cluster.errorstream}" \
# --cluster-config cluster.yaml \
# generate_MarkDuplicates_summary_stats
#echo "[DONE]"