Skip to content

ohsu-comp-bio/common_workflow_language_schema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Common Workflow Language Schema

This library provides a command-line tool that is use for building the CWL schema. Note that the version of the schema that is being build is availabe in schema/cwl.jsonnet as a "private variable" version:: "xxx".

Prerequisites

  1. Ruby 2.0.0+. See rbenv for installing Ruby.
  2. Bundler. Run gem install bundler to install.
  3. jsonnet v0.8.5. If using OS X, you can install this with brew install jsonnet.

Building the schema

  1. Clone this repository.
  2. Run bundle install to install dependencies.
  3. Run bundle exec rake build to build the schema which gets writte to dist/cwl.avpr.

If you're having trouble with Ruby, you can manually run Jsonnet with:

jsonnet --var DOC=false schema/cwl.jsonnet > dist/cwl.avpr

We use Ruby to validate the document as a proper Avro protocol and prettify it prior to writing to to cwl.avpr.

About

Jsonnet documents for building a Common Workflow Language Avro protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published