blob: 4c6340c978c0bfbac0727ede3b276185d07ea768 (
plain)
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
|
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: CommandLineTool
doc: "samtools sort, sort given bam file"
requirements:
DockerRequirement:
dockerPull: quay.io/biocontainers/samtools:1.9--h8571acd_11
baseCommand: [samtools, sort]
inputs:
threads:
type: int
default: 4
inputBinding:
prefix: -@
tmpfile:
type: string
default: sort.tmp
label: "Write temporary files to PREFIX.nnnn.bam"
inputBinding:
prefix: -T
output_bam:
type: string
default: aln.sorted.bam
label: "Write final output to FILENAME"
inputBinding:
prefix: -o
input_bamfile:
type: File
label: "Input bamfile"
inputBinding:
position: 1
outputs:
sorted_bam:
type: File
outputBinding:
glob: "$(inputs.output_bam)"
stdout: stdout
stderr: stderr
stdout: samtools-sort-stdout.log
stderr: samtools-sort-stderr.log
|