-
Notifications
You must be signed in to change notification settings - Fork 0
/
nextflow.config
executable file
·152 lines (148 loc) · 5.8 KB
/
nextflow.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
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
params {
config_profile_description = 'Nextflow Config for PaliDIS'
config_profile_contact = 'Victoria Carr'
github_repo = 'https://github.com/blue-moon22/palidis4'
manifest = ""
output_prefix = ""
batch_name = "batch"
lsf = false
min_itr_length = 25
max_itr_length = 50
kmer_length = 15
min_is_len = 500
max_is_len = 3000
chunk_size = 80000
interproscan_version = "5.57-90.0"
interproscan_db = "interproscan-${interproscan_version}"
interproscan_tarball = "${interproscan_db}-64-bit.tar.gz"
interproscan_link = "https://ftp.ebi.ac.uk/pub/software/unix/iprscan/5/${interproscan_version}/${interproscan_tarball}"
db_path = "./db"
}
profiles {
standard {
process {
container = 'bluemoon222/palidis_dependencies:0.0.22'
cpus = 1
memory = "4000 MB"
errorStrategy = {task.attempt <= 0 ? 'retry' : 'ignore'}
maxRetries = 0
withName:convertToFasta {
memory = '8000 MB'
cpus = 4
queue = 'long'
}
withName:filterContigs {
memory = '8000 MB'
queue = 'normal'
}
withName:palmem {
memory = '64000 MB'
cpus = 8
queue = 'long'
}
withName:buildDB {
memory = '8000 MB'
queue = 'normal'
}
withName:runProdigal {
memory = '8000 MB'
queue = 'normal'
}
withName:mergeTSV {
memory = '8000 MB'
queue = 'normal'
}
withName:installInterproscan {
memory = '8000 MB'
queue = 'normal'
}
withName:runInterproscan {
memory = {16000.MB * task.attempt}
cpus = 8
queue = 'long'
}
withName:contigCandidates {
memory = '8000 MB'
queue = 'normal'
}
withName:clipIRs {
memory = {16000.MB * task.attempt}
queue = 'normal'
}
withName:mapIRs {
memory = '64000 MB'
queue = 'long'
cpus = 8
}
withName:getInsertionSequences {
memory = '64000 MB'
queue = 'long'
}
}
}
github_ci {
docker {
enabled = true
}
process {
container = 'bluemoon222/palidis_dependencies:0.0.22'
memory = "4000 MB"
cpus = 1
withName:convertToFasta {
memory = '4000 MB'
cpus = 1
}
withName:filterContigs {
memory = '4000 MB'
cpus = 1
}
withName:palmem {
memory = '4000 MB'
cpus = 1
}
withName:buildDB {
memory = '4000 MB'
cpus = 1
}
withName:runProdigal {
memory = '4000 MB'
cpus = 1
}
withName:mergeTSV {
memory = '4000 MB'
cpus = 1
}
withName:installInterproscan {
memory = '4000 MB'
cpus = 1
}
withName:runInterproscan {
memory = '4000 MB'
cpus = 1
}
withName:contigCandidates {
memory = '4000 MB'
cpus = 1
}
withName:clipIRs {
memory = '4000 MB'
cpus = 1
}
withName:mapIRs {
memory = '4000 MB'
cpus = 1
}
withName:getInsertionSequences {
memory = '4000 MB'
cpus = 1
}
}
}
singularity {
singularity {
enabled = true
autoMounts = true
cacheDir = "$projectDir/singularity"
}
}
}