-
Notifications
You must be signed in to change notification settings - Fork 2
/
vcf_merge.cwl
103 lines (76 loc) · 2.19 KB
/
vcf_merge.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
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: CommandLineTool
id: "merge_vcfs"
label: "merge_vcfs"
doc: |
This tool will merge VCFs by type (SV, SNV, INDEL). This CWL wrapper was written by Solomon Shorser.
The Perl script was originaly written by Brian O'Connor and maintained by Solomon Shorser.
dct:creator:
foaf:name: "Solomon Shorser"
foaf:mbox: "solomon.shorser@oicr.on.ca"
requirements:
- class: DockerRequirement
dockerPull: quay.io/pancancer/pcawg-oxog-tools
- class: InlineJavascriptRequirement
expressionLib:
- { $include: vcf_merge_util.js }
inputs:
- id: "#broad_snv"
type: File[]
- id: "#sanger_snv"
type: File[]
- id: "#de_snv"
type: File[]
- id: "#muse_snv"
type: File[]
- id: "#broad_sv"
type: File[]
- id: "#sanger_sv"
type: File[]
- id: "#de_sv"
type: File[]
- id: "#broad_indel"
type: File[]
- id: "#sanger_indel"
type: File[]
- id: "#de_indel"
type: File[]
- id: "#smufin_indel"
type: File[]
- id: "#out_dir"
type: string
inputBinding:
position: 12
prefix: --outdir
outputs:
output:
type:
type: array
items: File
outputBinding:
glob: "*.clean.sorted.vcf.gz"
arguments:
- prefix: --broad_snv
valueFrom: $(formatArray(inputs.broad_snv))
- prefix: --sanger_snv
valueFrom: $(formatArray(inputs.sanger_snv))
- prefix: --dkfz_embl_snv
valueFrom: $(formatArray(inputs.de_snv))
- prefix: --muse_snv
valueFrom: $(formatArray(inputs.muse_snv))
- prefix: --broad_sv
valueFrom: $(formatArray(inputs.broad_sv))
- prefix: --sanger_sv
valueFrom: $(formatArray(inputs.sanger_sv))
- prefix: --dkfz_embl_sv
valueFrom: $(formatArray(inputs.de_sv))
- prefix: --broad_indel
valueFrom: $(formatArray(inputs.broad_indel))
- prefix: --sanger_indel
valueFrom: $(formatArray(inputs.sanger_indel))
- prefix: --dkfz_embl_indel
valueFrom: $(formatArray(inputs.de_indel))
- prefix: --smufin_indel
valueFrom: $(formatArray(inputs.smufin_indel))
baseCommand: /opt/oxog_scripts/vcf_merge_by_type.pl