-
Notifications
You must be signed in to change notification settings - Fork 12
/
wf-alignment.cwl
115 lines (115 loc) · 2.55 KB
/
wf-alignment.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
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
class: Workflow
cwlVersion: v1.0
hints: []
inputs:
- id: alignment_rec
type:
fields:
- name: description
type: string
- name: config__algorithm__align_split_size
type: 'null'
- name: reference__fasta__base
type: File
- name: rgnames__lb
type: 'null'
- name: rgnames__rg
type: string
- name: rgnames__lane
type: string
- name: reference__bwa__indexes
type: File
- name: files
type:
items: File
type: array
- name: config__algorithm__aligner
type: string
- name: rgnames__pl
type: string
- name: config__algorithm__mark_duplicates
type: string
- name: rgnames__pu
type: string
- name: rgnames__sample
type: string
name: alignment_rec
type: record
outputs:
- id: align_bam
outputSource: merge_split_alignments/align_bam
secondaryFiles:
- .bai
type: File
- id: work_bam_plus__disc
outputSource: merge_split_alignments/work_bam_plus__disc
secondaryFiles:
- .bai
type:
- File
- 'null'
- id: work_bam_plus__sr
outputSource: merge_split_alignments/work_bam_plus__sr
secondaryFiles:
- .bai
type:
- File
- 'null'
- id: hla__fastq
outputSource: merge_split_alignments/hla__fastq
type:
- File
- 'null'
- items: File
type: array
requirements:
- class: EnvVarRequirement
envDef:
- envName: MPLCONFIGDIR
envValue: .
- class: ScatterFeatureRequirement
- class: SubworkflowFeatureRequirement
steps:
- id: prep_align_inputs
in:
- id: alignment_rec
source: alignment_rec
out:
- id: process_alignment_rec
run: steps/prep_align_inputs.cwl
- id: process_alignment
in:
- id: alignment_rec
source: alignment_rec
- id: process_alignment_rec
source: prep_align_inputs/process_alignment_rec
out:
- id: work_bam
- id: align_bam
- id: hla__fastq
- id: work_bam_plus__disc
- id: work_bam_plus__sr
run: steps/process_alignment.cwl
scatter:
- process_alignment_rec
scatterMethod: dotproduct
- id: merge_split_alignments
in:
- id: alignment_rec
source: alignment_rec
- id: work_bam
source: process_alignment/work_bam
- id: align_bam_toolinput
source: process_alignment/align_bam
- id: work_bam_plus__disc_toolinput
source: process_alignment/work_bam_plus__disc
- id: work_bam_plus__sr_toolinput
source: process_alignment/work_bam_plus__sr
- id: hla__fastq_toolinput
source: process_alignment/hla__fastq
out:
- id: align_bam
- id: work_bam_plus__disc
- id: work_bam_plus__sr
- id: hla__fastq
run: steps/merge_split_alignments.cwl