Skip to content

Instantly share code, notes, and snippets.

@dleehr
Created July 21, 2015 16:37
Show Gist options
  • Save dleehr/a32b7449de96e717f9b6 to your computer and use it in GitHub Desktop.
Save dleehr/a32b7449de96e717f9b6 to your computer and use it in GitHub Desktop.
CWL Boot2Docker permissions
#!/usr/bin/env cwl-runner
class: CommandLineTool
requirements:
- class: DockerRequirement
dockerImageId: 'ubuntu:latest'
inputs:
- id: "#source"
type: File
inputBinding:
position: 1
- id: "#dest"
type: string
default: "dest"
inputBinding:
position: 2
outputs:
- id: "#output"
type: File
description: "copied file"
outputBinding:
glob:
engine: "cwl:JsonPointer"
script: "job/dest"
baseCommand: cp
{
"source": {
"class": "File",
"path": "sourcefile"
},
"dest": "mycopy"
}
hello, world
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment