forked from Petti-Lab/Single_cell_WDLworkflows
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcromwell_compute1_final.config
57 lines (57 loc) · 2.37 KB
/
cromwell_compute1_final.config
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
55
56
57
include required(classpath("application"))
backend {
default = "LSF"
providers {
LSF {
actor-factory = "cromwell.backend.impl.sfs.config.ConfigBackendLifecycleActorFactory"
config {
runtime-attributes = """
Int maxRetries = 5
Int cpu = 1
Int memory_kb = 4096000
Int memory_mb = 4096
String? docker
"""
submit = """
LSF_DOCKER_VOLUMES="/storage1/fs1/bga/Active/gmsroot:/gscmnt /scratch1/fs1/allegra.petti/:/scratch1/fs1/allegra.petti/ /storage1/fs1/allegra.petti/Active/:/storage1/fs1/allegra.petti/Active/ /storage1/fs1/alberthkim/Active/:/storage1/fs1/alberthkim/Active/" \
LSF_DOCKER_PRESERVE_ENVIRONMENT=false \
bsub \
-J ${job_name} \
-cwd ${cwd} \
-o /dev/null \
-e /scratch1/fs1/allegra.petti/khan.saad/WDL_workflow/Single_cell_WDLworkflows/cromwell-workflow-logs/cromwell-%J.err \
-M ${memory_mb} \
-n ${cpu} \
-R "select[mem>${memory_mb}] rusage[mem=${memory_mb}] span[hosts=1]" \
/bin/sh ${script}
"""
submit-docker = """
LSF_DOCKER_VOLUMES="/storage1/fs1/bga/Active/gmsroot:/gscmnt /scratch1/fs1/allegra.petti/:/scratch1/fs1/allegra.petti/ /storage1/fs1/allegra.petti/Active/:/storage1/fs1/allegra.petti/Active/ /storage1/fs1/alberthkim/Active/:/storage1/fs1/alberthkim/Active/ ${cwd}:${docker_cwd}" \
LSF_DOCKER_PRESERVE_ENVIRONMENT=false \
bsub \
-G compute-allegra.petti \
-J ${job_name} \
-cwd ${cwd} \
-o /dev/null \
-e /scratch1/fs1/allegra.petti/khan.saad/WDL_workflow/Single_cell_WDLworkflows/cromwell-workflow-logs/cromwell-%J.err \
-a "docker(${docker})" \
-g /allegrapetti-gms \
-q general \
-M ${memory_mb} \
-n ${cpu} \
-R "select[mem>${memory_mb}] rusage[mem=${memory_mb}] span[hosts=1]" \
/bin/sh ${script}
"""
kill = "bkill ${job_id}"
docker-kill = "bkill ${job_id}"
docker_kill = "bkill ${job_id}"
check-alive = "bjobs -noheader -o stat ${job_id} | /bin/grep 'PEND\\|RUN'"
job-id-regex = "Job <(\\d+)>.*"
root = "/storage1/fs1/allegra.petti/Active/Users/khan.saad/WDL_pipelines/"
}
}
}
}
workflow-options {
workflow-log-dir = "/scratch1/fs1/allegra.petti/khan.saad/WDL_workflow/Single_cell_WDLworkflows/cromwell-workflow-logs/"
}