This is a test version of Biostars. For the public version, visit https://www.biostars.org.
load/parse cwl using Java

I would like to parse CWL file into java model classes. I'm using cwl-avro project (cwlavro version: 2.0.4.2) as the model classes. How can I parse the cwl file so that I get back an instance of _io.cwl.avro.Workflow.Workflow_ class

cwl

1 answer

FYI, https://github.com/common-workflow-language/cwlavro/issues/16#issuecomment-450888290

Note, be alert as to which version of the cwlavro you're using, I've been a bit messy with version numbers. 2.0.4 (what we currently use) let's you switch between cwltool (installed locally on the system) and bunny for cwl -> json processing (but is mostly tested with cwltool) 2.0.7 (experimental) let's you use cwltool within heterodon (doesn't require Python dependencies directly)

Can probably discuss more what that means on GitHub.

Log in to answer this question.