Workflow: revsort-array.cwl

Fetched 2025-09-09 13:04:41 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
input File[]

Array of input files to be processed.

reverse_sort Boolean

If true, reverse (descending) 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 files with the lines reversed and sorted.

Permalink: https://w3id.org/cwl/view/git/1766cb070cbf0a43f3caeab0ff8a953a3f0362fa/input-data/revsort-array.cwl