-
Notifications
You must be signed in to change notification settings - Fork 2
/
melt.wdl
37 lines (33 loc) · 844 Bytes
/
melt.wdl
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
version 1.0
import "./tasks.wdl" as tvc
workflow melt {
input{
Array[File] BigFiles
Array[File] SmallFiles
String DOCKER
Int? NUM_THREAD
String? MEMORY
String? DISK
String STEP1SLEEP = "10m"
String STEP2SLEEP = "10m"
}
scatter(pair in zip(BigFiles,SmallFiles)){
call tvc.step1{
input:BigFile=pair.left,
SmallFile=pair.right,
DOCKER=DOCKER,
NUM_THREAD=NUM_THREAD,
MEMORY=MEMORY,
DISK=DISK,
SLEEP=STEP1SLEEP
}
}
call tvc.step2{
input: step1_output=flatten(step1.output_step1),
DOCKER=DOCKER,
NUM_THREAD=NUM_THREAD,
MEMORY=MEMORY,
DISK=DISK,
SLEEP=STEP2SLEEP
}
}