Skip to content

Instantly share code, notes, and snippets.

@tom-tan
Created April 9, 2018 06:18
Show Gist options
  • Save tom-tan/ce51c6d6844fbe64d58827d2d4c5c4b8 to your computer and use it in GitHub Desktop.
Save tom-tan/ce51c6d6844fbe64d58827d2d4c5c4b8 to your computer and use it in GitHub Desktop.
入力パラメータを出力ファイル名に反映させるサンプル
class: CommandLineTool
cwlVersion: v1.0
baseCommand:
- echo
inputs:
inputfile:
type: File
inputBinding: {}
method:
type: string
outputs:
output:
type: stdout
stdout: $(inputs.inputfile.basename).$(inputs.method)
requirements:
- class: DockerRequirement
dockerPull: alpine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment