-
Notifications
You must be signed in to change notification settings - Fork 13
/
altanalyze-icgs.cwl
291 lines (248 loc) · 7.5 KB
/
altanalyze-icgs.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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
cwlVersion: v1.0
class: Workflow
requirements:
- class: SubworkflowFeatureRequirement
- class: StepInputExpressionRequirement
- class: InlineJavascriptRequirement
- class: MultipleInputFeatureRequirement
'sd:upstream':
sc_rnaseq_sample:
- "single-cell-preprocess-cellranger.cwl"
- "cellranger-aggr.cwl"
altanalyze_prepare_genome_sample:
- "altanalyze-prepare-genome.cwl"
inputs:
alias:
type: string
label: "Experiment short name/Alias"
sd:preview:
position: 1
genome_data:
type: Directory
label: "AltAnalyze Prepare Genome Experiment"
doc: "Ensembl database from the altanalyze-prepare-genome.cwl pipeline"
'sd:upstreamSource': "altanalyze_prepare_genome_sample/genome_data"
'sd:localLabel': true
filtered_feature_bc_matrix_h5:
type: File[]
label: "scRNA-Seq Cell Ranger Count or Aggregate Experiments"
doc: "Filtered feature-barcode matrices in HDF5 format from cellranger count or aggr results"
'sd:upstreamSource': "sc_rnaseq_sample/filtered_feature_bc_matrix_h5"
'sd:localLabel': true
exclude_cell_cycle:
type:
- "null"
- type: enum
symbols:
- "no"
- "yes"
- "strict"
default: "no"
label: "Exclude cell cycle"
doc: "Exclude cell cycle"
'sd:layout':
advanced: true
remove_outliers:
type: boolean?
default: true
label: "Remove outliers"
doc: "Remove outliers"
'sd:layout':
advanced: true
restrict_by:
type:
- "null"
- type: enum
symbols:
- "None"
- "protein_coding"
default: "None"
label: "Restrict by"
doc: "Restrict by"
'sd:layout':
advanced: true
downsample:
type: int?
default: 5000
label: "Downsample to"
doc: "Downsample to"
'sd:layout':
advanced: true
marker_pearson_cutoff:
type: float?
default: 0.3
label: "Marker Pearson cutoff"
doc: "Marker Pearson cutoff"
'sd:layout':
advanced: true
max_cluster_count:
type: int?
default: 20
label: "Maximum number of clusters to be detected"
doc: "Maximum number of clusters to be detected"
'sd:layout':
advanced: true
resolution:
type: float?
default: 0.4
label: "Clustering resolution"
doc: "Clustering resolution"
'sd:layout':
advanced: true
outputs:
compressed_icgs_data_folder:
type: File
outputSource: compress_icgs_data_folder/compressed_folder
label: "Compressed folder with AltAnalyze ICGS results"
doc: |
Compressed folder with AltAnalyze ICGS results
compressed_html_data_folder:
type: File
outputSource: compress_html_data_folder/compressed_folder
label: "Compressed folder with CellBrowser formatted results"
doc: |
Compressed folder with CellBrowser formatted results
html_data_folder:
type: Directory
outputSource: cellbrowser_build/html_data
label: "Folder with not compressed CellBrowser formatted results"
doc: |
Folder with not compressed CellBrowser formatted results
cellbrowser_report:
type: File
outputSource: cellbrowser_build/index_html_file
label: "CellBrowser formatted AltAnalyze ICGS report"
doc: |
CellBrowser formatted AltAnalyze ICGS report
'sd:visualPlugins':
- linkList:
tab: 'Overview'
target: "_blank"
icgs_marker_heatmap_file:
type: File
outputSource: altanalyze_icgs/marker_heatmap_file
label: "AltAnalyze ICGS Marker Gene Heatmap"
doc: |
AltAnalyze ICGS Marker Gene Heatmap in txt format
icgs_marker_heatmap_png:
type: File
outputSource: altanalyze_icgs/marker_heatmap_png
label: "AltAnalyze ICGS Marker Gene Heatmap"
doc: |
AltAnalyze ICGS Marker Gene Heatmap in png format
'sd:visualPlugins':
- image:
tab: 'Plots'
Caption: 'Marker Gene Heatmap'
icgs_annotation_metadata_file:
type: File
outputSource: altanalyze_icgs/annotation_metadata_file
label: "Annotation metadata"
doc: |
Annotation metadata file.
Get it from ICGS-NMF/cellbrowser/FinalGroups-CellTypesFull.txt
icgs_expression_matrix_file:
type: File
outputSource: altanalyze_icgs/expression_matrix_file
label: "Expression matrix"
doc: |
Expression matrix file.
Get it from ICGS-NMF/cellbrowser/exp.cellbrowser.txt
altanalyze_icgs_stdout_log:
type: File
outputSource: altanalyze_icgs/stdout_log
label: stdout log generated by altanalyze icgs
doc: |
stdout log generated by altanalyze icgs
altanalyze_icgs_stderr_log:
type: File
outputSource: altanalyze_icgs/stderr_log
label: stderr log generated by altanalyze icgs
doc: |
stderr log generated by altanalyze icgs
steps:
altanalyze_icgs:
run: ../tools/altanalyze-icgs.cwl
in:
genome_data: genome_data
feature_bc_matrices_h5: filtered_feature_bc_matrix_h5
exclude_cell_cycle: exclude_cell_cycle
remove_outliers: remove_outliers
restrict_by: restrict_by
downsample: downsample
marker_pearson_cutoff: marker_pearson_cutoff
max_cluster_count: max_cluster_count
resolution: resolution
out:
- icgs_data
- expression_matrix_file
- annotation_metadata_file
- cell_coordinates_file
- cluster_marker_genes_file
- marker_heatmap_file
- marker_heatmap_png
- stdout_log
- stderr_log
compress_icgs_data_folder:
run: ../tools/tar-compress.cwl
in:
folder_to_compress: altanalyze_icgs/icgs_data
out:
- compressed_folder
cellbrowser_build:
run: ../tools/cellbrowser-build-altanalyze.cwl
in:
expression_matrix_file: altanalyze_icgs/expression_matrix_file
annotation_metadata_file: altanalyze_icgs/annotation_metadata_file
cell_coordinates_file: altanalyze_icgs/cell_coordinates_file
cluster_marker_genes_file: altanalyze_icgs/cluster_marker_genes_file
out:
- html_data
- index_html_file
compress_html_data_folder:
run: ../tools/tar-compress.cwl
in:
folder_to_compress: cellbrowser_build/html_data
out:
- compressed_folder
$namespaces:
s: http://schema.org/
$schemas:
- https://github.com/schemaorg/schemaorg/raw/main/data/releases/11.01/schemaorg-current-http.rdf
s:name: "AltAnalyze ICGS"
label: "AltAnalyze ICGS"
s:alternateName: "Runs iterative clustering and guide-gene selection for Cell Ranger Count Gene Expression or Cell Ranger Aggregate experiments"
s:downloadUrl: https://raw.githubusercontent.com/datirium/workflows/master/workflows/altanalyze-icgs.cwl
s:codeRepository: https://github.com/datirium/workflows
s:license: http://www.apache.org/licenses/LICENSE-2.0
s:isPartOf:
class: s:CreativeWork
s:name: Common Workflow Language
s:url: http://commonwl.org/
s:creator:
- class: s:Organization
s:legalName: "Cincinnati Children's Hospital Medical Center"
s:location:
- class: s:PostalAddress
s:addressCountry: "USA"
s:addressLocality: "Cincinnati"
s:addressRegion: "OH"
s:postalCode: "45229"
s:streetAddress: "3333 Burnet Ave"
s:telephone: "+1(513)636-4200"
s:logo: "https://www.cincinnatichildrens.org/-/media/cincinnati%20childrens/global%20shared/childrens-logo-new.png"
s:department:
- class: s:Organization
s:legalName: "Allergy and Immunology"
s:department:
- class: s:Organization
s:legalName: "Barski Research Lab"
s:member:
- class: s:Person
s:name: Michael Kotliar
s:email: mailto:misha.kotliar@gmail.com
s:sameAs:
- id: http://orcid.org/0000-0002-6486-3898
doc: |
AltAnalyze ICGS
===============