@@ -112,7 +112,6 @@ rule stitch:
112
112
files = directory (config ['out' ]+ "/{sample}/stitch" + ("-lowQual" if check_config ('low_qual_ortho' , check_config ('parallel' )) else "" )+ "/stitched.files" )
113
113
conda : "envs/default.yml"
114
114
benchmark : config ['out' ]+ "/{sample}/benchmark/stitch" + ("-lowQual" if check_config ('low_qual_ortho' , check_config ('parallel' )) else "" )+ ".tsv"
115
- threads : config ['cores' ]
116
115
shell :
117
116
"scripts/stitch.py {params} {input} {output.project}"
118
117
@@ -124,7 +123,6 @@ rule export_ortho:
124
123
str (Path (rules .stitch .output .project ).parents [0 ])+ "/ortho.tiff"
125
124
conda : "envs/default.yml"
126
125
benchmark : config ['out' ]+ "/{sample}/benchmark/export_ortho.tsv"
127
- threads : config ['cores' ]
128
126
shell :
129
127
"scripts/export_ortho.py {input} {output}"
130
128
@@ -139,7 +137,6 @@ rule segment:
139
137
low = config ['out' ]+ "/{sample}/segments/low/{image}.json" if check_config ('parallel' ) else config ['out' ]+ "/{sample}/segments/low.json"
140
138
conda : "envs/default.yml"
141
139
benchmark : config ['out' ]+ "/{sample}/benchmark/segments/" + ("{image}" if check_config ('parallel' ) else "ortho" )+ ".tsv"
142
- threads : config ['cores' ]
143
140
shell :
144
141
"scripts/segment.py {params} {input} {output}"
145
142
@@ -154,7 +151,6 @@ rule transform:
154
151
confidence = "(high|low)"
155
152
conda : "envs/default.yml"
156
153
benchmark : config ['out' ]+ "/{sample}/benchmark/transform/{confidence}-{image}.json"
157
- threads : config ['cores' ]
158
154
shell :
159
155
"scripts/transform.py {input} {output}"
160
156
@@ -192,7 +188,6 @@ rule watershed:
192
188
segments = config ['out' ]+ "/{sample}/segments" + exp_str ()+ ".json"
193
189
conda : "envs/default.yml"
194
190
benchmark : config ['out' ]+ "/{sample}/benchmark/watershed" + exp_str ()+ ".tsv"
195
- threads : config ['cores' ]
196
191
shell :
197
192
"scripts/watershed.py {input.ortho} {params.high_dir} {params.low_dir} {output.segments}"
198
193
@@ -283,7 +278,6 @@ rule train:
283
278
config ['out' ]+ "/{sample}/train" + exp_str ()+ "/model.rda" ,
284
279
config ['out' ]+ "/{sample}/train" + exp_str ()+ "/variable_importance.tsv"
285
280
conda : "envs/classify.yml"
286
- threads : config ['cores' ]
287
281
shell :
288
282
"Rscript scripts/classify_train.R {input} {output}"
289
283
@@ -327,7 +321,6 @@ rule classify:
327
321
config ['out' ]+ "/{sample}/classify" + exp_str ()+ "/{image}.tsv"
328
322
conda : "envs/classify.yml"
329
323
benchmark : config ['out' ]+ "/{sample}/benchmark/classify" + exp_str ()+ "/{image}.tsv"
330
- threads : config ['cores' ]
331
324
shell :
332
325
"Rscript scripts/classify_test.R {input} {output}"
333
326
@@ -338,7 +331,6 @@ rule test:
338
331
config ['out' ]+ "/{sample}/test" + exp_str ()+ "/classify/{image}.tsv"
339
332
conda : "envs/classify.yml"
340
333
benchmark : config ['out' ]+ "/{sample}/benchmark/test" + exp_str ()+ "/classify/{image}.tsv"
341
- threads : config ['cores' ]
342
334
shell :
343
335
"Rscript scripts/classify_test.R {input} {output}"
344
336
@@ -434,7 +426,6 @@ rule segments_map:
434
426
config ['out' ]+ "/{sample}/segments-map" + exp_str ()+ ".tiff"
435
427
conda : "envs/default.yml"
436
428
benchmark : config ['out' ]+ "/{sample}/benchmark/segments-map" + exp_str ()+ ".tsv"
437
- threads : config ['cores' ]
438
429
shell :
439
430
"scripts/map.py -l {input.img} {input.labels} {output}"
440
431
@@ -448,7 +439,6 @@ rule map:
448
439
config ['out' ]+ "/{sample}/map" + exp_str ()+ ".tiff"
449
440
conda : "envs/default.yml"
450
441
benchmark : config ['out' ]+ "/{sample}/benchmark/map" + exp_str ()+ ".tsv"
451
- threads : config ['cores' ]
452
442
shell :
453
443
"scripts/map.py {input.img} {input.labels} {output} {input.predicts}"
454
444
0 commit comments