-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnextflow.config
More file actions
89 lines (78 loc) · 1.73 KB
/
nextflow.config
File metadata and controls
89 lines (78 loc) · 1.73 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
profiles {
stub {
stubRun = true
process {
{
executor = 'local'
cpus = 1
memory = '1 GB'
time = '1h'
}
}
params{
sample_id = "test"
joint_vcf = "test/test.chr21.vcf.gz"
}
}
}
process {
executor = 'slurm'
queue = { task.accelerator ? 'gpu' : (task.memory > 100.GB ? 'bigmem' : 'cpu') }
errorStrategy = { task.exitStatus in [143,137,104,134,139] ? 'retry' : 'terminate' }
maxRetries = 2
maxErrors = '-1'
cache = 'lenient'
container = 'docker://docker.io/zinno/cellphy:latest'
}
singularity {
enabled = true
autoMounts = true
cacheDir = "${HOME}/.singularity/singularity_images_nextflow"
}
executor {
queueSize = 196
submitRateLimit = '5 sec'
}
params {
// I/O
joint_vcf = "test/test.chr21.vcf.gz"
out = "output"
sample_id = "test"
// CellPhy parameters
start_tree_type = 'rand'
evo_model = 'GT10+FO+E'
prob_msa = 'on'
lh_epsilon = 0.1
n_tree_search = 10
n_bootstrap_search = 10
bs_trees_per_job = 10
bs_metric = 'tbe,fbp'
// CellPhy Resources
tree_threads = 4
tree_memory = '4 GB'
// fastStrap parameters
best_tree = "path/to/best_tree.nwk"
}
report {
enabled = true
overwrite = true
file = "nextflow-report.html"
}
timeline {
enabled = true
overwrite = true
file = "timeline.html"
}
dag {
enabled = true
overwrite = true
file = "flowchart.html"
}
manifest {
name = "cloudCellphy"
version = "v0.0.3"
author = ["John Zinno"]
homePage = "https://github.com/jzinno/cloudCellphy"
defaultBranch = "main"
nextflowVersion = ">=22.10.4"
}