-
Notifications
You must be signed in to change notification settings - Fork 0
/
sc-multiome-align-wf.cwl
373 lines (316 loc) · 11.5 KB
/
sc-multiome-align-wf.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
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
cwlVersion: v1.0
class: Workflow
requirements:
- class: SubworkflowFeatureRequirement
- class: StepInputExpressionRequirement
- class: InlineJavascriptRequirement
- class: MultipleInputFeatureRequirement
inputs:
indices_folder:
type: Directory
doc: |
Cell Ranger ARC reference genome indices folder
gex_fastq_file_r1:
type: File
doc: |
GEX FASTQ file R1 (optionally compressed)
gex_fastq_file_r2:
type: File
doc: |
GEX FASTQ file R2 (optionally compressed)
atac_fastq_file_r1:
type: File
doc: |
ATAC FASTQ file R1 (optionally compressed)
atac_fastq_file_r2:
type: File
doc: |
ATAC FASTQ file R2 (optionally compressed)
atac_fastq_file_r3:
type: File
doc: |
ATAC FASTQ file R3 (optionally compressed)
exclude_introns:
type: boolean?
default: false
doc: |
Disable counting of intronic reads. In this mode, only reads that are exonic
and compatible with annotated splice junctions in the reference are counted.
Note: using this mode will reduce the UMI counts in the feature-barcode matrix
threads:
type: int?
default: 4
doc: |
Number of threads for those steps that support multithreading
memory_limit:
type: int?
default: 20
doc: |
Maximum memory used (GB).
The same as was used for generating indices.
The same will be applied to virtual memory
outputs:
web_summary_report:
type: File
outputSource: count_gene_expr_and_chr_acc/web_summary_report
doc: |
Run summary metrics and charts in HTML format
metrics_summary_report:
type: File
outputSource: count_gene_expr_and_chr_acc/metrics_summary_report
doc: |
Run summary metrics in CSV format
barcode_metrics_report:
type: File
outputSource: count_gene_expr_and_chr_acc/barcode_metrics_report
doc: |
ATAC and GEX read count summaries generated for every
barcode observed in the experiment. The columns contain
the paired ATAC and Gene Expression barcode sequences,
ATAC and Gene Expression QC metrics for that barcode,
as well as whether this barcode was identified as a
cell-associated partition by the pipeline.
More details:
https://support.10xgenomics.com/single-cell-multiome-atac-gex/software/pipelines/latest/output/per_barcode_metrics
gex_possorted_genome_bam_bai:
type: File
outputSource: count_gene_expr_and_chr_acc/gex_possorted_genome_bam_bai
doc: |
GEX position-sorted reads aligned to the genome and transcriptome
annotated with barcode information in BAM format
atac_possorted_genome_bam_bai:
type: File
outputSource: count_gene_expr_and_chr_acc/atac_possorted_genome_bam_bai
doc: |
ATAC position-sorted reads aligned to the genome annotated with barcode
information in BAM format
filtered_feature_bc_matrix_folder:
type: File
outputSource: compress_filtered_feature_bc_matrix_folder/compressed_folder
doc: |
Compressed folder with filtered feature barcode matrix stored as a CSC
sparse matrix in MEX format. The rows consist of all the gene and peak
features concatenated together (identical to raw feature barcode matrix)
and the columns are restricted to those barcodes that are identified
as cells.
filtered_feature_bc_matrix_h5:
type: File
outputSource: count_gene_expr_and_chr_acc/filtered_feature_bc_matrix_h5
doc: |
Filtered feature barcode matrix stored as a CSC sparse matrix in hdf5 format.
The rows consist of all the gene and peak features concatenated together
(identical to raw feature barcode matrix) and the columns are restricted to
those barcodes that are identified as cells.
raw_feature_bc_matrices_folder:
type: File
outputSource: compress_raw_feature_bc_matrices_folder/compressed_folder
doc: |
Compressed folder with raw feature barcode matrix stored as a CSC sparse
matrix in MEX format. The rows consist of all the gene and peak features
concatenated together and the columns consist of all observed barcodes
with non-zero signal for either ATAC or gene expression.
raw_feature_bc_matrices_h5:
type: File
outputSource: count_gene_expr_and_chr_acc/raw_feature_bc_matrices_h5
doc: |
Raw feature barcode matrix stored as a CSC sparse matrix in hdf5 format.
The rows consist of all the gene and peak features concatenated together
and the columns consist of all observed barcodes with non-zero signal for
either ATAC or gene expression.
secondary_analysis_report_folder:
type: File
outputSource: compress_secondary_analysis_report_folder/compressed_folder
doc: |
Compressed folder with various secondary analyses that utilize the ATAC data,
the GEX data, and their linkage: dimensionality reduction and clustering results
for the ATAC and GEX data, differential expression, and differential accessibility
for all clustering results above and linkage between ATAC and GEX data.
gex_molecule_info_h5:
type: File
outputSource: count_gene_expr_and_chr_acc/gex_molecule_info_h5
doc: |
Count and barcode information for every GEX molecule observed in the experiment
in hdf5 format
loupe_browser_track:
type: File
outputSource: count_gene_expr_and_chr_acc/loupe_browser_track
doc: |
Loupe Browser visualization file with all the analysis outputs
atac_fragments_file:
type: File
outputSource: count_gene_expr_and_chr_acc/atac_fragments_file
doc: |
Count and barcode information for every ATAC fragment observed in
the experiment in TSV format
atac_peaks_bed_file:
type: File
outputSource: count_gene_expr_and_chr_acc/atac_peaks_bed_file
doc: |
Locations of open-chromatin regions identified in this sample.
These regions are referred to as "peaks"
atac_cut_sites_bigwig_file:
type: File
outputSource: count_gene_expr_and_chr_acc/atac_cut_sites_bigwig_file
doc: |
Genome track of observed transposition sites in the experiment
smoothed at a resolution of 400 bases in BIGWIG format
atac_peak_annotation_file:
type: File
outputSource: count_gene_expr_and_chr_acc/atac_peak_annotation_file
doc: |
Annotations of peaks based on genomic proximity alone.
Note that these are not functional annotations and they
do not make use of linkage with GEX data.
compressed_html_data_folder:
type: File
outputSource: compress_html_data_folder/compressed_folder
doc: |
Compressed folder with Cellbrowser formatted results
count_gene_expr_and_chr_acc_stdout_log:
type: File
outputSource: count_gene_expr_and_chr_acc/stdout_log
doc: |
stdout log generated by cellranger-arc count
count_gene_expr_and_chr_acc_stderr_log:
type: File
outputSource: count_gene_expr_and_chr_acc/stderr_log
doc: |
stderr log generated by cellranger-arc count
steps:
extract_gex_fastq_r1:
run: ../tools/extract-fastq.cwl
in:
compressed_file: gex_fastq_file_r1
out:
- fastq_file
extract_gex_fastq_r2:
run: ../tools/extract-fastq.cwl
in:
compressed_file: gex_fastq_file_r2
out:
- fastq_file
extract_atac_fastq_r1:
run: ../tools/extract-fastq.cwl
in:
compressed_file: atac_fastq_file_r1
out:
- fastq_file
extract_atac_fastq_r2:
run: ../tools/extract-fastq.cwl
in:
compressed_file: atac_fastq_file_r2
out:
- fastq_file
extract_atac_fastq_r3:
run: ../tools/extract-fastq.cwl
in:
compressed_file: atac_fastq_file_r3
out:
- fastq_file
count_gene_expr_and_chr_acc:
run: ../tools/cellranger-arc-count.cwl
in:
gex_fastq_file_r1: extract_gex_fastq_r1/fastq_file
gex_fastq_file_r2: extract_gex_fastq_r2/fastq_file
atac_fastq_file_r1: extract_atac_fastq_r1/fastq_file
atac_fastq_file_r2: extract_atac_fastq_r2/fastq_file
atac_fastq_file_r3: extract_atac_fastq_r3/fastq_file
indices_folder: indices_folder
exclude_introns: exclude_introns
threads: threads
memory_limit: memory_limit
virt_memory_limit: memory_limit
out:
- web_summary_report
- metrics_summary_report
- barcode_metrics_report
- gex_possorted_genome_bam_bai
- atac_possorted_genome_bam_bai
- filtered_feature_bc_matrix_folder
- filtered_feature_bc_matrix_h5
- raw_feature_bc_matrices_folder
- raw_feature_bc_matrices_h5
- secondary_analysis_report_folder
- gex_molecule_info_h5
- loupe_browser_track
- atac_fragments_file
- atac_peaks_bed_file
- atac_cut_sites_bigwig_file
- atac_peak_annotation_file
- stdout_log
- stderr_log
cellbrowser_build:
run: ../tools/cellbrowser-build-cellranger-arc.cwl
in:
secondary_analysis_report_folder: count_gene_expr_and_chr_acc/secondary_analysis_report_folder
filtered_feature_bc_matrix_folder: count_gene_expr_and_chr_acc/filtered_feature_bc_matrix_folder
out:
- html_data
compress_filtered_feature_bc_matrix_folder:
run: ../tools/tar-compress.cwl
in:
folder_to_compress: count_gene_expr_and_chr_acc/filtered_feature_bc_matrix_folder
out:
- compressed_folder
compress_raw_feature_bc_matrices_folder:
run: ../tools/tar-compress.cwl
in:
folder_to_compress: count_gene_expr_and_chr_acc/raw_feature_bc_matrices_folder
out:
- compressed_folder
compress_secondary_analysis_report_folder:
run: ../tools/tar-compress.cwl
in:
folder_to_compress: count_gene_expr_and_chr_acc/secondary_analysis_report_folder
out:
- compressed_folder
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: "Single-cell Multiome ATAC and RNA-Seq Alignment"
label: "Single-cell Multiome ATAC and RNA-Seq Alignment"
s:alternateName: |
Runs Cell Ranger ARC Count to quantifies chromatin accessibility and gene expression
from a single-cell Multiome ATAC and RNA-Seq library
s:downloadUrl: https://raw.githubusercontent.com/Barski-lab/sc-seq-analysis/main/workflows/sc-multiome-align-wf.cwl
s:codeRepository: https://github.com/Barski-lab/sc-seq-analysis
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:[email protected]
s:sameAs:
- id: http://orcid.org/0000-0002-6486-3898
doc: |
Single-cell Multiome ATAC and RNA-Seq Alignment
Runs Cell Ranger ARC Count to quantifies chromatin accessibility and
gene expression from a single-cell Multiome ATAC and RNA-Seq library