Workflow: revsort.cwl

Fetched 2023-01-12 04:30:50 GMT

Reverse the lines in a document, then sort those lines.

children parents
Workflow as SVG
  • Selected
  • Default Values
  • Nested Workflows
  • Tools
  • Inputs/Outputs

Requires:

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/9a8e654a91ea5d26e8452dd1cecf3faf22b7a12e/tests/wf/revsort.cwl