Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (29 sloc) 892 Bytes
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
requirements:
- class: DockerRequirement
dockerPull: quay.io/ncigdc/samtools:147bd4cc606a63c7435907d97fea6e94e9ea9ed58c18f390cab8bc40b1992df7
- class: InlineJavascriptRequirement
- class: ResourceRequirement
coresMin: 1
coresMax: 1
ramMin: 2000
ramMax: 2000
tmpdirMin: $(Math.ceil(2.1 * inputs.INPUT.size / 1048576))
tmpdirMax: $(Math.ceil(2.1 * inputs.INPUT.size / 1048576))
outdirMin: $(Math.ceil(1.1 * inputs.INPUT.size / 1048576))
outdirMax: $(Math.ceil(1.1 * inputs.INPUT.size / 1048576))
class: CommandLineTool
inputs:
- id: INPUT
type: File
inputBinding:
position: 0
outputs:
- id: OUTPUT
format: "edam:format_2572"
type: File
outputBinding:
glob: $(inputs.INPUT.basename)
stdout: $(inputs.INPUT.basename)
baseCommand: [/usr/local/bin/samtools, view, -Shb]