-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockstore.cwl
47 lines (37 loc) · 970 Bytes
/
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
#!/usr/bin/env cwl-runner
class: CommandLineTool
description: |
Output summary statistics per reference for a SAM/BAM file (Aligned reads only).
dct:creator:
foaf:name: Andy Yang
foaf:mbox: "mailto:[email protected]"
cwlVersion: draft-3
requirements:
- class: DockerRequirement
dockerPull: "quay.io/cancercollaboratory/dockstore-tool-ubu-sam-summary"
inputs:
- id: "#in"
type: File
description: "Input sam or bam file"
inputBinding:
position: 1
prefix: "--in"
- id: "#header"
type: [ "null", File ]
description: "Output header"
inputBinding:
position: 2
prefix: "--header"
- id: "#out"
type: string
description: "Output summary file"
inputBinding:
position: 3
prefix: "--out"
outputs:
- id: "#out"
type: File
description: "Output summary file"
outputBinding:
glob: $(inputs.out)
baseCommand: ["java" , "-jar" , "/opt/ubu/ubu.jar" , "sam-summary"]