-
Notifications
You must be signed in to change notification settings - Fork 14
/
extract_readgroup_fastq_pe.cwl
67 lines (59 loc) · 1.74 KB
/
extract_readgroup_fastq_pe.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
66
67
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: Workflow
requirements:
- class: InlineJavascriptRequirement
- class: ScatterFeatureRequirement
- class: SchemaDefRequirement
types:
- $import: ../../tools/readgroup.yml
- class: StepInputExpressionRequirement
- class: SubworkflowFeatureRequirement
inputs:
- id: readgroup_fastq_pe_uuid
type: ../../tools/readgroup.yml#readgroup_fastq_pe_uuid
- id: bioclient_config
type: File
outputs:
- id: output
type: ../../tools/readgroup.yml#readgroup_fastq_pe_file
outputSource: emit_readgroup_fastq_pe_file/output
steps:
- id: extract_forward_fastq
run: ../../tools/bio_client_download.cwl
in:
- id: config-file
source: bioclient_config
- id: download_handle
source: readgroup_fastq_pe_uuid
valueFrom: $(self.forward_fastq_uuid)
- id: file_size
source: readgroup_fastq_pe_uuid
valueFrom: $(self.forward_fastq_file_size)
out:
- id: output
- id: extract_reverse_fastq
run: ../../tools/bio_client_download.cwl
in:
- id: config-file
source: bioclient_config
- id: download_handle
source: readgroup_fastq_pe_uuid
valueFrom: $(self.reverse_fastq_uuid)
- id: file_size
source: readgroup_fastq_pe_uuid
valueFrom: $(self.reverse_fastq_file_size)
out:
- id: output
- id: emit_readgroup_fastq_pe_file
run: ../../tools/emit_readgroup_fastq_pe_file.cwl
in:
- id: forward_fastq
source: extract_forward_fastq/output
- id: reverse_fastq
source: extract_reverse_fastq/output
- id: readgroup_meta
source: readgroup_fastq_pe_uuid
valueFrom: $(self.readgroup_meta)
out:
- id: output