Skip to content

Instantly share code, notes, and snippets.

@jmchilton
Created February 4, 2016 20:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmchilton/b4911039b2c7a6acd0b4 to your computer and use it in GitHub Desktop.
Save jmchilton/b4911039b2c7a6acd0b4 to your computer and use it in GitHub Desktop.
class: CommandLineTool
cwlVersion: "cwl:draft-3"
baseCommand: python
arguments:
- valueFrom: input.txt
position: 1
requirements:
- class: CreateFileRequirement
fileDef:
- filename: input.txt
fileContent: $(inputs.file)
- class: InlineJavascriptRequirement
inputs:
- id: file
type: File
- id: index.py
type: File
default:
class: File
path: index.py
inputBinding:
position: 0
outputs:
- id: result
type: File
outputBinding:
glob: input.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment