-
Notifications
You must be signed in to change notification settings - Fork 1
/
workflow.cwl
182 lines (178 loc) · 3.92 KB
/
workflow.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
#!/usr/bin/env cwl-runner
cwlVersion: v1.2
class: Workflow
requirements:
- class: SubworkflowFeatureRequirement
- class: MultipleInputFeatureRequirement
- class: InlineJavascriptRequirement
inputs:
gap_lines: File
in_dummy: File
PATH: string[]
tree: string[]
deepPATH_genomic_fasta: string[]
in_genomic_fasta: File
deepPATH_analyses: string[]
processed_gff: File?
original_gff: File
in_protein_fasta: File
in_transcript_fasta: File
in_cds_fasta: File
in_assembly_readme: File
in_genePrediction_readme: File
#
deepPATH_apollo2_data: string[]
in_seq: Directory
in_tracks_conf: File
in_tracks: Directory
in_names: Directory
in_trackList_json: File
in_trackList_json_bak: File
#
deepPATH_bigwig: string[]
in_gaps_bigwig: File? # this will be null if there are no gaps
in_gc_bigwig: File
url_table_file: string[]
steps:
cp_genomic_fasta:
run: cp_file.cwl
in:
PATH: PATH
tree: tree
deepPATH: deepPATH_genomic_fasta
in_data: in_genomic_fasta
out: []
cp_original_genomic_gff:
run: cp_file_4_annotation.cwl
in:
PATH: PATH
deepPATH_1: deepPATH_genomic_fasta
deepPATH_2: deepPATH_analyses
tree: tree
in_data: original_gff
out: []
cp_annotated_genomic_gff:
run: cp_file_4_annotation.cwl
when: $(inputs.url_table_file != "NA")
in:
url_table_file: url_table_file
PATH: PATH
deepPATH_1: deepPATH_genomic_fasta
deepPATH_2: deepPATH_analyses
tree: tree
in_data: processed_gff
out: []
cp_protein_fasta:
run: cp_file_4_annotation.cwl
in:
PATH: PATH
deepPATH_1: deepPATH_genomic_fasta
deepPATH_2: deepPATH_analyses
tree: tree
in_data: in_protein_fasta
out: []
cp_transcript_fasta:
run: cp_file_4_annotation.cwl
in:
PATH: PATH
deepPATH_1: deepPATH_genomic_fasta
deepPATH_2: deepPATH_analyses
tree: tree
in_data: in_transcript_fasta
out: []
cp_cds_fasta:
run: cp_file_4_annotation.cwl
in:
PATH: PATH
deepPATH_1: deepPATH_genomic_fasta
deepPATH_2: deepPATH_analyses
tree: tree
in_data: in_cds_fasta
out: []
cp_assembly_readme:
run: cp_file.cwl
in:
PATH: PATH
deepPATH: deepPATH_genomic_fasta
tree: tree
in_data: in_assembly_readme
out: []
cp_genePrediction_readme:
run: cp_file_4_annotation.cwl
in:
PATH: PATH
deepPATH_1: deepPATH_genomic_fasta
deepPATH_2: deepPATH_analyses
tree: tree
in_data: in_genePrediction_readme
out: []
#
cp_seq:
run: cp_dir.cwl
in:
PATH: PATH
tree: tree
deepPATH: deepPATH_apollo2_data
in_data: in_seq
out: []
cp_tracks_conf:
run: cp_file.cwl
in:
PATH: PATH
tree: tree
deepPATH: deepPATH_apollo2_data
in_data: in_tracks_conf
out: []
cp_tracks:
run: cp_dir.cwl
in:
PATH: PATH
tree: tree
deepPATH: deepPATH_apollo2_data
in_data: in_tracks
out: []
cp_names:
run: cp_dir.cwl
in:
PATH: PATH
tree: tree
deepPATH: deepPATH_apollo2_data
in_data: in_names
out: []
cp_trackList_json:
run: cp_file.cwl
in:
PATH: PATH
tree: tree
deepPATH: deepPATH_apollo2_data
in_data: in_trackList_json
out: []
cp_trackList_json_bak:
run: cp_file.cwl
in:
PATH: PATH
tree: tree
deepPATH: deepPATH_apollo2_data
in_data: in_trackList_json_bak
out: []
#
cp_gaps_bigwig:
run: cp_file.cwl
when: $(inputs.gap_lines.size > 0) # skip this step if there are no gaps
in:
gap_lines: gap_lines
PATH: PATH
tree: tree
deepPATH: deepPATH_bigwig
in_data: in_gaps_bigwig
out: []
cp_gc_bigwig:
run: cp_file.cwl
in:
PATH: PATH
tree: tree
deepPATH: deepPATH_bigwig
in_data: in_gc_bigwig
out: []
#
outputs: []