Workflow: trick_revsort.cwl

Fetched 2023-01-11 05:48:03 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
name String

Here to test for a bug in --pack

reverse_sort Boolean

If true, reverse (decending) 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/f0a844af6f93883fcacb3572a6366124a50d0909/tests/wf/trick_revsort.cwl