comparison env/lib/python3.9/site-packages/cwltool/tests/wf/revtool.cwl @ 0:4f3585e2f14b draft default tip

"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author shellac
date Mon, 22 Mar 2021 18:12:50 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4f3585e2f14b
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