-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathnextflow.config
More file actions
131 lines (115 loc) · 2.81 KB
/
nextflow.config
File metadata and controls
131 lines (115 loc) · 2.81 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
manifest {
name = 'laava'
author = 'formbio'
homePage = 'https://github.com/formbio/laava'
description = 'Long-read AAV Analysis'
mainScript = 'main.nf'
nextflowVersion = '>=24.02'
version = 'dev'
}
params {
// Workflow inputs
ui_source_type = 'file_source'
seq_reads_file = null
seq_reads_folder = null
sample_unique_id = ''
sample_display_name = ''
sample_in_metadata = null
vector_type = 'unspecified'
vector_bed = null
vector_fa = null
packaging_fa = null
host_fa = null
itr_label_1 = ''
itr_label_2 = ''
mitr_label = ''
repcap_name = ''
helper_name = ''
lambda_name = ''
flipflop_name = ''
flipflop_fa = null
// "full" read classification thresholds
target_gap_threshold = 200
max_allowed_outside_vector = 100
max_allowed_missing_flanking = 100
min_supp_joint_coverage = 0.8
// Required for Form Bio workflows
output = 'output'
// When LAAVA is used as a submodule, this becomes 'modules/laava'
laava_dir = "${projectDir}"
// Hosted Docker containers
container_repo = 'ghcr.io/formbio'
// use ':dev' for local testing, ':latest' for cloud
container_version = ':latest'
cpus = 8
memory = '32 GB'
}
process {
container = "${params.container_repo}/laava${params.container_version}"
cpus = params.cpus
memory = params.memory
//shell = ['/bin/bash', '-euo', 'pipefail']
executor = 'google-batch'
maxRetries = 3
maxErrors = '-1'
maxForks = 50
cache = 'lenient'
// Only has effect on cloud
disk = '500 GB'
}
// Execution environments
def trace_timestamp = new java.util.Date().format('yyyy-MM-dd_HH-mm-ss')
docker {
enabled = true
runOptions = '-u $(id -u):$(id -g)'
}
executor {
queueSize = 50
name = 'google-batch'
submitRateLimit = '10sec'
pollInterval = '30 sec'
}
google {
region = 'us-central1'
batch {
bootDiskSize = '100.GB'
debug = true
sshDaemon = true
}
}
profiles {
// For local Nextflow development
local {
params.output = 'workflow-outputs/output'
process.executor = 'local'
process.queue = 10
workDir = 'workflow-outputs/work'
trace {
enabled = true
overwrite = true
file = 'nextflow_logs/pipeline_trace.txt'
field = 'task_id,native_id,process,name,status,exit,submit,start,complete,duration,realtime'
}
timeline {
enabled = true
overwrite = true
file = 'workflow-outputs/nextflow_logs/timeline.html'
}
report {
enabled = true
overwrite = true
file = 'workflow-outputs/nextflow_logs/report.html'
}
dag {
enabled = true
overwrite = true
file = 'workflow-outputs/nextflow_logs/pipeline_dag_${trace_timestamp}.svg'
}
}
// Cloud platforms
googlebatch {
process {
executor = 'google-batch'
}
}
}