comparison env/lib/python3.7/site-packages/cwltool/tests/wf/revtool.cwl @ 5:9b1c78e6ba9c draft default tip

"planemo upload commit 6c0a8142489327ece472c84e558c47da711a9142"
author shellac
date Mon, 01 Jun 2020 08:59:25 -0400
parents 79f47841a781
children
comparison
equal deleted inserted replaced
4:79f47841a781 5:9b1c78e6ba9c
1 #!/usr/bin/env cwl-runner
2 #
3 # Simplest example command line program wrapper for the Unix tool "rev".
4 #
5 class: CommandLineTool
6 cwlVersion: v1.0
7 doc: "Reverse each line using the `rev` command"
8 $schemas:
9 - empty.ttl
10
11 # The "inputs" array defines the structure of the input object that describes
12 # the inputs to the underlying program. Here, there is one input field
13 # defined that will be called "input" and will contain a "File" object.
14 #
15 # The input binding indicates that the input value should be turned into a
16 # command line argument. In this example inputBinding is an empty object,
17 # which indicates that the file name should be added to the command line at
18 # a default location.
19 inputs:
20 revtool_input:
21 type: File
22 inputBinding: {}
23
24 # The "outputs" array defines the structure of the output object that
25 # describes the outputs of the underlying program. Here, there is one
26 # output field defined that will be called "output", must be a "File" type,
27 # and after the program executes, the output value will be the file
28 # output.txt in the designated output directory.
29 outputs:
30 revtool_output:
31 type: File
32 outputBinding:
33 glob: output.txt
34
35 # The actual program to execute.
36 baseCommand: rev
37
38 # Specify that the standard output stream must be redirected to a file called
39 # output.txt in the designated output directory.
40 stdout: output.txt