File: packed_no_main.cwl

package info (click to toggle)
cwltool 3.1.20250110105449-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 10,516 kB
  • sloc: python: 20,992; javascript: 20,796; sh: 233; makefile: 152
file content (73 lines) | stat: -rwxr-xr-x 1,082 bytes parent folder | download
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#!/usr/bin/env cwl-runner
cwlVersion: v1.2
$graph:
- id: echo
  class: CommandLineTool
  inputs:
    text:
      type: string
      inputBinding: {}

  outputs:
    fileout:
      type: File
      outputBinding:
        glob: out.txt

  baseCommand: echo
  stdout: out.txt

- id: cat
  class: CommandLineTool
  inputs:
    file1:
      type: File
      inputBinding:
        position: 1
    file2:
      type: File
      inputBinding:
        position: 2

  outputs:
    fileout:
      type: File
      outputBinding:
        glob: out.txt

  baseCommand: cat
  stdout: out.txt

- class: Workflow
  id: collision

  inputs:
    input_1: string
    input_2: string

  outputs:
    fileout:
      type: File
      outputSource: cat_step/fileout

  steps:
    echo_1:
      run: "#echo"
      in:
        text: input_1
      out: [fileout]

    echo_2:
      run: "#echo"
      in:
        text: input_2
      out: [fileout]

    cat_step:
      run: "#cat"
      in:
        file1:
          source: echo_1/fileout
        file2:
          source: echo_2/fileout
      out: [fileout]