File: echo-tool-packed.cwl

package info (click to toggle)
cwl-utils 0.40-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,164 kB
  • sloc: python: 88,875; makefile: 141; javascript: 91
file content (32 lines) | stat: -rwxr-xr-x 658 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
#!/usr/bin/env cwl-runner
cwlVersion: v1.2
$graph:
  - class: CommandLineTool
    id: first
    inputs:
      in:
        type: Any
    outputs:
      out:
        type: string
        outputBinding:
          glob: out.txt
          loadContents: true
          outputEval: $(self[0].contents)
    baseCommand: [ echo, first ]
    stdout: out.txt
  - class: CommandLineTool
    id: main
    inputs:
      in:
        type: Any
        inputBinding: {}
    outputs:
      out:
        type: string
        outputBinding:
          glob: out.txt
          loadContents: true
          outputEval: $(self[0].contents)
    baseCommand: echo
    stdout: out.txt