-
Notifications
You must be signed in to change notification settings - Fork 88
/
assemble.cwl
executable file
·65 lines (63 loc) · 1.39 KB
/
assemble.cwl
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
#!/usr/bin/env cwl-runner
class: Workflow
cwlVersion: v1.2
doc: |
Assemble a set of reads using SKESA
requirements:
- class: MultipleInputFeatureRequirement
inputs:
reads: File?
srr: string?
report_usage: boolean
no_internet:
type: boolean?
make_uuid:
type: boolean?
default: true
uuid_in:
type: File?
output_name:
type: string?
default: contigs.out
outputs:
contigs:
type: File
outputSource: skesa_assemble/contigs_out
uuid_out:
type: File
outputSource: ping_start/uuid_out
steps:
ping_start:
run: progs/pinger.cwl
in:
report_usage: report_usage
make_uuid: make_uuid
uuid_in: uuid_in
state:
default: "start"
workflow:
default: "skesa"
instring: output_name
out: [stdout, outstring, uuid_out]
skesa_assemble:
run: progs/skesa.cwl
in:
reads: reads
sra_run: srr
contigs_out_name: ping_start/outstring
out: [contigs_out]
ping_stop:
run: progs/pinger.cwl
in:
report_usage: report_usage
uuid_in: ping_start/uuid_out
state:
default: "stop"
workflow:
default: "skesa"
# Note: the input on the following line should be the same as all of the outputs
# for this workflow, so we ensure this is the final step.
infile:
- ping_start/stdout
- skesa_assemble/contigs_out
out: [stdout]