Common Workflow Language (CWL) https://github.com/common-workflow-language/common-workflow-language / http://common-workflow-language.github.io/draft-3/ has been trending on my twitter timeline during the last weeks.
However the spec is quite large and I find it hard to get some simple examples.
Furthermore, I have the feeling that all engines require a lot of dependencies or docker. I'd like to test my makefile-based workflows using CWL, how should I write and test the following simple Makefile using CWL:
SHELL=/bin/bash .PHONY: all all : database.dna database.dna : seq1.dna seq2.dna seq3.dna cat seq1.dna seq2.dna seq3.dna > database.dna seq3.dna : seq3.rna tr "U" "T" < seq3.rna > seq3.dna seq3.rna : echo "AUGCGAUCGAUCG" > seq3.rna seq2.dna : seq2.rna tr "U" "T" < seq2.rna > seq2.dna seq2.rna : echo "AUGAAGACUGCGAUCGAUCG" > seq2.rna seq1.dna : seq1.rna tr "U" "T" < seq1.rna > seq1.dna seq1.rna : echo "AUGAAGACUGACUCGUCG" > seq1.rna
EDIT: feel free to add the file for your favorite workflow-engine as an answer.