Continuing my effort to parse CWL into a Neo4j graph database...
Michael pointed me at the automatically generated parser_v1.0.py
code and some examples in the cwl-utils
repository. These are pretty simple examples and I'm finding it a bit overwhelming to dig through the generated source and understand how it works. Are there any more complex examples out there? Any hidden documentation?
I looked at the cwltool
repo, but it doesn't appear to use the auto-generated parser (and it's got way more features/complexity than I need). I think parser_v1.0.py
might be what I require to get my job done. Any additional info/examples would be appreciated before I start to explore it via source examination and code probing.
is helping. Doh!
More examples would still be useful. Another approach that I may look at: export to RDF and use
rdflib
to parse.