-
-
Notifications
You must be signed in to change notification settings - Fork 199
/
conformance_test_v1.0.yaml
1325 lines (1212 loc) 路 35 KB
/
conformance_test_v1.0.yaml
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
- job: v1.0/bwa-mem-job.json
tool: v1.0/bwa-mem-tool.cwl
output:
args: [bwa, mem, -t, '2', -I, '1,2,3,4', -m, '3',
chr20.fa,
example_human_Illumina.pe_1.fastq,
example_human_Illumina.pe_2.fastq]
doc: General test of command line generation
- output:
args: [bwa, mem, chr20.fa,
"-XXX",
"-YYY", example_human_Illumina.pe_1.fastq,
"-YYY", example_human_Illumina.pe_2.fastq]
job: v1.0/bwa-mem-job.json
tool: v1.0/binding-test.cwl
doc: Test nested prefixes with arrays
- output:
args: [tmap, mapall, stage1, map1, --min-seq-length, '20', map2, --min-seq-length,
'20', stage2, map1, --max-seq-length, '20', --min-seq-length, '10', --seed-length,
'16', map2, --max-seed-hits, '-1', --max-seq-length, '20', --min-seq-length, '10']
job: v1.0/tmap-job.json
tool: v1.0/tmap-tool.cwl
doc: Test nested command line bindings
- output:
args: [cat, hello.txt]
job: v1.0/cat-job.json
tool: v1.0/cat1-testcli.cwl
doc: Test command line with optional input (missing)
- output:
args: [cat, -n, hello.txt]
job: v1.0/cat-n-job.json
tool: v1.0/cat1-testcli.cwl
doc: Test command line with optional input (provided)
- output:
"foo": {
"checksum": "sha1$63da67422622fbf9251a046d7a34b7ea0fd4fead",
"class": "File",
"location": "foo.txt",
"size": 22
}
job: v1.0/cat-job.json
tool: v1.0/template-tool.cwl
doc: Test InitialWorkDirRequirement ExpressionEngineRequirement.engineConfig feature
- job: v1.0/cat-job.json
output:
output_file:
class: File
checksum: sha1$47a013e660d408619d894b20806b1d5086aab03b
location: output.txt
size: 13
tool: v1.0/cat3-tool.cwl
doc: Test command execution in Docker with stdout redirection
- job: v1.0/cat-job.json
tool: v1.0/cat3-tool-shortcut.cwl
output:
output_file:
class: File
checksum: sha1$47a013e660d408619d894b20806b1d5086aab03b
location: Any
size: 13
doc: Test command execution in Docker with simplified syntax stdout redirection
- job: v1.0/cat-job.json
output:
output_file:
class: File
checksum: sha1$47a013e660d408619d894b20806b1d5086aab03b
location: cat-out
size: 13
tool: v1.0/cat3-tool-mediumcut.cwl
doc: Test command execution in Docker with stdout redirection
- job: v1.0/empty.json
tool: v1.0/stderr.cwl
doc: Test command line with stderr redirection
output:
output_file:
class: File
checksum: sha1$f1d2d2f924e986ac86fdf7b36c94bcdf32beec15
size: 4
location: error.txt
- job: v1.0/empty.json
tool: v1.0/stderr-shortcut.cwl
doc: Test command line with stderr redirection, brief syntax
output:
output_file:
class: File
checksum: sha1$f1d2d2f924e986ac86fdf7b36c94bcdf32beec15
size: 4
location: Any
- output:
output_file:
class: File
size: 4
checksum: sha1$f1d2d2f924e986ac86fdf7b36c94bcdf32beec15
location: std.err
job: v1.0/empty.json
tool: v1.0/stderr-mediumcut.cwl
doc: Test command line with stderr redirection, named brief syntax
- job: v1.0/cat-job.json
output:
output_txt:
class: File
checksum: sha1$47a013e660d408619d894b20806b1d5086aab03b
location: output.txt
size: 13
tool: v1.0/cat4-tool.cwl
doc: Test command execution in Docker with stdin and stdout redirection
- job: v1.0/empty.json
tool: v1.0/null-expression1-tool.cwl
output:
output: 1
doc: Test default usage of Any in expressions.
- job: v1.0/null-expression1-job.json
tool: v1.0/null-expression1-tool.cwl
output:
output: 1
doc: Test explicitly passing null to Any type inputs with default values.
- job: v1.0/null-expression2-job.json
tool: v1.0/null-expression1-tool.cwl
output:
output: 2
doc: Testing the string 'null' does not trip up an Any with a default value.
## TODO: Upgrade framework to allow specifying negative tests.
# - job: v1.0/empty.json
# tool: v1.0/null-expression2-tool.cwl
# failure: true
# doc: Test Any without defaults can be unspecified.
# - job: v1.0/null-expression1-job.json
# tool: v1.0/null-expression2-tool.cwl
# failure: true
# doc: Test explicitly passing null to Any type without a default value.
- job: v1.0/null-expression2-job.json
tool: v1.0/null-expression2-tool.cwl
output:
output: 2
doc: Testing the string 'null' does not trip up an Any without a default value.
- job: v1.0/wc-job.json
output:
output:
checksum: sha1$3596ea087bfdaf52380eae441077572ed289d657
class: File
location: output
size: 3
tool: v1.0/wc-tool.cwl
doc: Test command execution in with stdin and stdout redirection
- job: v1.0/parseInt-job.json
output: {output: 42}
tool: v1.0/parseInt-tool.cwl
doc: Test ExpressionTool with Docker-based expression engine
- job: v1.0/wc-job.json
output: {output: 16}
tool: v1.0/wc2-tool.cwl
doc: Test outputEval to transform output
- job: v1.0/wc-job.json
output: {count_output: 16}
tool: v1.0/count-lines1-wf.cwl
doc: Test two step workflow with imported tools
- job: v1.0/wc-job.json
output: {count_output: 16}
tool: v1.0/count-lines2-wf.cwl
doc: Test two step workflow with inline tools
- job: v1.0/count-lines3-job.json
output:
count_output: [16, 1]
tool: v1.0/count-lines3-wf.cwl
doc: Test single step workflow with Scatter step
- job: v1.0/count-lines4-job.json
output:
count_output: [16, 1]
tool: v1.0/count-lines4-wf.cwl
doc: |
Test single step workflow with Scatter step and two data links connected to
same input, default merge behavior
- job: v1.0/count-lines6-job.json
output:
count_output: [32, 2]
tool: v1.0/count-lines6-wf.cwl
doc: |
Test single step workflow with Scatter step and two data links connected to
same input, nested merge behavior
- job: v1.0/count-lines6-job.json
output:
count_output: 34
tool: v1.0/count-lines7-wf.cwl
doc: |
Test single step workflow with Scatter step and two data links connected to
same input, flattened merge behavior
- job: v1.0/empty.json
output: {count_output: 1}
tool: v1.0/count-lines5-wf.cwl
doc: Test workflow with default value for input parameter (missing)
- job: v1.0/wc-job.json
output: {count_output: 16}
tool: v1.0/count-lines5-wf.cwl
doc: Test workflow with default value for input parameter (provided)
- job: v1.0/empty.json
output: {default_output: workflow_default}
tool: v1.0/echo-wf-default.cwl
doc: Test that workflow defaults override tool defaults
- job: v1.0/env-job.json
output:
out:
class: File
checksum: sha1$b3ec4ed1749c207e52b3a6d08c59f31d83bff519
location: out
size: 15
tool: v1.0/env-tool1.cwl
doc: Test EnvVarRequirement
- job: v1.0/scatter-job1.json
output:
out: ["foo one", "foo two", "foo three", "foo four"]
tool: v1.0/scatter-wf1.cwl
doc: Test workflow scatter with single scatter parameter
- job: v1.0/scatter-job2.json
output:
out: [["foo one three", "foo one four"], ["foo two three", "foo two four"]]
tool: v1.0/scatter-wf2.cwl
doc: Test workflow scatter with two scatter parameters and nested_crossproduct join method
- job: v1.0/scatter-job2.json
output:
out: ["foo one three", "foo one four", "foo two three", "foo two four"]
tool: "v1.0/scatter-wf3.cwl#main"
doc: Test workflow scatter with two scatter parameters and flat_crossproduct join method
- job: v1.0/scatter-job2.json
output:
out: ["foo one three", "foo two four"]
tool: "v1.0/scatter-wf4.cwl#main"
doc: Test workflow scatter with two scatter parameters and dotproduct join method
- job: v1.0/scatter-empty-job1.json
output:
out: []
tool: v1.0/scatter-wf1.cwl
doc: Test workflow scatter with single empty list parameter
- job: v1.0/scatter-empty-job2.json
output:
out: [[], []]
tool: v1.0/scatter-wf2.cwl
doc: Test workflow scatter with two scatter parameters and nested_crossproduct join method with second list empty
- job: v1.0/scatter-empty-job3.json
output:
out: []
tool: "v1.0/scatter-wf3.cwl#main"
doc: Test workflow scatter with two scatter parameters and nested_crossproduct join method with first list empty
- job: v1.0/scatter-empty-job2.json
output:
out: []
tool: "v1.0/scatter-wf3.cwl#main"
doc: Test workflow scatter with two scatter parameters, one of which is empty and flat_crossproduct join method
- job: v1.0/scatter-empty-job4.json
output:
out: []
tool: "v1.0/scatter-wf4.cwl#main"
doc: Test workflow scatter with two empty scatter parameters and dotproduct join method
- tool: v1.0/echo-tool.cwl
job: v1.0/env-job.json
output:
{"out": "hello test env\n"}
doc: Test Any type input parameter
- job: v1.0/wc-job.json
output: {count_output: 16}
tool: v1.0/count-lines8-wf.cwl
doc: Test nested workflow
- job: v1.0/env-job.json
output:
out:
class: File
checksum: sha1$b3ec4ed1749c207e52b3a6d08c59f31d83bff519
location: out
size: 15
tool: v1.0/env-wf1.cwl
doc: Test requirement priority
- job: v1.0/env-job.json
output:
out:
class: File
checksum: sha1$cdc1e84968261d6a7575b5305945471f8be199b6
location: out
size: 9
tool: v1.0/env-wf2.cwl
doc: Test requirements override hints
- job: v1.0/env-job.json
output:
out:
class: File
checksum: sha1$cdc1e84968261d6a7575b5305945471f8be199b6
location: out
size: 9
tool: v1.0/env-wf3.cwl
doc: Test requirements on workflow steps
- job: v1.0/empty.json
output: {count_output: 16}
tool: v1.0/count-lines9-wf.cwl
doc: Test default value on step input parameter
- job: v1.0/empty.json
output: {count_output: 16}
tool: v1.0/count-lines11-wf.cwl
doc: Test use default value on step input parameter with empty source
- job: v1.0/file1-null.json
output: {count_output: 16}
tool: v1.0/count-lines11-wf.cwl
doc: Test use default value on step input parameter with null source
- job: v1.0/cat-job.json
output: {count_output: 1}
tool: v1.0/count-lines11-wf.cwl
doc: Test default value on step input parameter overridden by provided source
- job: v1.0/revsort-job.json
output:
output:
class: File
checksum: sha1$b9214658cc453331b62c2282b772a5c063dbd284
location: output.txt
size: 1111
tool: v1.0/revsort.cwl
doc: Test simple workflow
- job: v1.0/cat-job.json
output:
output_file:
class: File
checksum: sha1$47a013e660d408619d894b20806b1d5086aab03b
location: output.txt
size: 13
tool: v1.0/cat5-tool.cwl
doc: Test unknown hints are ignored.
- job: v1.0/search-job.json
output:
outfile:
class: File
checksum: sha1$e2dc9daaef945ac15f01c238ed2f1660f60909a0
location: result.txt
size: 142
indexedfile: {
"location": "input.txt",
"class": "File",
"checksum": "sha1$327fc7aedf4f6b69a42a7c8b808dc5a7aff61376",
"secondaryFiles": [
{
"location": "input.txt.idx1",
"class": "File",
"checksum": "sha1$553f3a09003a9f69623f03bec13c0b078d706023",
"size": 1500
},
{
"location": "input.idx2",
"class": "File",
"checksum": "sha1$da39a3ee5e6b4b0d3255bfef95601890afd80709",
"size": 0
},
{
"location": "input.txt.idx3",
"class": "File",
"checksum": "sha1$da39a3ee5e6b4b0d3255bfef95601890afd80709",
"size": 0
},
{
"location": "input.txt.idx4",
"class": "File",
"checksum": "sha1$da39a3ee5e6b4b0d3255bfef95601890afd80709",
"size": 0
},
{
"location": "input.txt.idx5",
"class": "File",
"checksum": "sha1$da39a3ee5e6b4b0d3255bfef95601890afd80709",
"size": 0
},
{
"location": "input.idx6.txt",
"class": "File",
"checksum": "sha1$da39a3ee5e6b4b0d3255bfef95601890afd80709",
"size": 0
},
{
"checksum": "sha1$da39a3ee5e6b4b0d3255bfef95601890afd80709",
"class": "File",
"location": "input.txt.idx7",
"size": 0
},
{
"checksum": "sha1$47a013e660d408619d894b20806b1d5086aab03b",
"class": "File",
"location": "hello.txt",
"size": 13
},
{
"class": "Directory",
"listing": [{
"basename": "index",
"checksum": "sha1$da39a3ee5e6b4b0d3255bfef95601890afd80709",
"class": "File",
"location": "index",
"size": 0
}],
"location": "input.txt_idx8",
}
],
"size": 1111
}
tool: "v1.0/search.cwl#main"
doc: |
Test InitialWorkDirRequirement linking input files and capturing secondaryFiles
on input and output.
- job: v1.0/rename-job.json
output:
outfile:
class: File
checksum: sha1$327fc7aedf4f6b69a42a7c8b808dc5a7aff61376
location: fish.txt
size: 1111
tool: v1.0/rename.cwl
doc: |
Test InitialWorkDirRequirement with expression in filename.
- job: v1.0/wc-job.json
output:
output: 16
tool: v1.0/wc4-tool.cwl
doc: |
Test inline expressions
- job: v1.0/schemadef-job.json
output:
output:
location: output.txt
size: 12
class: File
checksum: "sha1$f12e6cfe70f3253f70b0dbde17c692e7fb0f1e5e"
tool: v1.0/schemadef-tool.cwl
doc: |
Test SchemaDefRequirement definition used in tool parameter
- job: v1.0/schemadef-job.json
output:
output:
location: output.txt
size: 12
class: File
checksum: "sha1$f12e6cfe70f3253f70b0dbde17c692e7fb0f1e5e"
tool: v1.0/schemadef-wf.cwl
doc: |
Test SchemaDefRequirement definition used in workflow parameter
- job: v1.0/empty.json
output: {
"t1": {
"bar": {
"b az": 2,
"b\"az": null,
"b'az": true,
"baz": "zab1",
"buz": [
"a",
"b",
"c"
]
}
},
"t10": true,
"t11": true,
"t12": null,
"t13": "-zab1",
"t14": "-zab1",
"t15": "-zab1",
"t16": "-zab1",
"t17": "zab1 zab1",
"t18": "zab1 zab1",
"t19": "zab1 zab1",
"t2": {
"b az": 2,
"b\"az": null,
"b'az": true,
"baz": "zab1",
"buz": [
"a",
"b",
"c"
]
},
"t20": "zab1 zab1",
"t21": "2 2",
"t22": "true true",
"t23": "true true",
"t24": "null null",
"t25": "b",
"t26": "b b",
"t3": {
"b az": 2,
"b\"az": null,
"b'az": true,
"baz": "zab1",
"buz": [
"a",
"b",
"c"
]
},
"t4": {
"b az": 2,
"b\"az": null,
"b'az": true,
"baz": "zab1",
"buz": [
"a",
"b",
"c"
]
},
"t5": "zab1",
"t6": "zab1",
"t7": "zab1",
"t8": "zab1",
"t9": 2,
"t27": null,
"t28": 3
}
tool: v1.0/params.cwl
doc: |
Test parameter evaluation, no support for JS expressions
- job: v1.0/empty.json
output: {
"t1": {
"bar": {
"b az": 2,
"b\"az": null,
"b'az": true,
"baz": "zab1",
"buz": [
"a",
"b",
"c"
]
}
},
"t10": true,
"t11": true,
"t12": null,
"t13": "-zab1",
"t14": "-zab1",
"t15": "-zab1",
"t16": "-zab1",
"t17": "zab1 zab1",
"t18": "zab1 zab1",
"t19": "zab1 zab1",
"t2": {
"b az": 2,
"b\"az": null,
"b'az": true,
"baz": "zab1",
"buz": [
"a",
"b",
"c"
]
},
"t20": "zab1 zab1",
"t21": "2 2",
"t22": "true true",
"t23": "true true",
"t24": "null null",
"t25": "b",
"t26": "b b",
"t3": {
"b az": 2,
"b\"az": null,
"b'az": true,
"baz": "zab1",
"buz": [
"a",
"b",
"c"
]
},
"t4": {
"b az": 2,
"b\"az": null,
"b'az": true,
"baz": "zab1",
"buz": [
"a",
"b",
"c"
]
},
"t5": "zab1",
"t6": "zab1",
"t7": "zab1",
"t8": "zab1",
"t9": 2,
"t27": null,
"t28": 3
}
tool: v1.0/params2.cwl
doc: |
Test parameter evaluation, with support for JS expressions
- output: {}
job: v1.0/cat-job.json
tool: v1.0/metadata.cwl
doc: Test metadata
- job: v1.0/formattest-job.json
output:
output:
"location": "output.txt"
"format": "http://edamontology.org/format_2330"
"size": 1111
"class": "File"
"checksum": "sha1$97fe1b50b4582cebc7d853796ebd62e3e163aa3f"
tool: v1.0/formattest.cwl
doc: |
Test simple format checking.
- job: v1.0/formattest2-job.json
output:
output:
"location": "output.txt"
"format": "http://edamontology.org/format_1929"
"size": 12010
"class": "File"
"checksum": "sha1$971d88faeda85a796752ecf752b7e2e34f1337ce"
tool: v1.0/formattest2.cwl
doc: |
Test format checking against ontology using subclassOf.
- job: v1.0/formattest2-job.json
output:
output:
"location": "output.txt"
"format": "http://edamontology.org/format_1929"
"size": 12010
"class": "File"
"checksum": "sha1$971d88faeda85a796752ecf752b7e2e34f1337ce"
tool: v1.0/formattest3.cwl
doc: |
Test format checking against ontology using equivalentClass.
- tool: v1.0/optional-output.cwl
job: v1.0/cat-job.json
output:
optional_file: null
output_file:
location: output.txt
size: 13
class: "File"
checksum: "sha1$47a013e660d408619d894b20806b1d5086aab03b"
doc: |
Test optional output file and optional secondaryFile on output.
- job: v1.0/step-valuefrom-wf.json
output: {count_output: 16}
tool: v1.0/step-valuefrom-wf.cwl
doc: Test valueFrom on workflow step.
- job: v1.0/step-valuefrom-job.json
output: {val: "3\n"}
tool: v1.0/step-valuefrom2-wf.cwl
doc: Test valueFrom on workflow step with multiple sources
- job: v1.0/step-valuefrom-job.json
output: {val: "3\n"}
tool: v1.0/step-valuefrom3-wf.cwl
doc: Test valueFrom on workflow step referencing other inputs
- job: v1.0/record-output-job.json
output:
"orec": {
"ofoo": {
"location": "foo",
"size": 1111,
"class": "File",
"checksum": "sha1$327fc7aedf4f6b69a42a7c8b808dc5a7aff61376"
},
"obar": {
"location": "bar",
"size": 12010,
"class": "File",
"checksum": "sha1$aeb3d11bdf536511649129f4077d5cda6a324118"
}
}
tool: v1.0/record-output.cwl
doc: Test record type output binding.
- job: v1.0/empty.json
output: {
"foo": {
"location": "foo",
"class": "File",
"checksum": "sha1$f1d2d2f924e986ac86fdf7b36c94bcdf32beec15",
"size": 4
}
}
tool: v1.0/test-cwl-out.cwl
doc: |
Test support for reading cwl.output.json when running in a Docker container
and just 'path' is provided.
- job: v1.0/empty.json
output: {
"foo": {
"location": "foo",
"class": "File",
"checksum": "sha1$f1d2d2f924e986ac86fdf7b36c94bcdf32beec15",
"size": 4
}
}
tool: v1.0/test-cwl-out2.cwl
doc: |
Test support for reading cwl.output.json when running in a Docker container
and just 'location' is provided.
- job: v1.0/abc.json
output:
files: [{
"location": "a",
"size": 0,
"class": "File",
"checksum": "sha1$da39a3ee5e6b4b0d3255bfef95601890afd80709"
},
{
"location": "b",
"size": 0,
"class": "File",
"checksum": "sha1$da39a3ee5e6b4b0d3255bfef95601890afd80709"
},
{
"location": "c",
"size": 0,
"class": "File",
"checksum": "sha1$da39a3ee5e6b4b0d3255bfef95601890afd80709"
}]
tool: v1.0/glob-expr-list.cwl
doc: Test support for returning multiple glob patterns from expression
- job: v1.0/scatter-valuefrom-job1.json
output:
out: ["foo one one", "foo one two", "foo one three", "foo one four"]
tool: v1.0/scatter-valuefrom-wf1.cwl
doc: Test workflow scatter with single scatter parameter and valueFrom on step input
- job: v1.0/scatter-valuefrom-job2.json
output:
out: [["foo one one three", "foo one one four"], ["foo one two three", "foo one two four"]]
tool: v1.0/scatter-valuefrom-wf2.cwl
doc: Test workflow scatter with two scatter parameters and nested_crossproduct join method and valueFrom on step input
- job: v1.0/scatter-valuefrom-job2.json
output:
out: ["foo one one three", "foo one one four", "foo one two three", "foo one two four"]
tool: "v1.0/scatter-valuefrom-wf3.cwl#main"
doc: Test workflow scatter with two scatter parameters and flat_crossproduct join method and valueFrom on step input
- job: v1.0/scatter-valuefrom-job2.json
output:
out: ["foo one one three", "foo one two four"]
tool: "v1.0/scatter-valuefrom-wf4.cwl#main"
doc: Test workflow scatter with two scatter parameters and dotproduct join method and valueFrom on step input
- job: v1.0/scatter-valuefrom-job1.json
output:
out: ["foo one one", "foo two two", "foo three three", "foo four four"]
tool: v1.0/scatter-valuefrom-wf5.cwl
doc: Test workflow scatter with single scatter parameter and valueFrom on step input
- job: v1.0/scatter-valuefrom-job3.json
tool: v1.0/scatter-valuefrom-wf6.cwl
doc: Test valueFrom eval on scattered input parameter
output:
out_message: [
{
"checksum": "sha1$98030575f6fc40e5021be5a8803a6bef94aee11f",
"location": Any,
"class": "File",
"size": 16
},
{
"checksum": "sha1$edcacd50778d98ae113015406b3195c165059dd8",
"location": Any,
"class": "File",
"size": 16
}
]
- job: v1.0/conflict-job.json
output: {
"fileout": {
"location": "out.txt",
"checksum": "sha1$a2d8d6e7b28295dc9977dc3bdb652ddd480995f0",
"class": "File",
"size": 25
}
}
tool: "v1.0/conflict-wf.cwl#collision"
doc: Test workflow two input files with same name.
- job: v1.0/dir-job.yml
output:
"outlist": {
"size": 20,
"location": "output.txt",
"checksum": "sha1$13cda8661796ae241da3a18668fb552161a72592",
"class": "File"
}
tool: v1.0/dir.cwl
doc: Test directory input with parameter reference
- job: v1.0/dir-job.yml
output:
"outlist": {
"size": 20,
"location": "output.txt",
"checksum": "sha1$13cda8661796ae241da3a18668fb552161a72592",
"class": "File"
}
tool: v1.0/dir2.cwl
doc: Test directory input in Docker
- job: v1.0/dir3-job.yml
output:
"outdir": {
"class": "Directory",
"listing": [
{
"class": "File",
"location": "hello.txt",
"checksum": "sha1$47a013e660d408619d894b20806b1d5086aab03b",
"size": 13
},
{
"class": "File",
"location": "goodbye.txt",
"checksum": "sha1$dd0a4c4c49ba43004d6611771972b6cf969c1c01",
"size": 24
}
],
}
tool: v1.0/dir3.cwl
doc: Test directory output
- job: v1.0/dir4-job.yml
output: {
"outlist": {
"checksum": "sha1$13cda8661796ae241da3a18668fb552161a72592",
"size": 20,
"location": "output.txt",
"class": "File"
}
}
tool: v1.0/dir4.cwl
doc: Test directories in secondaryFiles
- job: v1.0/dir-job.yml
output: {
"outlist": {
"checksum": "sha1$907a866a3e0b7f1fc5a2222531c5fb9063704438",
"size": 33,
"location": "output.txt",
"class": "File"
}
}
tool: v1.0/dir5.cwl
doc: Test dynamic initial work dir
- job: v1.0/stagefile-job.yml
output: {
"outfile": {
"checksum": "sha1$b769c7b2e316edd4b5eb2d24799b2c1f9d8c86e6",
"size": 1111,
"location": "bob.txt",
"class": "File"
}
}
tool: v1.0/stagefile.cwl
doc: Test writable staged files.
- job: v1.0/file-literal.yml
output:
output_file:
class: File
checksum: sha1$d0e04ff6c413c7d57f9a0ca0a33cd3ab52e2dd9c
location: output.txt
size: 18
tool: v1.0/cat3-tool.cwl
doc: Test file literal as input
- job: v1.0/arguments-job.yml
output:
classfile:
checksum: sha1$e68df795c0686e9aa1a1195536bd900f5f417b18
location: Hello.class
class: File
size: 184
tool: v1.0/linkfile.cwl
doc: Test expression in InitialWorkDir listing
- job: v1.0/wc-job.json
output:
b:
checksum: sha1$c4cfd130e7578714e3eef91c1d6d90e0e0b9db3e
location: whale.xtx
class: File
size: 21
tool: v1.0/nameroot.cwl
doc: Test nameroot/nameext expression in arguments, stdout
- job: v1.0/dir-job.yml
output:
"outlist": {
"size": 20,
"location": "output.txt",
"checksum": "sha1$13cda8661796ae241da3a18668fb552161a72592",
"class": "File"
}
tool: v1.0/dir6.cwl
doc: Test directory input with inputBinding
- job: v1.0/nested-array-job.yml
output:
echo:
checksum: sha1$3f786850e387550fdab836ed7e6dc881de23001b
location: echo.txt
class: File
size: 2
tool: v1.0/nested-array.cwl
doc: Test command line generation of array-of-arrays
- job: v1.0/empty.json
output: {}
tool: v1.0/envvar.cwl
doc: Test $HOME and $TMPDIR are set correctly
- job: v1.0/empty.json
output: {}
tool: v1.0/envvar2.cwl
doc: Test $HOME and $TMPDIR are set correctly in Docker
- job: v1.0/empty.json
output:
"out": {
"checksum": "sha1$7448d8798a4380162d4b56f9b452e2f6f9e24e7a",
"location": "whatever.txt",
"class": "File",
"size": 2
}
tool: "v1.0/js-expr-req-wf.cwl#wf"
doc: Test that expressionLib requirement of individual tool step overrides expressionLib of workflow.
- job: v1.0/initialworkdirrequirement-docker-out-job.json
output: