Mercurial > repos > shellac > guppy_basecaller
comparison env/lib/python3.7/site-packages/cwltool/tests/wf/nested.cwl @ 0:26e78fe6e8c4 draft
"planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
author | shellac |
---|---|
date | Sat, 02 May 2020 07:14:21 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:26e78fe6e8c4 |
---|---|
1 #!/usr/bin/env cwl-runner | |
2 | |
3 cwlVersion: v1.0 | |
4 class: Workflow | |
5 label: "Nested workflow example" | |
6 | |
7 inputs: [] | |
8 | |
9 outputs: | |
10 classout: | |
11 type: File | |
12 outputSource: compile/classout | |
13 | |
14 requirements: | |
15 - class: SubworkflowFeatureRequirement | |
16 | |
17 steps: | |
18 compile: | |
19 run: 1st-workflow.cwl | |
20 in: | |
21 inp: | |
22 source: create-tar/tar | |
23 ex: | |
24 default: "Hello.java" | |
25 out: [classout] | |
26 | |
27 create-tar: | |
28 requirements: | |
29 - class: InitialWorkDirRequirement | |
30 listing: | |
31 - entryname: Hello.java | |
32 entry: | | |
33 public class Hello { | |
34 public static void main(String[] argv) { | |
35 System.out.println("Hello from Java"); | |
36 } | |
37 } | |
38 in: [] | |
39 out: [tar] | |
40 run: | |
41 class: CommandLineTool | |
42 requirements: | |
43 - class: ShellCommandRequirement | |
44 arguments: | |
45 - shellQuote: false | |
46 valueFrom: | | |
47 date | |
48 tar cf hello.tar Hello.java | |
49 date | |
50 inputs: [] | |
51 outputs: | |
52 tar: | |
53 type: File | |
54 outputBinding: | |
55 glob: "hello.tar" |