Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wtsi-hgi/cwl-dummy

Generates CWL files that do nothing.
https://github.com/wtsi-hgi/cwl-dummy

common-workflow-language cwl

Last synced: 24 days ago
JSON representation

Generates CWL files that do nothing.

Awesome Lists containing this project

README

        

# cwl-dummy

Generates CWL files that use [cwl-dummy-tool][] to do nothing.

[cwl-dummy-tool]: https://github.com/wtsi-hgi/cwl-scheduler-tests

## Usage

Install via Pip:

```
python3.6 -m venv venv
source venv/bin/activate
pip install git+https://github.com/wtsi-hgi/cwl-dummy
```

Then run cwl-dummy on the tool or workflow you'd like to mock (in the
case of a workflow, all tools and subworkflows used by the workflow will
be automatically recursively processed):

```
cwl-dummy my-workflow.cwl
```

Fix any errors reported, and check all warnings, then run the
newly-generated workflow:

```
cwl-runner my-workflow.cwl.dummy
```

## Limitations

cwl-dummy does not use schema-salad to preprocess documents, so it's not
able to cope with documents that make use of more complex schema-salad
features (`$graph`, `$import`, `$include`, relative identifiers, etc.).

## License

Copyright (C) 2018 Genome Research Ltd.

cwl-dummy is distributed under the terms of the MIT license, a copy of
which can be found in the file `LICENSE`.

cwl-dummy is based on [cwl-upgrader][], which is used under the terms of
the Apache license, version 2.0; a copy of the Apache license is
available in the file `LICENSE.APACHE`.

[cwl-upgrader]: https://github.com/common-workflow-language/cwl-upgrader