-
Notifications
You must be signed in to change notification settings - Fork 7
/
Dockstore.cwl
76 lines (70 loc) · 1.97 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
#!/usr/bin/env cwl-runner
class: CommandLineTool
id: "DKFZBiasFilter"
label: "DKFZ Bias Filter"
cwlVersion: v1.0
description: |
A Docker container for the DKFZ Bias Filter.
dct:creator:
foaf:name: Ivo Buchhalter
foaf:mbox: "mailto:i.buchhalter@dkfz-heidelberg.de"
requirements:
- class: DockerRequirement
dockerPull: "quay.io/jwerner_dkfz/dkfzbiasfilter:1.2.2"
- class: InlineJavascriptRequirement
- class: InitialWorkDirRequirement
listing:
- $(inputs.input_vcf)
- $(inputs.input_bam)
- $(inputs.input_bam_index)
- $(inputs.reference_sequence)
- $(inputs.reference_sequence_index)
inputs:
write_qc:
type: boolean
default: true
doc: "Write quality control? If true, then a folder is created within the same folder as the filtered vcf file storing bias plots and qc files"
inputBinding:
position: 1
prefix: -q
input_vcf:
type: File
default: "/home/pcawg/input.vcf"
doc: "Absolute filename of input vcf file"
inputBinding:
position: 2
valueFrom: $(self.basename)
input_bam:
type: File
default: "/home/pcawg/tumor.bam"
doc: "Absolute filename of tumor bam file"
inputBinding:
position: 3
valueFrom: $(self.basename)
input_bam_index:
type: File
default: "/home/pcawg/tumor.bam.bai"
doc: "Absolute filename of tumor bam file index"
reference_sequence:
type: File
default: "/home/pcawg/hs37d5.fa"
doc: "Absolute filename of reference sequence file"
inputBinding:
position: 4
valueFrom: $(self.basename)
reference_sequence_index:
type: File
default: "/home/pcawg/hs37d5.fa.fai"
doc: "Absolute filename of reference sequence file index"
outputs:
output_vcf_file:
type: File
outputBinding:
glob: filtered.vcf
doc: "The filtered vcf file"
output_qc_folder:
type: Directory
outputBinding:
glob: filtered_qcSummary
doc: "The qc folder"
baseCommand: ["/usr/local/bin/run_biasfilter.sh"]