Workflow: revsort.cwl

Fetched 2024-09-04 05:10:47 GMT

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

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

Inputs

ID Type Title Doc
reverse_sort Boolean

If true, reverse (descending) sort

workflow_input File [format]

The input file to be processed.

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
sorted_output File

The output with the lines reversed and sorted.

Permalink: https://w3id.org/cwl/view/git/6d8c2a41e2c524e8d746020cc91711ecc3418a23/tests/wf/revsort.cwl