GithubHelp home page GithubHelp logo

illusional / cwl-utils Goto Github PK

View Code? Open in Web Editor NEW

This project forked from common-workflow-language/cwl-utils

0.0 1.0 0.0 427 KB

Python 3.6+ utilities for CWL

License: GNU General Public License v3.0

Python 100.00%

cwl-utils's Introduction

cwl-utils

A collection of scripts to demonstrate the use of the new Python classes for loading and parsing CWL v1.0 documents.

cwl_utils/parser_v1_0.py was created via schema-salad-tool --codegen python https://github.com/common-workflow-language/common-workflow-language/raw/master/v1.0/CommonWorkflowLanguage.yml

Install

Requires Python 3.6.x or Python 3.7

git clone https://github.com/common-workflow-language/cwl-utils.git
virtualenv -p python3.6 venv3.6
source venv3.6/bin/activate
pip install cwl-utils

Usage

Pull the image with Docker

This is the default behaviour:

python docker_extract.py DIRECTORY path_to_my_workflow.cwl

Pull the image with Singularity

python docker_extract.py --singularity DIRECTORY path_to_my_workflow.cwl

Regenerate

To regenerate install schema_salad package and run:

schema-salad-tool --codegen python \
    https://raw.githubusercontent.com/common-workflow-language/common-workflow-language/master/v1.0/CommonWorkflowLanguage.yml

cwl-utils's People

Contributors

gijzelaerr avatar khillion avatar manabuishii avatar mr-c avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.