diff --git a/_includes/cwl/03-input/whale.txt b/_includes/cwl/03-input/whale.txt new file mode 100644 index 00000000..e69de29b diff --git a/_includes/cwl/04-output/hello.tar b/_includes/cwl/04-output/hello.tar new file mode 100644 index 00000000..155f6e60 Binary files /dev/null and b/_includes/cwl/04-output/hello.tar differ diff --git a/_includes/cwl/06-params/hello.tar b/_includes/cwl/06-params/hello.tar new file mode 100644 index 00000000..344a03a3 Binary files /dev/null and b/_includes/cwl/06-params/hello.tar differ diff --git a/_includes/cwl/20-software-requirements/InterProScan-apps.yml b/_includes/cwl/20-software-requirements/InterProScan-apps.yml new file mode 100644 index 00000000..e42779c3 --- /dev/null +++ b/_includes/cwl/20-software-requirements/InterProScan-apps.yml @@ -0,0 +1,18 @@ +type: enum +name: apps +symbols: + - TIGRFAM + - SFLD + - SUPERFAMILY + - Gene3D + - Hamap + - Coils + - ProSiteProfiles + - SMART + - CDD + - PRINTS + - PIRSF + - ProSitePatterns + - Pfam + - ProDom + - MobiDBLite diff --git a/_includes/cwl/20-software-requirements/custom-types.yml b/_includes/cwl/20-software-requirements/custom-types.yml new file mode 100644 index 00000000..ec8fb9e6 --- /dev/null +++ b/_includes/cwl/20-software-requirements/custom-types.yml @@ -0,0 +1,3 @@ +proteinFile: + class: File + path: test_proteins.fasta diff --git a/_includes/cwl/20-software-requirements/test_proteins.fasta b/_includes/cwl/20-software-requirements/test_proteins.fasta new file mode 100644 index 00000000..ec34ed42 --- /dev/null +++ b/_includes/cwl/20-software-requirements/test_proteins.fasta @@ -0,0 +1,34 @@ +>Q97R95 +MKYKRIVFKVGTSSLTNEDGSLSRSKVKDITQQLAMLHEAGHELILVSSGAIAAGFGALG +FKKRPTKIADKQASAAVGQGLLLEEYTTNLLLRQIVSAQILLTQDDFVDKRRYKNAHQAL +SVLLNRGAIPIINENDSVVIDELKVGDNDTLSAQVAAMVQADLLVFLTDVDGLYTGNPNS +DPRAKRLERIETINREIIDMAGGAGSSNGTGGMLTKIKAATIATESGVPVYICSSLKSD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KIGKSIRLERIIDRKTRKTVIVPMDHGLTVGPIPGLIDLAAAVDKVAEGGANAVLGHM +GLPLYGHRGYGKDVGLIIHLSASTSLGPDANHKVLVTRVEDAIRVGADGVSIHVNVGAED +EAEMLRDLGMVARRCDLWGMPLLAMMYPRGAKVRSEHSVEYVKHAARVGAELGVDIVKTN +YTGSPETFREVVRGCPAPVVIAGGPKMDTEADLLQMVYDAMQAGAAGISIGRNIFQAENP +TLLTRKLSKIVHEGYTPEEAARLKL +>P02939 +MNRTKLVLGAVILGSTLLAGCSSNAKIDQLSTDVQTLNAKVDQLSNDVTAIRSDVQAAKD +DAARANQRLDNQAHSYRK \ No newline at end of file diff --git a/_includes/cwl/21-1st-workflow/arguments.cwl b/_includes/cwl/21-1st-workflow/arguments.cwl new file mode 100644 index 00000000..603b20b9 --- /dev/null +++ b/_includes/cwl/21-1st-workflow/arguments.cwl @@ -0,0 +1,21 @@ +#!/usr/bin/env cwl-runner + +cwlVersion: v1.0 +class: CommandLineTool +label: Example trivial wrapper for Java 7 compiler +hints: + DockerRequirement: + dockerPull: java:7-jdk +baseCommand: javac +arguments: ["-d", $(runtime.outdir)] +inputs: + src: + type: File + inputBinding: + position: 1 +outputs: + classfile: + type: File + outputBinding: + glob: "*.class" + diff --git a/_includes/cwl/21-1st-workflow/hello.tar b/_includes/cwl/21-1st-workflow/hello.tar new file mode 100644 index 00000000..d30185d7 Binary files /dev/null and b/_includes/cwl/21-1st-workflow/hello.tar differ diff --git a/_includes/cwl/21-1st-workflow/tar-param.cwl b/_includes/cwl/21-1st-workflow/tar-param.cwl new file mode 100644 index 00000000..16859374 --- /dev/null +++ b/_includes/cwl/21-1st-workflow/tar-param.cwl @@ -0,0 +1,19 @@ +#!/usr/bin/env cwl-runner + +cwlVersion: v1.0 +class: CommandLineTool +baseCommand: [tar, xf] +inputs: + tarfile: + type: File + inputBinding: + position: 1 + extractfile: + type: string + inputBinding: + position: 2 +outputs: + example_out: + type: File + outputBinding: + glob: $(inputs.extractfile) diff --git a/_includes/cwl/22-nested-workflows/1st-workflow.cwl b/_includes/cwl/22-nested-workflows/1st-workflow.cwl new file mode 100644 index 00000000..e0c13f05 --- /dev/null +++ b/_includes/cwl/22-nested-workflows/1st-workflow.cwl @@ -0,0 +1,26 @@ +#!/usr/bin/env cwl-runner + +cwlVersion: v1.0 +class: Workflow +inputs: + inp: File + ex: string + +outputs: + classout: + type: File + outputSource: compile/classfile + +steps: + untar: + run: tar-param.cwl + in: + tarfile: inp + extractfile: ex + out: [example_out] + + compile: + run: arguments.cwl + in: + src: untar/example_out + out: [classfile] diff --git a/_includes/cwl/22-nested-workflows/arguments.cwl b/_includes/cwl/22-nested-workflows/arguments.cwl new file mode 100644 index 00000000..603b20b9 --- /dev/null +++ b/_includes/cwl/22-nested-workflows/arguments.cwl @@ -0,0 +1,21 @@ +#!/usr/bin/env cwl-runner + +cwlVersion: v1.0 +class: CommandLineTool +label: Example trivial wrapper for Java 7 compiler +hints: + DockerRequirement: + dockerPull: java:7-jdk +baseCommand: javac +arguments: ["-d", $(runtime.outdir)] +inputs: + src: + type: File + inputBinding: + position: 1 +outputs: + classfile: + type: File + outputBinding: + glob: "*.class" + diff --git a/_includes/cwl/22-nested-workflows/tar-param.cwl b/_includes/cwl/22-nested-workflows/tar-param.cwl new file mode 100644 index 00000000..16859374 --- /dev/null +++ b/_includes/cwl/22-nested-workflows/tar-param.cwl @@ -0,0 +1,19 @@ +#!/usr/bin/env cwl-runner + +cwlVersion: v1.0 +class: CommandLineTool +baseCommand: [tar, xf] +inputs: + tarfile: + type: File + inputBinding: + position: 1 + extractfile: + type: string + inputBinding: + position: 2 +outputs: + example_out: + type: File + outputBinding: + glob: $(inputs.extractfile)