/
pindel_cat.cwl
43 lines (41 loc) · 1.04 KB
/
pindel_cat.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
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: Workflow
label: "Per-chromosome pindel"
requirements:
- class: MultipleInputFeatureRequirement
inputs:
reference:
type: string
tumor_cram:
type: File
secondaryFiles: ["^.crai"]
normal_cram:
type: File
secondaryFiles: ["^.crai"]
chromosome:
type: string
insert_size:
type: int
default: 400
outputs:
per_chromosome_pindel_out:
type: File
outputSource: cat/pindel_out
steps:
pindel:
run: ../tools/pindel.cwl
in:
reference: reference
tumor_cram: tumor_cram
normal_cram: normal_cram
insert_size: insert_size
chromosome: chromosome
out:
[deletions, insertions, tandems, long_insertions, inversions]
cat:
run: ../tools/cat_out.cwl
in:
pindel_outs: [pindel/deletions, pindel/insertions, pindel/tandems, pindel/long_insertions, pindel/inversions]
out:
[pindel_out]