Mercurial > repos > shellac > guppy_basecaller
comparison env/lib/python3.7/site-packages/cwltool/tests/wf/revtool.cwl @ 0:26e78fe6e8c4 draft
"planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
| author | shellac |
|---|---|
| date | Sat, 02 May 2020 07:14:21 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:26e78fe6e8c4 |
|---|---|
| 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 |
