Sign inSign up

ttanjo/cwl-inspector

By ttanjo

•Updated about 7 years ago

It provides a handy way to inspect tools or workflows written in Common Workflow Language

Image
0

1.7K

ttanjo/cwl-inspector repository overview

⁠cwl-inspector

Build Status This tool provides a handy way to inspect properties of tools or workflows written in Common Workflow Language. This image is built by Travis CI⁠.

⁠Running examples

Input:

$ cat echo.cwl
class: CommandLineTool
cwlVersion: v1.0
id: echo_cwl
baseCommand:
  - cowsay
inputs:
  - id: input
    type: string?
    inputBinding:
      position: 0
    label: Input string
    doc: This is an input string
outputs:
  - id: output
    type: string?
    outputBinding: {}
requirements:
  - class: DockerRequirement
    dockerPull: docker/whalesay

⁠show a property named 'cwlVersion'

$ cat echo.cwl | docker run --rm -i ttanjo/cwl-inspector - .cwlVersion
v1.0

⁠show a nested property

$ cat echo.cwl | docker run --rm -i ttanjo/cwl-inspector - .inputs.input.label
Input string

⁠show the command to run a given cwl file

$ cat echo.cwl | docker run --rm -i ttanjo/cwl-inspector - commandline
docker run --rm docker/whalesay cowsay [ $input ]

Tag summary

Content type

Image

Digest

Size

17.1 MB

Last updated

about 7 years ago

docker pull ttanjo/cwl-inspector