-
Notifications
You must be signed in to change notification settings - Fork 11
/
Dockstore.cwl
140 lines (112 loc) · 3.09 KB
/
Dockstore.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
#!/usr/bin/env cwl-runner
class: CommandLineTool
id: "cgpmap"
label: "CGP BWA-mem mapping flow"
cwlVersion: v1.0
doc: |
Please use one of the new tools for v3+:
* [dockstore-cgpmap/cgpmap-bamOut](https://dockstore.org/containers/quay.io%2Fwtsicgp%2Fdockstore-cgpmap%2Fcgpmap-bamOut)
* [dockstore-cgpmap/cgpmap-cramOut](https://dockstore.org/containers/quay.io%2Fwtsicgp%2Fdockstore-cgpmap%2Fcgpmap-cramOut)
![build_status](https://quay.io/repository/wtsicgp/dockstore-cgpmap/status)
A Docker container for PCAP-core. See the [dockstore-cgpmap](https://github.com/cancerit/dockstore-cgpmap) website for more information.
requirements:
- $mixin: cwls/mixins/requirements.yml
hints:
- $mixin: cwls/mixins/hints.yml
inputs:
reference:
type: File
doc: "The core reference (fa, fai, dict) as tar.gz"
inputBinding:
prefix: -reference
position: 1
separate: true
bwa_idx:
type: File
doc: "The BWA indexes in tar.gz"
inputBinding:
prefix: -bwa_idx
position: 2
separate: true
sample:
type: string
doc: "Sample name to be included in output [B|CR]AM header, also used to name final file"
inputBinding:
prefix: -sample
position: 3
separate: true
bwa:
type: string?
default: ' -Y -K 100000000'
doc: "Mapping and output parameters to pass to BWA-mem, see BWA docs, default ' -Y -K 100000000'"
inputBinding:
prefix: -bwa
position: 4
separate: true
shellQuote: false
groupinfo:
type: File?
doc: "Readgroup metadata file for FASTQ inputs"
inputBinding:
prefix: -groupinfo
position: 5
separate: true
mmqc:
type: boolean
doc: "Apply mismatch QC to reads following duplicate marking."
inputBinding:
prefix: -qc
position: 6
mmqcfrac:
type: float?
default: 0.05
doc: "Mismatch fraction to set as max before failing a read [0.05]"
inputBinding:
prefix: -qcf
position: 7
separate: true
bams_in:
type:
- 'null'
- type: array
items: File
doc: "Can be BAM, CRAM, fastq (paired or interleaved), BAM/CRAM can be mixed together but not FASTQ."
inputBinding:
position: 8
outputs:
out_bam:
type: File
outputBinding:
glob: $(inputs.sample).bam
out_bai:
type: File
outputBinding:
glob: $(inputs.sample).bam.bai
out_bas:
type: File
outputBinding:
glob: $(inputs.sample).bam.bas
out_md5:
type: File
outputBinding:
glob: $(inputs.sample).bam.md5
out_met:
type: File
outputBinding:
glob: $(inputs.sample).bam.met
out_maptime:
type: File
outputBinding:
glob: $(inputs.sample).bam.maptime
baseCommand: ["/opt/wtsi-cgp/bin/ds-cgpmap.pl"]
$schemas:
- http://schema.org/docs/schema_org_rdfa.html
$namespaces:
s: http://schema.org/
s:codeRepository: https://github.com/cancerit/dockstore-cgpmap
s:license: https://spdx.org/licenses/AGPL-3.0-only
s:author:
- class: s:Person
s:identifier: https://orcid.org/0000-0002-5634-1539
s:email: mailto:[email protected]
s:name: Keiran Raine