BioJulia / CWL.jl

Utilities for working with the Common Workflow Language (CWL) from Julia
MIT License
5 stars 1 forks source link

Inspiration: argparse2cwl & cwl reference implementation #1

Open mr-c opened 8 years ago

mr-c commented 8 years ago

https://github.com/common-workflow-language/gxargparse

https://github.com/common-workflow-language/cwltool

http://www.commonwl.org/v1.0

TransGirlCodes commented 8 years ago

So I guess one of the first things to do is implement the data model as a set of Julia types? Object, document, process, input object, output object, input schema, output schema and metadata.

mr-c commented 3 years ago

If this project was re-started, I suggest teaching the schema-salad codegen system to produce Julia types from the CWL schema itself

https://github.com/common-workflow-language/schema_salad/blob/main/schema_salad/codegen.py

Java Result: https://github.com/common-workflow-lab/cwljava/tree/f1babbb152defe703b81aaccf42c2799bc00ab5c

Python Result: https://github.com/common-workflow-language/cwl-utils/blob/e3d45d58466bb415b79da77dd65ad58ec98b6b40/cwl_utils/parser_v1_2.py