-
Notifications
You must be signed in to change notification settings - Fork 6
/
ReadbasedAnalysis_cromwell.conf
70 lines (59 loc) · 2.34 KB
/
ReadbasedAnalysis_cromwell.conf
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
58
59
60
61
62
63
64
65
66
67
68
69
70
# This is an example of how you can use Docker only workflows as a Cromwell
# backend provider. *This is not a complete configuration file!* The
# content here should be copy pasted into the backend -> providers section
# of the cromwell.examples.conf in the root of the repository. You should
# uncomment lines that you want to define, and read carefully to customize
# the file. If you have any questions, please open an issue at
# https://www.github.com/broadinstitute/cromwell/issues
# Documentation
# This backend doesn't have an official page, but you can read about general
# Docker use here: https://cromwell.readthedocs.io/en/develop/tutorials/Containers/#docker
# If you want to use containers, the other sections on that page will be useful to you.
backend {
default = "Local"
providers {
# Example backend that _only_ runs workflows that specify docker for every command.
Local {
config {
run-in-background = true
runtime-attributes = """
String? docker
String? docker_user = "$EUID"
"""
submit = "/bin/bash ${script}"
#--volume ${cwd}:${docker_cwd} \
submit-docker = """
shifter --image=docker:${docker} ${job_shell} ${docker_script}
"""
dockerRoot = /global/cfs/projectdirs/m3408/aim2/metagenome/ReadbasedAnalysis/cromwell-executions
filesystems {
local {
localization: [
"hard-link", "soft-link", "copy"
]
caching {
duplication-strategy: [
"hard-link", "soft-link", "copy"
]
}
}
}
}
}
}
}
docker {
hash-lookup {
enabled = false
# Set this to match your available quota against the Google Container Engine API
#gcr-api-queries-per-100-seconds = 1000
# Time in minutes before an entry expires from the docker hashes cache and needs to be fetched again
#cache-entry-ttl = "20 minutes"
# Maximum number of elements to be kept in the cache. If the limit is reached, old elements will be removed from the cache
#cache-size = 200
# How should docker hashes be looked up. Possible values are "local" and "remote"
# "local": Lookup hashes on the local docker daemon using the cli
# "remote": Lookup hashes on docker hub and gcr
method = "local"
}
}