view env/lib/python3.7/site-packages/cwltool/tests/wf/sec-wf-out.cwl @ 0:26e78fe6e8c4 draft

"planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
author shellac
date Sat, 02 May 2020 07:14:21 -0400
parents
children
line wrap: on
line source

#!/usr/bin/env cwl-runner
class: Workflow
cwlVersion: v1.0
inputs: []
outputs:
  file1:
    type: File
    outputSource: step1/file1


steps:
  step1:
    in: []
    out:
      - file1
      - file1csv
    run:
      class: CommandLineTool
      requirements:
      - class: ShellCommandRequirement
      arguments:
      - shellQuote: false
        valueFrom: >
          echo "abc" > f.txt;
          echo "3" > f.txt.size;
          echo "a" > f.txt.firstletter;
          echo "a,b,c" > f.csv;
          echo "1,2,3" > f.csv.columns;
          echo "ignored" > f.txt.ignoreme;
      inputs: []
      outputs:
        file1:
          type: File
          outputBinding:
            glob: "f.txt"
          secondaryFiles:
            - ".size"
            - ".firstletter"
            - "^.csv"
        file1csv:
            type: File
            outputBinding:
              glob: "f.csv"
            secondaryFiles:
            - ".columns"