File: sec-wf-out.cwl

package info (click to toggle)
cwltool 1.0.20181217162649%2Bdfsg-10
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,632 kB
  • sloc: python: 11,008; makefile: 153; sh: 22
file content (45 lines) | stat: -rw-r--r-- 948 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/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"