Workflow: revsort-single.cwl
Reverse the lines in a document, then sort those lines.
- Selected
- |
- Default Values
- Nested Workflows
- Tools
- Inputs/Outputs
This workflow is Open Source and may be reused according to the terms of:
MIT License
Note that the tools invoked by the workflow may have separate licenses.
Inputs
| ID | Type | Title | Doc |
|---|---|---|---|
| input | File |
The input file to be processed. |
|
| reverse_sort | Boolean |
If true, reverse (decending) sort |
Steps
| ID | Runs | Label | Doc |
|---|---|---|---|
| rev |
revtool.cwl
(CommandLineTool)
|
Reverse each line using the `rev` command |
|
| sorted |
sorttool.cwl
(CommandLineTool)
|
Sort lines using the `sort` command |
Outputs
| ID | Type | Label | Doc |
|---|---|---|---|
| output | File |
The output with the lines reversed and sorted. |
Permalink:
https://w3id.org/cwl/view/git/1c930d3ac6ec44e0eeffa0e9cbcfbead34e0bc33/input-data/revsort-single.cwl
