/
single_cell_rnaseq.cwl
50 lines (46 loc) · 1.23 KB
/
single_cell_rnaseq.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
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: Workflow
label: "Running cellranger count and lineage inference"
inputs:
chemistry:
type: string?
reference:
type: Directory
sample_name:
type: string
fastq_directory:
type: Directory[]
lineage_min_cells:
type: int?
default: 3
lineage_min_features:
type: int?
default: 10
lineage_reference_data:
type: string
steps:
count:
run: ../tools/cellranger_count.cwl
in:
chemistry: chemistry
fastq_directory: fastq_directory
reference: reference
sample_name: sample_name
out: [out_dir]
lineage:
run: ../tools/cellmatch_lineage.cwl
in:
sample_name: sample_name
cellranger_out_dir: count/out_dir
lineage_min_cells: lineage_min_cells
lineage_min_features: lineage_min_features
lineage_reference_data: lineage_reference_data
out: [cellmatch_out_dir]
outputs:
counts_out_dir:
type: Directory
outputSource: count/out_dir
lineage_cellmatch_lineage_out_dir:
type: Directory
outputSource: lineage/cellmatch_out_dir